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/
16 - Get in Touch with Us
23 - Documentation Styling
31 font-family: "DejaVu Sans", "Verdana", sans-serif
;
33 background: url
(lib/strip.png);
38 /* Basic Typography */
39 /* This section implements the ideas of typographic scale and rythm as
40 * explained on http://lamb.cc/typograph/. */
42 /* Set the main font-size to 14px.
43 * Set the main line-height, λ to 21px.
44 * All this section is calculated so that each element measures in height a
45 * multiple of λ. This allows, for exemple, to keep parallel threads of text
46 * in a same vertical rythm. */
48 font-size: 87.5%; /* 16×87.5%=14px */
49 line-height: 1.5; /* 14×1.5=21px=λ */
52 /* The bottom margin of all elements is fixed to a multiple of λ so that they
53 * don't brake the rythm when they overlap. We set all top margin to 0. */
55 margin: 0 0 1.5em 0; /* 14×1.5=21px=λ */
58 /* use a geometric font for the main titles and the sidebar */
59 h1
, h2
, span
.title
, div
.banner
, .sidebar
{
60 font-family: "Century Gothic", "Avant Garde", Avenir
, TeXGyreAdventorRegular
, "Heiti SC", "Heiti TC", AppleGothic
, sans-serif
;
64 /* The size h1, h2 and h3 follows a traditional scale of 1, 1.5 and 2.
65 Their line-height are adjusted to a multiple of λ. */
68 font-size: 2em; /* 14×2=28px */
69 line-height: 1.5; /* 28×1.5=42px=2λ */
70 margin: 0.4em 0 0.35em 0; /* 28×0.75=21px=λ */
73 /* Instead of 1.5 we use 1.429em because at 20px the Avant Garde font look
74 * thiner than at 21px and thus more distinct in style than h1. */
76 font-size: 1.429em; /* 14×1.429=20px */
77 line-height: 2.1; /* 20×2.1=21px=λ */
78 margin: 0.55em 0 0.5em 0; /* 20×1.05=21px=λ */
82 font-size: 1em; /* 14px */
83 text-transform: uppercase
;
86 margin: 0.75em 0 0.75em 0; /* 14×1.5=21px=λ */
89 /* avoid super-long lines */
90 p
, ul
, ol
, h1
, h2
, h3
, h4
, h5
, h6
, blockquote
{
99 code
, kbd
, samp
, pre
, tt
, var
, p
.pre
{
100 font-family: "Courier", monospace
;
113 border: solid
1px #AAAAAA;
116 tbody th
, tbody td
, tfoot th
, tfoot td
{
117 border-top: solid
1px #AAAAAA;
120 img
.img
{ /* overwrite style.css */
126 input
[type
="text"], input
[type
="password"], input
[type
="select"],
127 input
[type
="search"], #editcontent
{
153 border :0px solid black
;
155 -moz-box-shadow: 3px 3px 5px rgba
(5, 5, 5, 0.2);
156 -webkit-box-shadow: 3px 3px 5px rgba
(5, 5, 5, 0.2);
157 box-shadow: 3px 3px 5px rgba
(5, 5, 5, 0.2);
159 background: rgba
(255, 255, 255, 1.00);
160 -webkit-border-top-left-radius: 10px;
161 -webkit-border-bottom-right-radius: 10px;
162 -moz-border-radius-topleft: 10px;
163 -moz-border-radius-bottomright: 10px;
164 border-top-left-radius: 10px;
165 border-bottom-right-radius: 10px;
168 .pageheader .actions ul {
173 .pageheader .actions li {
185 .pageheader .actions {
191 font-size: 1em; /* override style.css */
195 background: white url
(lib
/logo-7
.png
) no-repeat
10px 0px;
196 -moz-box-shadow: 3px 3px 5px rgba
(5, 5, 5, 0.2);
197 -webkit-box-shadow: 3px 3px 5px rgba
(5, 5, 5, 0.2);
198 box-shadow: 3px 3px 5px rgba
(5, 5, 5, 0.2);
205 -webkit-border-top-left-radius: 10px;
206 -webkit-border-bottom-right-radius: 10px;
207 -moz-border-radius-topleft: 10px;
208 -moz-border-radius-bottomright: 10px;
209 border-top-left-radius: 10px;
210 border-bottom-right-radius: 10px;
211 border: 0px solid black
;
217 color: black
; text-decoration: none
;
219 background: no-repeat scroll
0 0;
221 text-shadow:1px 1px 5px #CFCFCF;
224 .banner .tails:hover {
225 text-decoration: none
;
229 font-size: 2.5em; /* 14×2.5=35px */
230 line-height: 1.2; /* 35×1.2=42px=2λ */
233 margin: 1.5em 0 0.6em 0; /* 35x0.6=21px=λ */
235 border-left: 10px solid
#444444;
241 font-size: 1.231em; /* 13×1.231=16px */
242 margin-top: 0.625em; /* 16×0.625=10px */
246 height: 1em; /* always take up 1em even if empty */
250 #homepage #news
, #homepage #security
,
251 #page-found_a_problem #bugs
, #page-found_a_problem #wishlist
,
252 #page-download #bittorrent
, #page-download #http
{
253 display: inline-block
;
258 #page-download #bittorrent
, #page-download #http
{
263 #page-found_a_problem #bugs
,
281 .sidebar .download a, .sidebar .download .selflink {
284 background: #0a0 url
('lib/download-arrow.png') no-repeat scroll right
30%;
285 -moz-box-shadow: 1px 1px 5px rgba
(5, 5, 5, 0.2);
286 -webkit-box-shadow: 1px 1px 5px rgba
(5, 5, 5, 0.2);
287 box-shadow: 1px 1px 5px rgba
(5, 5, 5, 0.2);
288 -moz-border-radius: 0.5em;
289 -webkit-border-radius: 0.5em;
290 border-radius: 0.5em;
291 text-decoration: none
;
297 .sidebar .download a span, .sidebar .download span.selflink span {
301 .sidebar .download a:hover {
302 background: #6e2daf url
('lib/download-arrow.png') no-repeat scroll right
30%;
305 .sidebar .download .download {
306 font-size: 1.286em; /* 14×1.286=18px */
307 padding-left: 0.778em; /* 18×0.778=14px */
312 .sidebar .download .tails {
313 font-size: 2em; /* 14×2=28px */
314 padding-left: 0.5em; /* 28×0.5=14px */
318 .sidebar .download .date {
322 padding-bottom: 0.714em; /* 14×0.714=10px */
327 border:1px solid
#DDDDDD;
329 -moz-box-shadow: 1px 1px 5px rgba
(5, 5, 5, 0.2);
330 -webkit-box-shadow: 1px 1px 5px rgba
(5, 5, 5, 0.2);
331 box-shadow: 1px 1px 5px rgba
(5, 5, 5, 0.2);
332 -moz-border-radius: 0.5em;
333 -webkit-border-radius: 0.5em;
334 border-radius: 0.5em;
337 .sidebar .links .selflink {
338 border-left: 2px solid black
;
349 .sidebar .links li a, .sidebar .links li .selflink {
350 font-size: 1.286em; /* 14×1.286=18px */
352 padding: 0.389em 0.778em; /* 5px 14px */
353 border-top: 1px #ddd solid
;
354 text-decoration: none
;
357 .sidebar .links li a:hover {
359 border-left: 2px solid
#0a0;
360 padding: 0.389em 0.778em; /* 5px 14px */
361 padding-left: 0.667em; /* 18×0.667=12px=padding-border */
364 .sidebar .links li:first-child a {
368 .sidebar .links li:first-child a:hover {
369 border-left: 2px solid
#0a0;
372 .sidebar .links li:first-child .selflink {
373 border-left: 2px solid black
;
381 text-decoration: none
;
386 text-decoration: underline
;
394 #news h1
, #security h1
, #doc h1
, #found_a_problem h1
, #talk h1
, #bugs h1
, #wishlist h1
, #design h1
, #other h1
, #tools h1
{
397 background-color:none
;
399 text-shadow:0 1px 0 #CFCFCF;
400 -moz-box-shadow: 1px 1px 5px rgba
(5, 5, 5, 0.2);
401 -webkit-box-shadow: 1px 1px 5px rgba
(5, 5, 5, 0.2);
402 box-shadow: 1px 1px 5px rgba
(5, 5, 5, 0.2);
403 -moz-border-radius: 0.2em;
404 -webkit-border-radius: 0.2em;
405 border-radius: 0.2em;
415 background-color: #eee;
416 border: thin solid
#ccc;
418 margin: 1.5em 1em 1.5em 1.5em;
419 padding: 0.25em 0.5em;
426 .inlinepage .inlineheader .header {
488 .forum-post-numcomments, .forum-post-updated, .forum-post-published {
492 .forum-post-title, .forum-post-numcomments, .forum-post-updated {
493 border-right: 1px solid
#AAAAAA;
496 .forum-posts td, .forum-posts td:first-child, .forum-posts td:last-child {
506 #pagebody .blogform
> a
.feedbutton
{
510 .blogform > input[name="title"] {
514 .blogform > input[type="submit"] {
525 list-style-type: decimal
;
529 background: url
(lib/loupe.png) no-repeat
;
530 background-color: white
;
531 background-position: 97% 50%;
533 padding: 3px 16px 3px 3px;
534 -moz-border-radius: 0.5em;
535 -webkit-border-radius: 0.5em;
536 border-radius: 0.5em;
537 border: 2px solid
#bbb;
546 border-top:thin solid dimgray
;
547 border-left:thin solid dimgray
;
548 border-bottom:thin dotted darkgrey
;
549 border-right:thin dotted darkgrey
;
558 /* a[href*="/recentchanges/"]
568 border-bottom: 1px solid
#0a0;
571 text-decoration: none
;
574 /* test inside and outside links */
575 #pagebody a
[href^
="http"] {
577 background: url
(lib/link_out.gif) no-repeat right bottom
;
580 #pagebody a
[href^
="http://localhost"],
581 #pagebody a
[href^
="http://tails.boum.org"],
582 #pagebody a
[href^
="https://tails.boum.org"],
583 #pagebody a
[href^
="http://dl.amnesia.boum.org"] {
584 background-image: none
;
588 #pagebody span
.definition a
{
594 #pagebody span
.definition
a:hover
{
598 #pagebody span
.definition
a:after
{
627 #comments .actions
> ul
{
635 /* Get in Touch with Us */
638 display: inline-block
;
645 div
.three-blocks p
, div
.three-blocks ul
, div
.three-blocks form
{
651 .bullet-number-one
, .bullet-number-two
, .bullet-number-three
,
652 .bullet-number-four
, .bullet-number-five
, .bullet-number-six
,
653 .bullet-number-seven, .bullet-number-eight, .bullet-number-nine {
661 .bullet-number-one { background: url
('lib/bullet/1.png') no-repeat top left
; }
662 .bullet-number-two { background: url
('lib/bullet/2.png') no-repeat top left
; }
663 .bullet-number-three { background: url
('lib/bullet/3.png') no-repeat top left
; }
664 .bullet-number-four { background: url
('lib/bullet/4.png') no-repeat top left
; }
665 .bullet-number-five { background: url
('lib/bullet/5.png') no-repeat top left
; }
666 .bullet-number-six { background: url
('lib/bullet/6.png') no-repeat top left
; }
667 .bullet-number-seven { background: url
('lib/bullet/7.png') no-repeat top left
; }
668 .bullet-number-eight { background: url
('lib/bullet/8.png') no-repeat top left
; }
669 .bullet-number-nine { background: url
('lib/bullet/9.png') no-repeat top left
; }
670 .bullet-number-zero { background: url
('lib/bullet/0.png') no-repeat top left
; }
672 /* Download Buttons */
674 #pagebody a
.download-file
,
675 #pagebody a
.download-signature
,
676 #pagebody a
.download-key
{
678 font-family: "Avant Garde", sans-serif
;
679 -moz-box-shadow: 1px 1px 5px rgba
(5, 5, 5, 0.2);
680 -webkit-box-shadow: 1px 1px 5px rgba
(5, 5, 5, 0.2);
681 box-shadow: 1px 1px 5px rgba
(5, 5, 5, 0.2);
682 -moz-border-radius: 0.5em;
683 -webkit-border-radius: 0.5em;
684 border-radius: 0.5em;
685 text-decoration: none
;
687 padding: 0.5em 64px 0.5em 18px;
691 #pagebody a
.download-file
{
692 background: #0a0 url
('lib/download-arrow.png') no-repeat scroll right center
;
695 #pagebody a
.download-signature
{
696 background: #0a0 url
('lib/download-signature.png') no-repeat scroll right center
;
699 #pagebody a
.download-key
{
700 background: #0a0 url
('lib/download-key.png') no-repeat scroll right center
;
705 #pagebody div
.toggleable
{
708 border-top: solid
5px black
;
709 border-bottom: solid
5px black
;
713 padding-bottom: 63px;
716 #pagebody div
.toggleable span
.hide a
.toggle
{
722 background: url
('lib/close.png') no-repeat
15px 0px;
726 /* Hide revert button on recentchanges */
733 .pageheader .actions {
738 background:url
(lib
/tools-20
.jpg
) right no-repeat
;
743 .pageheader .actions ul {
745 /* reduce the extra vertical space between title and body
746 margin-bottom: 1.385em; 13×1.385=18px
747 margin-top: -0.538em; 13×1.538=20px */
753 .pageheader .actions li {
761 .pageheader .actions li a {
763 text-decoration:none
;
766 .pageheader .actions:hover {
769 .pageheader .actions:hover ul {
780 .pageheader .actions:hover ul li {
782 -moz-transition: all
0.3s ease-out
;
783 -webkit-transition: all
0.3s ease-out
;
784 -o-transition: all
0.3s ease-out
;
785 transition: all
0.3s ease-out
;
786 border-bottom:2px solid white
;
789 .pageheader .actions:hover ul li:hover {
790 border-bottom:2px solid
#451E6F;
791 text-decoration:none
;
796 .pageheader .actions:hover ul li:hover a {
797 -moz-transition: all
0,5s ease-out
;
798 -webkit-transition: all
0,5s ease-out
;
799 -o-transition: all
0,5s ease-out
;
800 transition: all
0,5s ease-out
;
808 border-left:2px solid green
;
809 -moz-transition:all
0.1s ease-out
;
815 blockquote
> p:hover
{
819 #crumbs ul
, #crumbs li
{
820 list-style-type:none
;
830 border-bottom:1px solid
#DEDEDE;
831 border-right:1px solid
#DEDEDE;
837 -webkit-border-bottom-right-radius: 10px;
838 -moz-border-radius-bottomright: 10px;
839 border-bottom-right-radius: 10px;
850 #crumbs li:first-child img
{
856 background:url
(lib/crumbs.gif) no-repeat right center
;
862 #crumbs li
a:visited
{
864 text-decoration:none
;
873 /* Language Toolbar */
875 .pageheader #otherlanguages {
885 .pageheader #otherlanguages ul {
887 /* reduce the extra vertical space between title and body
888 margin-bottom: 1.385em; 13×1.385=18px
889 margin-top: -0.538em; 13×1.538=20px */
898 .pageheader #otherlanguages li {
906 .pageheader #otherlanguages li a {
908 text-decoration:none
;
913 .pageheader #otherlanguages ul li {
915 text-decoration:none
;
917 -moz-transition: all
0.3s ease-out
;
918 -webkit-transition: all
0.3s ease-out
;
919 -o-transition: all
0.3s ease-out
;
920 transition: all
0.3s ease-out
;
921 border-bottom:2px solid white
;
926 .pageheader #otherlanguages ul li span {
929 .pageheader #otherlanguages ul li:hover, .pageheader #otherlanguages ul li.current{
930 border-bottom:2px solid green
;
931 text-decoration:none
;
936 .pageheader #otherlanguages ul li.master, .pageheader #otherlanguages ul li:hover.master {
941 .pageheader #otherlanguages ul li:hover a {
942 -moz-transition: all
0,5s ease-out
;
943 -webkit-transition: all
0,5s ease-out
;
944 -o-transition: all
0,5s ease-out
;
945 transition: all
0,5s ease-out
;
949 .current > .visible {
950 text-transform: none
!important
;
954 /* visible and hidden */
956 .pageheader #otherlanguages ul li span.visible {
958 text-transform:uppercase
;
961 .pageheader #otherlanguages ul li span.hidden {
965 .pageheader #otherlanguages ul li:hover span.visible {
969 .pageheader #otherlanguages ul li:hover span.hidden {
976 margin-bottom: 1.5em;
981 display: inline-block
;
987 display: inline-block
;
997 /* Documentation Styling */
999 span
.application
{ font-style: italic
; }
1000 span
.button
{ font-weight: bold
; }
1002 font-family: "Courier";
1003 font-size: 1.143em; /* 14×1.143=16px */
1006 font-family: "Courier";
1007 font-size: 1.143em; /* 14×1.143=16px */
1008 border: 1px solid
#E0E0DF;
1009 padding-left: 0.2em;
1010 padding-right: 0.2em;
1012 span
.emphasis
{ font-style: italic
; }
1013 span
.filename
{ font-style: italic
; display: inline-block
; }
1014 span
.guilabel
{ font-weight: bold
; }
1015 span
.guimenu
{ font-weight: bold
; }
1016 span
.guisubmenu
{ font-weight: bold
; }
1017 span
.guimenuitem
{ font-weight: bold
; }
1018 span
.keycap
{ font-weight: bold
; }
1019 span
.menuchoice
{ font-weight: bold
; }
1020 span
.replaceable
{ font-style: italic
; }
1021 div
.bug
, div
.caution
, div
.next
, div
.note
, div
.tip
{
1022 background-color: #FFFFF0;
1023 border: 1px solid
#E0E0DF;
1025 background-position: 6px 0.5em;
1026 background-repeat: no-repeat
;
1029 margin: 0 0 1.5em 0;
1032 div
.bug
p:only-child
, div
.caution
p:only-child
, div
.next
p:only-child
, div
.note
p:only-child
, div
.tip
p:only-child
{
1033 display: table-cell
;
1035 vertical-align: bottom
;
1037 div
.bug
p:last-child
, div
.caution
p:last-child
, div
.next
p:last-child
, div
.note
p:last-child
, div
.tip
p:last-child
{
1041 background-image: url
(lib
/admon-bug
.png
);
1044 background-image: url
(lib
/admon-caution
.png
);
1047 background-image: url
(lib
/go-next
.png
);
1050 background-image: url
(lib
/admon-note
.png
);
1053 background-image: url
(lib
/admon-tip
.png
);
1060 border: solid
1px #bbb;
1061 margin-bottom: 1.5em;
1064 div
.pageheader div
.trail
{
1068 div
.trail span
.trailup
{
1072 div
.trail span
.trailarrow
{
1076 div
.trail span
.trailprev
, div
.trail span
.trailnext
{
1081 div
.trail span
.trailprev
{
1085 div
.trail span
.trailprev a
{
1089 div
.trail span
.trailnext
{
1093 div
.trail span
.trailnext a
{
1094 margin-right: 0.5em;
1099 /* doc/get/trusting_tails_signing_key */
1105 /* "Are you using Tor?" link on /news */
1112 #tor_check a
[href
="https://check.torproject.org/"] {
1118 -moz-box-shadow: 1px 1px 5px rgba
(5, 5, 5, 0.2);
1119 -webkit-box-shadow: 1px 1px 5px rgba
(5, 5, 5, 0.2);
1120 box-shadow: 1px 1px 5px rgba
(5, 5, 5, 0.2);
1121 -moz-border-radius: 0.5em;
1122 -webkit-border-radius: 0.5em;
1123 border-radius: 0.5em;
1137 font-family: "Century Gothic", "Avant Garde", Avenir
, TeXGyreAdventorRegular
, "Heiti SC", "Heiti TC", AppleGothic
, sans-serif
;
1138 font-weight: normal
;
1145 /* Contribute section */
1151 div
.contribute-roles-1
{
1152 display: inline-block
;
1153 margin: 0 2em 2em 0;
1156 div
.contribute-roles-1
{
1161 div
.contribute-roles-3
{
1166 div
.contribute-roles-3 div
.contribute-role
{
1170 div
.contribute-role
{
1171 display: inline-block
;
1173 vertical-align: top
;
1176 div
.contribute-role p
{