Commit 83e39e9f authored by Pietro Albini's avatar Pietro Albini

Another round of changes to the downloads page

parent 461cc752
Pipeline #64 passed with stage
in 0 seconds
div.page div.row.background-wallpaper { div.page div.row.background-wallpaper {
&:first-child {
border-top-left-radius: 0.2em;
border-top-right-radius: 0.2em;
}
&:last-child {
border-bottom-left-radius: 0.2em;
border-bottom-right-radius: 0.2em;
}
.box { .box {
background: rgba(255, 255, 255, 0.5); background: rgba(255, 255, 255, 0.5);
} }
background: url("images/wallpapers/dotted.png") no-repeat 130% 10%; background: url("images/wallpapers/dotted.png") no-repeat 130% 10%;
@media all and (max-width: 60rem) {
background: transparent;
}
&.ubuntu, &.desktop, &.kubuntu, &.lubuntu, &.xubuntu, &.ubuntu-mate, &.ubuntu, &.desktop, &.kubuntu, &.lubuntu, &.xubuntu, &.ubuntu-mate,
&.ubuntu-budgie, &.ubuntustudio { &.ubuntu-budgie, &.ubuntustudio {
color: #fff; color: #fff;
...@@ -78,6 +72,26 @@ div.page div.row.background-wallpaper { ...@@ -78,6 +72,26 @@ div.page div.row.background-wallpaper {
} }
} }
div.page div.row.download-index-distro {
@media all and (min-width: 60rem) {
div.col.col-center {
text-align: right;
}
}
@media all and (max-width: 60rem) {
text-align: center;
div.col {
margin-top: 1em;
&:first-child {
margin-top: 0;
}
}
}
}
div.download-form { div.download-form {
padding: 0.5em 1.5em; padding: 0.5em 1.5em;
......
...@@ -111,7 +111,7 @@ archs = { amd64 = "cdimages-derivatives", i386 = "cdimages-derivatives" } ...@@ -111,7 +111,7 @@ archs = { amd64 = "cdimages-derivatives", i386 = "cdimages-derivatives" }
[distros.ubuntustudio] [distros.ubuntustudio]
name = "Ubuntu Studio" name = "Ubuntu Studio"
description = "La derivata di Ubuntu leggera ma personalizzabile" description = "Ubuntu con tutti i programmi per lavorare con audio, video e immagini"
lts-support-years = 3 lts-support-years = 3
lts-only = true lts-only = true
......
...@@ -31,12 +31,12 @@ ...@@ -31,12 +31,12 @@
<div class="page"> <div class="page">
{% for name, data in distros.items() %} {% for name, data in distros.items() %}
<div class="row background-wallpaper {{ name }}"> <div class="row download-index-distro background-wallpaper {{ name }}">
<div class="col"> <div class="col">
<h2>{{ data["name"] }}</h2> <h2>{{ data["name"] }}</h2>
<p>{{ data["description"] }}</p> <p>{{ data["description"] }}</p>
</div> </div>
<div class="col col-center col-quarter" style="text-align: right;"> <div class="col col-center col-quarter">
<a class="btn" href="{{ url_for("download.landing", distro = name) }}"> <a class="btn" href="{{ url_for("download.landing", distro = name) }}">
Scaricala ora Scaricala ora
</a> </a>
......
...@@ -25,7 +25,6 @@ ...@@ -25,7 +25,6 @@
<div class="row {% if loop.index == 1 %}background-wallpaper {{ distro_name }}{% endif %}"> <div class="row {% if loop.index == 1 %}background-wallpaper {{ distro_name }}{% endif %}">
<div class="col"> <div class="col">
<h2> <h2>
Scarica
{{ distro["name"] }} {{ distro["name"] }}
{{ releases[release]["version"] }} {{ releases[release]["version"] }}
{% if releases[release]["lts"] %}LTS{% endif %} {% if releases[release]["lts"] %}LTS{% endif %}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment