2 ------------------- Tails custom style ---------------------------------------------
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/
17 - Get in Touch with Us
24 - Documentation Styling
31 @font-face { font-family: "Source Sans Pro Regular"; src: url
("lib/SourceSansPro-Regular.ttf"); }
36 font-family: "DejaVu Sans", "Verdana", sans-serif
;
38 background: url
(lib/strip.png);
43 /* Basic Typography */
44 /* This section implements the ideas of typographic scale and rythm as
45 * explained on http://lamb.cc/typograph/. */
47 /* Set the main font-size to 14px.
48 * Set the main line-height, λ to 21px.
49 * All this section is calculated so that each element measures in height a
50 * multiple of λ. This allows, for exemple, to keep parallel threads of text
51 * in a same vertical rythm. */
53 font-size: 87.5%; /* 16×87.5%=14px */
54 line-height: 1.5; /* 14×1.5=21px=λ */
57 /* The bottom margin of all elements is fixed to a multiple of λ so that they
58 * don't brake the rythm when they overlap. We set all top margin to 0. */
60 margin: 0 0 1.5em 0; /* 14×1.5=21px=λ */
64 font-family: "Source Sans Pro Regular", "DejaVu Sans", "Verdana", sans-serif
;
67 h1
, h2
, h3
, .sidebar
{
68 font-family: "Source Sans Pro Regular", "DejaVu Sans", "Verdana", sans-serif
;
72 /* The size h1, h2 and h3 follows a traditional scale of 1, 1.5 and 2.
73 Their line-height are adjusted to a multiple of λ. */
76 font-size: 2em; /* 14×2=28px */
77 line-height: 1.5em; /* 28×1.5=42px=2λ */
78 margin: 0.4em 0 0.35em 0; /* 28×0.75=21px=λ */
82 font-size: 1.5em; /* 14×1.5=21px */
83 line-height: 2em; /* 21×1=21px=λ */
84 margin: 0.5em 0 0.5em 0; /* 21×1=21px=λ */
88 font-size: 1.071em; /* 14×1.071=15px */
89 text-transform: uppercase
;
90 letter-spacing: 0.067em; /* 15×0.067=1px */
91 margin: 0.7em 0 0.7em 0; /* 15×1.4=21px=λ */
94 /* avoid super-long lines */
95 p
, ul
, ol
, h1
, h2
, h3
, h4
, h5
, h6
{
105 margin-bottom: 0.5em;
108 code
, kbd
, samp
, pre
, tt
, var
, p
.pre
, p
.code
{
109 font-family: "Courier", monospace
;
110 font-size: 1.071em; /* 14×1.071=15px */
112 pre code
{ font-size: 1em; } /* ikiwiki adds <code> tags inside <pre>
123 border: solid 1px #AAAAAA;
126 tbody th, tbody td, tfoot th, tfoot td {
127 border-top: solid 1px #AAAAAA;
130 img.img { /* overwrite style.css */
134 img.margin { /* overwrite style.css */
135 margin: 2em 4em 2em 0em;
140 input[type="text"], input[type="password"], input[type="select"],
141 input[type="search"], #editcontent {
147 form.donation label {
153 margin-bottom: 0.5em;
179 padding: 0 2em 2em 2em;
182 border :0px solid black;
183 -moz-box-shadow: 3px 3px 5px rgba(5, 5, 5, 0.2);
184 -webkit-box-shadow: 3px 3px 5px rgba(5, 5, 5, 0.2);
185 box-shadow: 3px 3px 5px rgba(5, 5, 5, 0.2);
187 background: rgba(255, 255, 255, 1.00);
190 .pageheader .actions ul {
195 .pageheader .actions li {
207 .pageheader .actions {
213 font-size: 1em; /* override style.css */
218 background: #56347c url(lib/banner.png) no-repeat;
219 -moz-box-shadow: 3px 3px 5px rgba(5, 5, 5, 0.2);
220 -webkit-box-shadow: 3px 3px 5px rgba(5, 5, 5, 0.2);
221 box-shadow: 3px 3px 5px rgba(5, 5, 5, 0.2);
226 border: 0px solid black;
235 .banner .tails span {
240 font-size: 2.5em; /* 14×2.5=35px */
241 line-height: 1.2; /* 35×1.2=42px=2λ */
244 margin: 1.5em 0 0.6em 0; /* 35x0.6=21px=λ */
246 border-left: 10px solid #444444;
252 font-size: 1.231em; /* 13×1.231=16px */
253 margin-top: 0.625em; /* 16×0.625=10px */
257 height: 1em; /* always take up 1em even if empty */
261 #homepage #news, #homepage #security,
262 #page-found_a_problem #bugs, #page-found_a_problem #wishlist,
263 #page-download #bittorrent, #page-download #http {
264 display: inline-block;
269 #page-download #bittorrent, #page-download #http {
274 #page-found_a_problem #bugs,
283 font-family: "Source Sans Pro Regular", "DejaVu Sans", "Verdana", sans-serif;
293 .sidebar .button a, .sidebar .button .selflink, .sidebar .links {
297 -moz-box-shadow: 1px 1px 5px rgba(5, 5, 5, 0.2);
298 -webkit-box-shadow: 1px 1px 5px rgba(5, 5, 5, 0.2);
299 box-shadow: 1px 1px 5px rgba(5, 5, 5, 0.2);
300 -moz-border-radius: 0.5em;
301 -webkit-border-radius: 0.5em;
302 border-radius: 0.5em;
303 -moz-box-sizing: border-box;
304 -o-box-sizing: border-box;
305 -webkit-box-sizing: border-box;
306 box-sizing: border-box;
309 .sidebar .button a, .sidebar .button .selflink {
310 text-decoration: none;
316 background-color: #0a0;
319 .sidebar .button a:hover, .sidebar .button .selflink {
320 background-color: #56347c;
323 .sidebar .download a {
324 background: #0a0 url('lib/download-arrow.png') no-repeat scroll right 30%;
327 .sidebar .download a span, .sidebar .download span.selflink span {
332 .sidebar .download .download {
333 font-size: 1.571em; /* 14×1.571=22px */
336 .sidebar .download .tails {
337 font-size: 2.286em; /* 14×2.286=32px */
341 .sidebar .download .date {
342 font-size: 1.143em; /* 14×1.143=16px */
347 border:1px solid #DDDDDD;
351 .sidebar .links .selflink {
352 border-left: 2px solid black;
363 .sidebar .links li a, .sidebar .links li .selflink {
364 font-size: 1.429em; /* 14×1.429=20px */
366 padding: 0.25em 0.7em; /* 5px 14px */
367 border-top: 1px #ddd solid;
368 text-decoration: none;
369 letter-spacing: 0.05em;
372 .sidebar .links li a:hover {
374 border-left: 2px solid #0a0;
375 padding: 0.25em 0.7em; /* 5px 14px */
376 padding-left: 0.6em; /* 20×0.6=12px=padding-border */
379 .sidebar .links li:first-child a {
383 .sidebar .links li:first-child a:hover {
384 border-left: 2px solid #0a0;
387 .sidebar .links li:first-child .selflink {
388 border-left: 2px solid black;
394 .sidebar .donate a, .sidebar .donate .selflink {
395 background: #0a0 url('lib/donate.png') no-repeat scroll 10px 50%;
396 font-size: 1.857em; /* 14×1.857=26px */
405 text-decoration: none;
413 #news h1, #security h1, #doc h1, #found_a_problem h1, #talk h1, #bugs h1, #wishlist h1, #design h1, #other h1, #tools h1 {
416 background-color:none;
419 border-radius: 0.2em;
430 background-color: #eee;
431 border: thin solid #ccc;
433 margin: 1.5em 1em 1.5em 1.5em;
434 padding: 0.25em 0.5em;
441 .inlinepage .inlineheader .header {
480 /* avoid printing search results below sidebar */
505 #pagebody .blogform > a.feedbutton {
509 .blogform > input[name="title"] {
513 .blogform > input[type="submit"] {
524 list-style-type: decimal;
528 background: url(lib/loupe.png) no-repeat;
529 background-color: white;
530 background-position: 97% 50%;
532 padding: 3px 16px 3px 3px;
533 -moz-border-radius: 0.5em;
534 -webkit-border-radius: 0.5em;
535 border-radius: 0.5em;
536 border: 2px solid #bbb;
545 border-top:thin solid dimgray;
546 border-left:thin solid dimgray;
547 border-bottom:thin dotted darkgrey;
548 border-right:thin dotted darkgrey;
557 /* a[href*="/recentchanges/"]
567 border-bottom: 1px solid #0a0;
570 text-decoration: none;
573 /* test inside and outside links */
574 #pagebody a[href^="http"] {
576 background: url(lib/link_out.gif) no-repeat right bottom;
579 #pagebody a[href^="http://localhost"],
580 #pagebody a[href^="http://tails.boum.org"],
581 #pagebody a[href^="https://tails.boum.org"],
582 #pagebody a[href^="http://dl.amnesia.boum.org"],
585 background-image: none;
589 #pagebody span.definition a {
595 #pagebody span.definition a:hover {
599 #pagebody span.definition a:after {
628 #comments .actions > ul {
636 /* Get in Touch with Us */
639 display: inline-block;
646 #homepage div.three-blocks {
650 div.three-blocks p, div.three-blocks ul, div.three-blocks form {
654 div.three-blocks img {
655 text-decoration: none;
663 display: inline-block;
668 .bullet-number-one, .bullet-number-two, .bullet-number-three,
669 .bullet-number-four, .bullet-number-five, .bullet-number-six,
670 .bullet-number-seven, .bullet-number-eight, .bullet-number-nine {
678 .bullet-number-one { background: url('lib/bullet/1.png') no-repeat top left; }
679 .bullet-number-two { background: url('lib/bullet/2.png') no-repeat top left; }
680 .bullet-number-three { background: url('lib/bullet/3.png') no-repeat top left; }
681 .bullet-number-four { background: url('lib/bullet/4.png') no-repeat top left; }
682 .bullet-number-five { background: url('lib/bullet/5.png') no-repeat top left; }
683 .bullet-number-six { background: url('lib/bullet/6.png') no-repeat top left; }
684 .bullet-number-seven { background: url('lib/bullet/7.png') no-repeat top left; }
685 .bullet-number-eight { background: url('lib/bullet/8.png') no-repeat top left; }
686 .bullet-number-nine { background: url('lib/bullet/9.png') no-repeat top left; }
687 .bullet-number-zero { background: url('lib/bullet/0.png') no-repeat top left; }
689 /* Download Buttons */
691 #pagebody a.download-file,
692 #pagebody a.download-signature,
693 #pagebody a.download-key {
695 font-family: "Source Sans Pro Regular", "DejaVu Sans", "Verdana", sans-serif;
697 -moz-box-shadow: 1px 1px 5px rgba(5, 5, 5, 0.2);
698 -webkit-box-shadow: 1px 1px 5px rgba(5, 5, 5, 0.2);
699 box-shadow: 1px 1px 5px rgba(5, 5, 5, 0.2);
700 -moz-border-radius: 0.5em;
701 -webkit-border-radius: 0.5em;
702 border-radius: 0.5em;
703 text-decoration: none;
705 padding: 0.5em 64px 0.5em 18px;
709 #pagebody a.download-file {
710 background: #0a0 url('lib/download-arrow.png') no-repeat scroll right center;
713 #pagebody a.download-signature {
714 background: #0a0 url('lib/download-signature.png') no-repeat scroll right center;
717 #pagebody a.download-key {
718 background: #0a0 url('lib/download-key.png') no-repeat scroll right center;
721 #pagebody p.checksum {
722 word-wrap: break-word;
728 #pagebody div.toggleable {
731 border-top: solid 5px black;
732 border-bottom: solid 5px black;
736 padding-bottom: 63px;
739 #pagebody div.toggleable span.hide a.toggle {
745 background: url('lib/close.png') no-repeat 15px 0px;
749 /* Hide revert button on recentchanges */
756 .pageheader .actions {
761 background:url(lib/tools-20.jpg) right no-repeat;
766 .pageheader .actions ul {
768 /* reduce the extra vertical space between title and body
769 margin-bottom: 1.385em; 13×1.385=18px
770 margin-top: -0.538em; 13×1.538=20px */
776 .pageheader .actions li {
784 .pageheader .actions li a {
786 text-decoration:none;
789 .pageheader .actions:hover {
792 .pageheader .actions:hover ul {
803 .pageheader .actions:hover ul li {
805 -moz-transition: all 0.3s ease-out;
806 -webkit-transition: all 0.3s ease-out;
807 -o-transition: all 0.3s ease-out;
808 transition: all 0.3s ease-out;
809 border-bottom:2px solid white;
812 .pageheader .actions:hover ul li:hover {
813 border-bottom:2px solid #451E6F;
814 text-decoration:none;
819 .pageheader .actions:hover ul li:hover a {
820 -moz-transition: all 0,5s ease-out;
821 -webkit-transition: all 0,5s ease-out;
822 -o-transition: all 0,5s ease-out;
823 transition: all 0,5s ease-out;
831 border-left:2px solid green;
832 -moz-transition:all 0.1s ease-out;
838 blockquote > p:hover {
842 #crumbs ul, #crumbs li {
843 list-style-type:none;
853 border-bottom:1px solid #DEDEDE;
870 #crumbs li:first-child img {
876 background:url(lib/crumbs.gif) no-repeat right center;
882 #crumbs li a:visited {
884 text-decoration:none;
893 /* Language Toolbar */
895 .pageheader #otherlanguages {
905 .pageheader #otherlanguages ul {
907 /* reduce the extra vertical space between title and body
908 margin-bottom: 1.385em; 13×1.385=18px
909 margin-top: -0.538em; 13×1.538=20px */
918 .pageheader #otherlanguages li {
926 .pageheader #otherlanguages li a {
928 text-decoration:none;
933 .pageheader #otherlanguages ul li {
935 text-decoration:none;
937 -moz-transition: all 0.3s ease-out;
938 -webkit-transition: all 0.3s ease-out;
939 -o-transition: all 0.3s ease-out;
940 transition: all 0.3s ease-out;
941 border-bottom:2px solid white;
946 .pageheader #otherlanguages ul li span {
949 .pageheader #otherlanguages ul li:hover, .pageheader #otherlanguages ul li.current{
950 border-bottom:2px solid green;
951 text-decoration:none;
956 .pageheader #otherlanguages ul li.master, .pageheader #otherlanguages ul li:hover.master {
961 .pageheader #otherlanguages ul li:hover a {
962 -moz-transition: all 0,5s ease-out;
963 -webkit-transition: all 0,5s ease-out;
964 -o-transition: all 0,5s ease-out;
965 transition: all 0,5s ease-out;
969 .current > .visible {
970 text-transform: none !important;
974 /* visible and hidden */
976 .pageheader #otherlanguages ul li span.visible {
978 text-transform:uppercase;
981 .pageheader #otherlanguages ul li span.hidden {
985 .pageheader #otherlanguages ul li:hover span.visible {
989 .pageheader #otherlanguages ul li:hover span.hidden {
996 margin-bottom: 1.5em;
1001 display: inline-block;
1007 display: inline-block;
1008 vertical-align: top;
1017 /* Documentation Styling */
1019 span.application { font-style: italic; }
1020 span.button { font-weight: bold; }
1022 font-family: "Courier";
1023 font-size: 1.143em; /* 14×1.143=16px */
1026 font-family: "Courier";
1027 font-size: 1.143em; /* 14×1.143=16px */
1028 border: 1px solid #E0E0DF;
1029 padding-left: 0.2em;
1030 padding-right: 0.2em;
1032 span.emphasis { font-style: italic; }
1033 span.filename { font-style: italic; display: inline-block; }
1034 span.guilabel { font-weight: bold; }
1035 span.guimenu { font-weight: bold; }
1036 span.guisubmenu { font-weight: bold; }
1037 span.guimenuitem { font-weight: bold; }
1038 span.keycap { font-weight: bold; }
1039 span.menuchoice { font-weight: bold; }
1040 span.replaceable { font-style: italic; }
1041 div.bug, div.caution, div.next, div.note, div.tip {
1042 background-color: #FFFFF0;
1043 border: 1px solid #E0E0DF;
1045 background-position: 6px 0.5em;
1046 background-repeat: no-repeat;
1049 margin: 0 0 1.5em 0;
1052 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 {
1053 display: table-cell;
1055 vertical-align: bottom;
1057 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 {
1061 background-image: url(lib/admon-bug.png);
1064 background-image: url(lib/admon-caution.png);
1067 background-image: url(lib/go-next.png);
1070 background-image: url(lib/admon-note.png);
1073 background-image: url(lib/admon-tip.png);
1080 border: solid 1px #bbb;
1081 margin-bottom: 1.5em;
1084 div.pageheader div.trail {
1088 div.trail span.trailup {
1092 div.trail span.trailarrow {
1096 div.trail span.trailprev, div.trail span.trailnext {
1101 div.trail span.trailprev {
1105 div.trail span.trailprev a {
1109 div.trail span.trailnext {
1113 div.trail span.trailnext a {
1114 margin-right: 0.5em;
1119 /* doc/get/trusting_tails_signing_key */
1125 /* "Are you using Tor?" link on /news */
1132 #tor_check a[href="https://check.torproject.org/"] {
1138 -moz-box-shadow: 1px 1px 5px rgba(5, 5, 5, 0.2);
1139 -webkit-box-shadow: 1px 1px 5px rgba(5, 5, 5, 0.2);
1140 box-shadow: 1px 1px 5px rgba(5, 5, 5, 0.2);
1141 -moz-border-radius: 0.5em;
1142 -webkit-border-radius: 0.5em;
1143 border-radius: 0.5em;
1157 font-family: "Century Gothic", "Avant Garde", Avenir, TeXGyreAdventorRegular, "Heiti SC", "Heiti TC", AppleGothic, sans-serif;
1158 font-weight: normal;
1165 /* Contribute section */
1171 div.contribute-roles-1 {
1172 display: inline-block;
1177 div.contribute-roles-3 div.contribute-role {
1181 div.contribute-role {
1182 display: inline-block;
1184 vertical-align: top;
1187 div.contribute-role p {
1191 div.contribute-role img {
1193 margin: 0 auto 0.5em;
1201 border: 5px solid #56347C;
1204 -moz-border-radius: 0.5em;
1205 -webkit-border-radius: 0.5em;
1206 border-radius: 0.5em;
1207 -moz-box-sizing: border-box;
1208 -o-box-sizing: border-box;
1209 -webkit-box-sizing: border-box;
1210 box-sizing: border-box;