2 ------------------- T(A)ILS-specific styles ---------------------------------------------
3 Some text sizing use ems with decimals to calculate round pixel numbers by
4 default, when the user does not resize the text.
5 See: http://www.alistapart.com/articles/howtosizetextincss/
11 font-family: "DejaVu Sans", "Verdana", sans-serif
;
13 background: url
(lib/strip.png);
18 /* Basic Typography */
19 /* This section implements the ideas of typographic scale and rythm as
20 * explained on http://lamb.cc/typograph/. */
22 /* Set the main font-size to 14px.
23 * Set the main line-height, λ to 21px.
24 * All this section is calculated so that each element measures in height a
25 * multiple of λ. This allows, for exemple, to keep parallel threads of text
26 * in a same vertical rythm. */
28 font-size: 87.5%; /* 16×87.5%=14px */
29 line-height: 1.5; /* 14×1.5=21px=λ */
32 /* The bottom margin of all elements is fixed to a multiple of λ so that they
33 * don't brake the rythm when they overlap. We set all top margin to 0. */
35 margin: 0 0 1.5em 0; /* 14×1.5=21px=λ */
38 /* use a geometric font for the main titles and the sidebar */
39 h1
, h2
, span
.title
, div
.banner
, .sidebar
{
40 font-family: "Century Gothic", "Avant Garde", Avenir
, TeXGyreAdventorRegular
, "Heiti SC", "Heiti TC", AppleGothic
, sans-serif
;
44 /* The size h1, h2 and h3 follows a traditional scale of 1, 1.5 and 2.
45 Their line-height are adjusted to a multiple of λ. */
48 font-size: 2em; /* 14×2=28px */
49 line-height: 1.5; /* 28×1.5=42px=2λ */
50 margin: 0 0 0.75em 0; /* 28×0.75=21px=λ */
53 /* Instead of 1.5 we use 1.429em because at 20px the Avant Garde font look
54 * thiner than at 21px and thus more distinct in style than h1. */
56 font-size: 1.429em; /* 14×1.429=20px */
57 line-height: 2.1; /* 20×2.1=21px=λ */
58 margin: 0 0 1.05em 0; /* 20×1.05=21px=λ */
62 font-size: 1em; /* 14px */
63 text-transform: uppercase
;
66 margin: 0 0 1.5em 0; /* 14×1.5=21px=λ */
69 /* avoid super-long lines */
70 p
, ul
, ol
, h1
, h2
, h3
, h4
, h5
, h6
, blockquote
{
79 code
, kbd
, samp
, pre
, tt
, var
{
80 font-family: inconsolata
, mono-space
, monospace
;
92 border: solid
1px #AAAAAA;
95 tbody th
, tbody td
, tfoot th
, tfoot td
{
96 border-top: solid
1px #AAAAAA;
101 input
[type
="text"], input
[type
="password"], input
[type
="select"],
102 input
[type
="search"], #editcontent
{
128 border :0px solid black
;
130 -moz-box-shadow: 3px 3px 5px rgba
(5, 5, 5, 0.2);
131 -webkit-box-shadow: 3px 3px 5px rgba
(5, 5, 5, 0.2);
132 box-shadow: 3px 3px 5px rgba
(5, 5, 5, 0.2);
134 background: rgba
(255, 255, 255, 1.00);
135 -webkit-border-top-left-radius: 10px;
136 -webkit-border-bottom-right-radius: 10px;
137 -moz-border-radius-topleft: 10px;
138 -moz-border-radius-bottomright: 10px;
139 border-top-left-radius: 10px;
140 border-bottom-right-radius: 10px;
143 .pageheader .actions ul {
148 .pageheader .actions li {
160 .pageheader .actions {
166 font-size: 1em; /* override style.css */
170 background: white url
(lib
/logo-7
.png
) no-repeat
10px 0px;
171 -moz-box-shadow: 3px 3px 5px rgba
(5, 5, 5, 0.2);
172 -webkit-box-shadow: 3px 3px 5px rgba
(5, 5, 5, 0.2);
173 box-shadow: 3px 3px 5px rgba
(5, 5, 5, 0.2);
180 -webkit-border-top-left-radius: 10px;
181 -webkit-border-bottom-right-radius: 10px;
182 -moz-border-radius-topleft: 10px;
183 -moz-border-radius-bottomright: 10px;
184 border-top-left-radius: 10px;
185 border-bottom-right-radius: 10px;
186 border: 0px solid black
;
192 color: black
; text-decoration: none
;
194 background: no-repeat scroll
0 0;
196 text-shadow:1px 1px 5px #CFCFCF;
199 .banner .tails:hover {
200 text-decoration: none
;
204 font-size: 2.5em; /* 14×2.5=35px */
205 line-height: 1.2; /* 35×1.2=42px=2λ */
208 margin: 1.5em 0 0.6em 0; /* 35x0.6=21px=λ */
210 border-left: 10px solid
#444444;
216 font-size: 1.231em; /* 13×1.231=16px */
217 margin-top: 0.625em; /* 16×0.625=10px */
221 height: 1em; /* always take up 1em even if empty */
225 #homepage #news
, #homepage #security
,
226 #page-found_a_problem #bugs
, #page-found_a_problem #wishlist
,
227 #page-contribute #source
, #page-contribute #build
, #page-contribute #tools
,
228 #page-contribute #design
, #page-contribute #other
,
229 #page-contribute #talk
,
230 #page-download #bittorrent
, #page-download #http
{
231 display: inline-block
;
236 #page-download #bittorrent
, #page-download #http
{
241 #page-found_a_problem #bugs
,
242 #page-contribute #source
, #page-contribute #tools
,
243 #page-contribute #design
,
261 .sidebar .download a, .sidebar .download .selflink {
264 background: #0a0 url
('lib/download-arrow.png') no-repeat scroll right
30%;
265 -moz-box-shadow: 1px 1px 5px rgba
(5, 5, 5, 0.2);
266 -webkit-box-shadow: 1px 1px 5px rgba
(5, 5, 5, 0.2);
267 box-shadow: 1px 1px 5px rgba
(5, 5, 5, 0.2);
268 -moz-border-radius: 0.5em;
269 -webkit-border-radius: 0.5em;
270 border-radius: 0.5em;
271 text-decoration: none
;
276 .sidebar .download a span, .sidebar .download span.selflink span {
280 .sidebar .download a:hover {
281 background: #6e2daf url
('lib/download-arrow.png') no-repeat scroll right
30%;
284 .sidebar .download .download {
285 font-size: 1.286em; /* 14×1.286=18px */
286 padding-left: 0.778em; /* 18×0.778=14px */
291 .sidebar .download .tails {
292 font-size: 2em; /* 14×2=28px */
293 padding-left: 0.5em; /* 28×0.5=14px */
297 .sidebar .download .date {
301 padding-bottom: 0.714em; /* 14×0.714=10px */
306 border:1px solid
#DDDDDD;
308 -moz-box-shadow: 1px 1px 5px rgba
(5, 5, 5, 0.2);
309 -webkit-box-shadow: 1px 1px 5px rgba
(5, 5, 5, 0.2);
310 box-shadow: 1px 1px 5px rgba
(5, 5, 5, 0.2);
311 -moz-border-radius: 0.5em;
312 -webkit-border-radius: 0.5em;
313 border-radius: 0.5em;
316 .sidebar .links .selflink {
317 border-left: 2px solid black
;
328 .sidebar .links li a, .sidebar .links li .selflink {
329 font-size: 1.286em; /* 14×1.286=18px */
331 padding: 0.389em 0.778em; /* 5px 14px */
332 border-top: 1px #ddd solid
;
333 text-decoration: none
;
336 .sidebar .links li a:hover {
338 border-left: 2px solid
#0a0;
339 padding: 0.389em 0.778em; /* 5px 14px */
340 padding-left: 0.667em; /* 18×0.667=12px=padding-border */
343 .sidebar .links li:first-child a {
347 .sidebar .links li:first-child a:hover {
348 border-left: 2px solid
#0a0;
351 .sidebar .links li:first-child .selflink {
352 border-left: 2px solid black
;
360 text-decoration: none
;
365 text-decoration: underline
;
373 #news h1
, #security h1
, #doc h1
, #found_a_problem h1
, #talk h1
, #bugs h1
, #wishlist h1
, #design h1
, #other h1
, #tools h1
{
376 background-color:none
;
378 text-shadow:0 1px 0 #CFCFCF;
379 -moz-box-shadow: 1px 1px 5px rgba
(5, 5, 5, 0.2);
380 -webkit-box-shadow: 1px 1px 5px rgba
(5, 5, 5, 0.2);
381 box-shadow: 1px 1px 5px rgba
(5, 5, 5, 0.2);
382 -moz-border-radius: 0.2em;
383 -webkit-border-radius: 0.2em;
384 border-radius: 0.2em;
394 background-color:#EEEEEE;
395 border:thin solid
#CCCCCC;
400 border-left:5px solid
#CCCCCC;
408 .inlinepage .inlineheader .header {
469 .forum-post-numcomments, .forum-post-updated, .forum-post-published {
473 .forum-post-title, .forum-post-numcomments, .forum-post-updated {
474 border-right: 1px solid
#AAAAAA;
477 .forum-posts td, .forum-posts td:first-child, .forum-posts td:last-child {
487 #pagebody .blogform
> a
.feedbutton
{
491 .blogform > input[name="title"] {
495 .blogform > input[type="submit"] {
506 list-style-type: decimal
;
510 background: url
(lib/loupe.png) no-repeat
;
511 background-color: white
;
512 background-position: 100% 50%;
515 -moz-border-radius: 0.5em;
516 -webkit-border-radius: 0.5em;
517 border-radius: 0.5em;
518 border:1px solid lightgrey
;
521 input#
searchbox:hover
{
522 background-color: white
;
523 border:1px solid darkgrey
;
526 input#
searchbox:focus
{
535 border-top:thin solid dimgray
;
536 border-left:thin solid dimgray
;
537 border-bottom:thin dotted darkgrey
;
538 border-right:thin dotted darkgrey
;
547 /* a[href*="/recentchanges/"]
557 border-bottom: 1px solid
#0a0;
560 text-decoration: none
;
563 /* test inside and outside links */
564 #pagebody a
[href^
="http"] {
566 background: url
(lib/link_out.gif) no-repeat right bottom
;
569 #pagebody a
[href^
="http://localhost"],
570 #pagebody a
[href^
="http://tails.boum.org"],
571 #pagebody a
[href^
="https://tails.boum.org"],
572 #pagebody a
[href^
="http://dl.amnesia.boum.org"] {
573 background-image: none
;
577 #pagebody span
.definition a
{
583 #pagebody span
.definition
a:hover
{
587 #pagebody span
.definition
a:after
{
616 #comments .actions
> ul
{
624 /* Get in touch with us */
627 display: inline-block
;
634 div
.three-blocks p
, div
.three-blocks ul
{
639 .bullet-number-one
, .bullet-number-two
, .bullet-number-three
,
640 .bullet-number-four
, .bullet-number-five
, .bullet-number-six
,
641 .bullet-number-seven, .bullet-number-eight, .bullet-number-nine {
649 .bullet-number-one { background: url
('lib/bullet/1.png') no-repeat top left
; }
650 .bullet-number-two { background: url
('lib/bullet/2.png') no-repeat top left
; }
651 .bullet-number-three { background: url
('lib/bullet/3.png') no-repeat top left
; }
652 .bullet-number-four { background: url
('lib/bullet/4.png') no-repeat top left
; }
653 .bullet-number-five { background: url
('lib/bullet/5.png') no-repeat top left
; }
654 .bullet-number-six { background: url
('lib/bullet/6.png') no-repeat top left
; }
655 .bullet-number-seven { background: url
('lib/bullet/7.png') no-repeat top left
; }
656 .bullet-number-eight { background: url
('lib/bullet/8.png') no-repeat top left
; }
657 .bullet-number-nine { background: url
('lib/bullet/9.png') no-repeat top left
; }
658 .bullet-number-zero { background: url
('lib/bullet/0.png') no-repeat top left
; }
660 /* download buttons */
662 #pagebody a
.download-file
,
663 #pagebody a
.download-signature
,
664 #pagebody a
.download-key
{
666 font-family: "Avant Garde", sans-serif
;
667 -moz-box-shadow: 1px 1px 5px rgba
(5, 5, 5, 0.2);
668 -webkit-box-shadow: 1px 1px 5px rgba
(5, 5, 5, 0.2);
669 box-shadow: 1px 1px 5px rgba
(5, 5, 5, 0.2);
670 -moz-border-radius: 0.5em;
671 -webkit-border-radius: 0.5em;
672 border-radius: 0.5em;
673 text-decoration: none
;
675 padding: 0.5em 64px 0.5em 18px;
679 #pagebody a
.download-file
{
680 background: #0a0 url
('lib/download-arrow.png') no-repeat scroll right center
;
683 #pagebody a
.download-signature
{
684 background: #0a0 url
('lib/download-signature.png') no-repeat scroll right center
;
687 #pagebody a
.download-key
{
688 background: #0a0 url
('lib/download-key.png') no-repeat scroll right center
;
693 #pagebody div
.toggleable
{
695 border-top: solid
5px black
;
696 border-bottom: solid
5px black
;
701 #pagebody div
.toggleable span
.hide
{
707 #pagebody div
.toggleable span
.hide a
.toggle
{
708 font-size: 1.429em; /* 14×1.429=20px */
709 font-family: "Avant Garde", sans-serif
;
714 /* Hide revert button on recentchanges */
719 /* action hidden menu */
721 .pageheader .actions {
726 background:url
(lib
/tools-20
.jpg
) right no-repeat
;
731 .pageheader .actions ul {
733 /* reduce the extra vertical space between title and body
734 margin-bottom: 1.385em; 13×1.385=18px
735 margin-top: -0.538em; 13×1.538=20px */
741 .pageheader .actions li {
749 .pageheader .actions li a {
751 text-decoration:none
;
754 .pageheader .actions:hover {
757 .pageheader .actions:hover ul {
768 .pageheader .actions:hover ul li {
770 -moz-transition: all
0.3s ease-out
;
771 -webkit-transition: all
0.3s ease-out
;
772 -o-transition: all
0.3s ease-out
;
773 transition: all
0.3s ease-out
;
774 border-bottom:2px solid white
;
777 .pageheader .actions:hover ul li:hover {
778 border-bottom:2px solid
#451E6F;
779 text-decoration:none
;
784 .pageheader .actions:hover ul li:hover a {
785 -moz-transition: all
0,5s ease-out
;
786 -webkit-transition: all
0,5s ease-out
;
787 -o-transition: all
0,5s ease-out
;
788 transition: all
0,5s ease-out
;
796 border-left:2px solid green
;
797 -moz-transition:all
0.1s ease-out
;
803 blockquote
> p:hover
{
807 #crumbs ul
, #crumbs li
{
808 list-style-type:none
;
818 border-bottom:1px solid
#DEDEDE;
819 border-right:1px solid
#DEDEDE;
825 -webkit-border-bottom-right-radius: 10px;
826 -moz-border-radius-bottomright: 10px;
827 border-bottom-right-radius: 10px;
838 #crumbs li:first-child img
{
844 background:url
(lib/crumbs.gif) no-repeat right center
;
850 #crumbs li
a:visited
{
852 text-decoration:none
;
861 /* language toolbar */
863 .pageheader #otherlanguages {
873 .pageheader #otherlanguages ul {
875 /* reduce the extra vertical space between title and body
876 margin-bottom: 1.385em; 13×1.385=18px
877 margin-top: -0.538em; 13×1.538=20px */
886 .pageheader #otherlanguages li {
895 .pageheader #otherlanguages li a {
897 text-decoration:none
;
902 .pageheader #otherlanguages ul li {
904 text-decoration:none
;
906 -moz-transition: all
0.3s ease-out
;
907 -webkit-transition: all
0.3s ease-out
;
908 -o-transition: all
0.3s ease-out
;
909 transition: all
0.3s ease-out
;
910 border-bottom:2px solid white
;
915 .pageheader #otherlanguages ul li span {
918 .pageheader #otherlanguages ul li:hover, .pageheader #otherlanguages ul li.current{
919 border-bottom:2px solid green
;
920 text-decoration:none
;
925 .pageheader #otherlanguages ul li.master, .pageheader #otherlanguages ul li:hover.master {
930 .pageheader #otherlanguages ul li:hover a {
931 -moz-transition: all
0,5s ease-out
;
932 -webkit-transition: all
0,5s ease-out
;
933 -o-transition: all
0,5s ease-out
;
934 transition: all
0,5s ease-out
;
938 .current > .visible {
939 text-transform: none
!important
;
943 /* visible and hidden */
945 .pageheader #otherlanguages ul li span.visible {
947 text-transform:uppercase
;
950 .pageheader #otherlanguages ul li span.hidden {
954 .pageheader #otherlanguages ul li:hover span.visible {
958 .pageheader #otherlanguages ul li:hover span.hidden {