...
 
Commits (39)
......@@ -4,7 +4,7 @@
WMLBASE=.
CUR_DIR=
SUBS=Bugs CD MailingLists News Pics banners blends consultants devel \
distrib doc events intro international legal logos lts mirror misc partners \
distrib doc download events intro international legal logos lts mirror misc partners \
ports releases reports security users volatile vote women y2k derivatives
all install:: install-locale
......
# If this makefile is not generic enough to support a translation,
# please contact debian-www.
WMLBASE=..
CUR_DIR=download
SUBS=img
GETTEXTFILES += cdimage.mo
NOGENERICDEP := true
include $(WMLBASE)/Make.lang
ifeq "$(LANGUAGE)" "en"
EXTRAWMLDEP := $(WMLRCDEP) $(GETTEXTDEP) $(TEMPLDIR)/cdimage.wml
else
EXTRAWMLDEP := $(WMLRCDEP) $(GETTEXTDEP) $(TEMPLDIR)/cdimage.wml $(TEMPLDIR)/translation-check.wml
endif
# The "| $(VCSREVCACHE)" here is an order-only prerequisite - always
# check that the prerequisite exists and is up to date, but don't
# rebuild everything whenever it's updated - see
# https://www.gnu.org/software/make/manual/html_node/Prerequisite-Types.html
%.$(LANGUAGE).html: %.wml $(EXTRAWMLDEP) | $(VCSREVCACHE)
$(WML) $(<F)
ifneq "$(wildcard releases/index.wml)" ""
RELEASESDEP := releases/index.wml
else
RELEASESDEP := $(ENGLISHDIR)/CD/releases/index.wml
endif
index.$(LANGUAGE).html: index.wml $(ENGLISHDIR)/download/img $(TEMPLDIR)/cdimage.wml $(TEMPLDIR)/release_info.wml $(RELEASESDEP) $(GETTEXTDEP)
$(WML) $(<F) -I $(ENGLISHDIR)/CD/
misc.$(LANGUAGE).html: misc.wml $(TEMPLDIR)/cdimage.wml $(GETTEXTDEP)
$(WML) $(<F)
verify.$(LANGUAGE).html: verify.wml $(TEMPLDIR)/cdimage.wml $(GETTEXTDEP) $(ENGLISHDIR)/CD/CD-keys.data
$(WML) $(<F)
/*
Note! This needs to be placed finally in the top folder so it can be
included easily for other languages as well as there are no l10n specific
styles included right now.
*/
/*
This stylesheet file is used within the download website
https://www.debian.org Stylesheet
Copyright Debian WebTeam 2019
This stylesheet is free software; you can redistribute it and/or modify it
under the terms of the GNU General Public License, version 2, as published by
the Free Software Foundation.
This program is distributed in the hope that it will be useful, but WITHOUT ANY
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with
this program; if not, write to the Free Software Foundation, Inc., 51 Franklin
Street, Fifth Floor, Boston, MA 02110-1301 USA.
The license text can also be found at http://www.gnu.org/copyleft/gpl.html and
/usr/share/common-licenses/GPL-2 on Debian.
*/
h3 {
background-color: #f0f0f0;
padding: 6px;
border: 2px solid #787878;
border-radius: 4px;
font-size: 1.5em;
}
h4 {
font-size: 1.5em;
font-style: normal;
}
.hint-text {
text-decoration: underline;
}
/*
Styling elements for centred text and lists in the middle of the site or
column.
*/
.centered-middle-50 {
width: 65%;
left: 50%;
top: 50%;
text-align: left;
}
.centered-middle-50-none-list {
list-style-type: none;
}
.centered-middle-50-none-list>li {
margin-bottom : 6px;
}
.centered-middle-50-none-list>p>em {
margin-bottom : -5px;
margin-left : 15px;
}
.centered-middle-50-none-list>li>p {
margin-top : -1px;
margin-bottom : 0px;
margin-left : 15px;
}
.col50-text {
margin-top: 95px;
margin-left: 7%;
margin-right: 9%;
}
/*
The CSS styling for all used 'stylish' buttons.
Basic data for the classes are taken from http://buttonoptimizer.com/#
but got modified a bit.
*/
.btn {
display: inline-block;
text-align: center;
margin-top: 0px;
padding: 12px 24px;
border: 1px solid #0b7e34;
border-radius: 8px;
background: #12cd55;
background: -webkit-gradient(linear, left top, left bottom, from(#12cd55), to(#0b7e34));
background: -moz-linear-gradient(top, #12cd55, #0b7e34);
background: linear-gradient(to bottom, #12cd55, #0b7e34);
-webkit-box-shadow: #11be4e 1px -1px 10px 0px;
-moz-box-shadow: #11be4e 1px -1px 10px 0px;
box-shadow: #11be4e 1px 0px 21px 0px;
text-shadow: #074f21 1px 1px 1px;
font: normal normal bold 20px /*arial*/;
width: 350px;
font-size: 2.3em;
}
.btn-info {
font-size: 0.55em;
font-weight: initial;
font-style: normal;
text-align: center;
margin: 0px -30px 0px 0px;
color: #ffffff;
text-decoration: none;
}
/* Don't use any decoration for href */
a.btn {
color: white;
text-decoration: none;
}
a.btn:hover {
color: #e7dfdf;
}
.btn:hover, .btn:focus {
border: 1px solid #0e9e41;
background: #16f666;
background: -webkit-gradient(linear, left top, left bottom, from(#16f666), to(#0d973e));
background: -moz-linear-gradient(top, #16f666, #0d973e);
background: linear-gradient(to bottom, #16f666, #0d973e);
color: white;
text-decoration: none;
}
.btn:active {
background: #0b7e34;
background: -webkit-gradient(linear, left top, left bottom, from(#0b7e34), to(#0b7e34));
background: -moz-linear-gradient(top, #0b7e34, #0b7e34);
background: linear-gradient(to bottom, #0b7e34, #0b7e34);
color: white;
}
.btn:before{
content: "\0000a0";
display: inline-block;
height: 30px;
width: 30px;
line-height: 24px;
margin: 0 4px 0px -10px;
position: relative;
top: 0px;
left: -10px;
background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAACXBIWXMAAA7EAAAOxAGVKw4bAAAB1UlEQVRIibXVMWgUURAG4O82p0UIQUQsDkEEETuDjTYGbUUkVbCyEewsBEshHGIhCOHQ1lqtRKI22qRJJxYWASsRSzEiRgmRi8XOmnXvvc0pcWDYeTPz/pk3O/NeB4X/SBX4MGMf7obcPEGx23JbADiOAVaxEbwaumPGoCLDXdwMwHUs4U7w89BthE+3BWfkWNX6HrbwEL2EXw+Pw2eQOH22RDAfGxcz9qL2rRKZTwXo1JQHcB6HcAVfcAo/EwHqtBevMYkH+IgX+FSPdAlrkUnFl1MZZeSrjb1rgQlmsYllzCh/2Ensb8m6GeBg7OkGxnJgznbwEkdxAt9aQP+GpvAW7yjbbbElu3+VB1gvEobc6C/YrvHCGP6/gVcwh2n5Ycm1ao6nA3OlwC3l0Cz58yfP1bJKXYZ1/dD29M8oJ70X2Nk2/RFBquz7NVu/EWxfgI60aTccHuEVLigH7QOu4UmU8EymRLeV7XxROaj3lUP3DJ+r5HK36SRu4E3LCTYj26c4LdFRXaNU1fU77gbnaE+LbQgTyvtoKyJ2GnwY13EOZ2MtbEdC/x5fE3sr3vFFq5emyf2E/4g8zqOfCtLspCzVp7mNmz95J//ki9Zcp8o1Vlkq+RdF139qw2G1QgAAAABJRU5ErkJggg==") no-repeat left center transparent;
background-size: 100% 100%;
}
.btn-non-free {
border: 1px solid #225594;
background: #40a0ff;
background: -webkit-gradient(linear, left top, left bottom, from(#40a0ff), to(#225594));
background: -moz-linear-gradient(top, #40a0ff, #225594);
background: linear-gradient(to bottom, #40a0ff, #225594);
-webkit-box-shadow: #1169c0 1px -1px 21px 0px;
-moz-box-shadow: #1169c0 1px -1px 10px 0px;
text-shadow: #143257 1px 1px 1px;
}
.btn-non-free:hover, .btn-non-free:focus {
border: 1px solid #225594;
background: #4dc0ff;
background: -webkit-gradient(linear, left top, left bottom, from(#4dc0ff), to(#2966b2));
background: -moz-linear-gradient(top, #4dc0ff, #2966b2);
background: linear-gradient(to bottom, #4dc0ff, #2966b2);
color: #ffffff;
text-decoration: none;
}
.btn-non-free:active {
background: #225594;
background: -webkit-gradient(linear, left top, left bottom, from(#225594), to(#225594));
background: -moz-linear-gradient(top, #225594, #225594);
background: linear-gradient(to bottom, #225594, #225594);
}
/* The third extra button for more downloads.*/
.btn-more-img {
display: inline-block;
text-align: center;
vertical-align: middle;
padding: 12px 24px;
border: 1px solid #5e6270;
border-radius: 8px;
background: #b2b5bf;
background: -webkit-gradient(linear, left top, left bottom, from(#b2b5bf), to(#969cb3));
background: -moz-linear-gradient(top, #b2b5bf, #969cb3);
background: linear-gradient(to bottom, #b2b5bf, #969cb3);
text-shadow: #3b3d46 1px 1px 1px;
font: normal normal bold 20px/* arial*/;
color: #ffffff;
text-decoration: none;
}
a.btn-more-img {
color: white;
text-decoration: none;
}
a.btn-more-img:hover {
color: black;
}
.btn-more-img:hover,
.btn-more-img:focus {
border: 1px solid #757a8c;
background: #d6d9e5;
background: -webkit-gradient(linear, left top, left bottom, from(#d6d9e5), to(#7d7e84));
background: -moz-linear-gradient(top, #d6d9e5, #7d7e84);
background: linear-gradient(to bottom, #d6d9e5, #7d7e84);
color: #ffffff;
text-decoration: none;
}
.btn-more-img:active {
background: #6b6d73;
background: -webkit-gradient(linear, left top, left bottom, from(#6b6d73), to(#969cb3));
background: -moz-linear-gradient(top, #6b6d73, #969cb3);
background: linear-gradient(to bottom, #6b6d73, #969cb3);
}
.btn-more-img:before{
content: "\0000a0";
display: inline-block;
height: 24px;
width: 24px;
line-height: 24px;
margin: 0 4px -6px -4px;
position: relative;
top: 0px;
left: 0px;
background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAACXBIWXMAAA7EAAAOxAGVKw4bAAABrklEQVRIia3WzW4TQQwH8F9CQFG0qqpKVEhEkXgA4MCZA0/HU3CscuHYN6gQ6oV3CJxAag+E71ZZDuNJJptskq1qyRrvjsde/+2xF/qY4Ay/UXfkOaYYh60mm2BWHLjBzw58E+dmYWtpOK9nofAOT3CEqgOfxtk6bCmN9yLEIZ7iW2wsYn2Egf10jC+4xjN8LzfrCLUqwpsErlcdoMoQX0UkGa4NB2PrObkrz8LWhoOpVU5OWiDp75BPrHIybToYRoh1KG4ru0P4VKqueemdlNBhyNexLoK7yL/wD1XTQZMWW+QBPuByz9mlchu1OR/iBUYaF2rbuV0RtIXfSWffJSphybkpv7wqdP/gtmngUIguJFjy++zsa6HzCW90iCC3i7yOtuiU77KtJoxr96CyuvZt1ElngB9SyCOpfjPtK+GDdPo4l8J7K3XFTPdSRbQ3tzYaSEn/uENnDcZyZOY+VNvdawbBbfsbDjId2Wx2mbrIy2b3QJpqGZK/eInneBww9KTJ9jDWffKxlM9XeN+zXuuknFwEbLdSV+xCecx+xutmiPl5LA2Lubv9xuSR6T/zur71snglUwAAAABJRU5ErkJggg==") no-repeat left center transparent;
background-size: 100% 100%;
}
.btn-more-images {
margin-top: -1.5em;
}
.btn-more-livecds {
margin-top: 0.8em;
}
This diff is collapsed.
# Considering webwml/english/partners/images/* shouldn't be in translations,
# there should be no need to copy this file to translation directories.
WMLBASE=../..
CUR_DIR=download/img
SUBS=
include $(WMLBASE)/Make.lang
This diff is collapsed.
input[type='checkbox'] {
display: none;
}
.lbl-toggle {
%display: block;
%font-weight: bold;
%font-family: monospace;
%font-size: 1.2rem;
%text-transform: uppercase;
%text-align: center;
padding: .5rem;
%color: #A77B0E;
background: #b2b5bf;
cursor: pointer;
border-radius: 7px;
}
.lbl-toggle:hover {
color: #7C5A0B;
color: #ffffff;
}
.collapsible-content {
max-height: 0px;
overflow: hidden;
transition: max-height .65s ease-in;
}
.toggle:checked + .lbl-toggle + .collapsible-content {
/* Increase the size of max-height to something more pixels than the section
will need, the real height of the section will get used anyway. */
max-height: 1250px;
transition-timing-function: ease-out;
transition: 1.25s;
transform: translateY(0);
}