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;
177 padding: 0 2em 2em 2em;
180 border :0px solid black;
181 -moz-box-shadow: 3px 3px 5px rgba(5, 5, 5, 0.2);
182 -webkit-box-shadow: 3px 3px 5px rgba(5, 5, 5, 0.2);
183 box-shadow: 3px 3px 5px rgba(5, 5, 5, 0.2);
185 background: rgba(255, 255, 255, 1.00);
188 .pageheader .actions ul {
193 .pageheader .actions li {
205 .pageheader .actions {
211 font-size: 1em; /* override style.css */
216 background: #56347c url(lib/banner.png) no-repeat;
217 -moz-box-shadow: 3px 3px 5px rgba(5, 5, 5, 0.2);
218 -webkit-box-shadow: 3px 3px 5px rgba(5, 5, 5, 0.2);
219 box-shadow: 3px 3px 5px rgba(5, 5, 5, 0.2);
224 border: 0px solid black;
233 .banner .tails span {
238 font-size: 2.5em; /* 14×2.5=35px */
239 line-height: 1.2; /* 35×1.2=42px=2λ */
242 margin: 1.5em 0 0.6em 0; /* 35x0.6=21px=λ */
244 border-left: 10px solid #444444;
250 font-size: 1.231em; /* 13×1.231=16px */
251 margin-top: 0.625em; /* 16×0.625=10px */
255 height: 1em; /* always take up 1em even if empty */
259 #homepage #news, #homepage #security,
260 #page-found_a_problem #bugs, #page-found_a_problem #wishlist,
261 #page-download #bittorrent, #page-download #http {
262 display: inline-block;
267 #page-download #bittorrent, #page-download #http {
272 #page-found_a_problem #bugs,
281 font-family: "Source Sans Pro Regular", "DejaVu Sans", "Verdana", sans-serif;
291 .sidebar .button a, .sidebar .button .selflink, .sidebar .links {
295 -moz-box-shadow: 1px 1px 5px rgba(5, 5, 5, 0.2);
296 -webkit-box-shadow: 1px 1px 5px rgba(5, 5, 5, 0.2);
297 box-shadow: 1px 1px 5px rgba(5, 5, 5, 0.2);
298 -moz-border-radius: 0.5em;
299 -webkit-border-radius: 0.5em;
300 border-radius: 0.5em;
301 -moz-box-sizing: border-box;
302 -o-box-sizing: border-box;
303 -webkit-box-sizing: border-box;
304 box-sizing: border-box;
307 .sidebar .button a, .sidebar .button .selflink {
308 text-decoration: none;
314 background-color: #0a0;
317 .sidebar .button a:hover, .sidebar .button .selflink {
318 background-color: #56347c;
321 .sidebar .download a {
322 background: #0a0 url('lib/download-arrow.png') no-repeat scroll right 30%;
325 .sidebar .download a span, .sidebar .download span.selflink span {
330 .sidebar .download .download {
331 font-size: 1.571em; /* 14×1.571=22px */
334 .sidebar .download .tails {
335 font-size: 2.286em; /* 14×2.286=32px */
339 .sidebar .download .date {
340 font-size: 1.143em; /* 14×1.143=16px */
345 border:1px solid #DDDDDD;
349 .sidebar .links .selflink {
350 border-left: 2px solid black;
361 .sidebar .links li a, .sidebar .links li .selflink {
362 font-size: 1.429em; /* 14×1.429=20px */
364 padding: 0.25em 0.7em; /* 5px 14px */
365 border-top: 1px #ddd solid;
366 text-decoration: none;
367 letter-spacing: 0.05em;
370 .sidebar .links li a:hover {
372 border-left: 2px solid #0a0;
373 padding: 0.25em 0.7em; /* 5px 14px */
374 padding-left: 0.6em; /* 20×0.6=12px=padding-border */
377 .sidebar .links li:first-child a {
381 .sidebar .links li:first-child a:hover {
382 border-left: 2px solid #0a0;
385 .sidebar .links li:first-child .selflink {
386 border-left: 2px solid black;
392 .sidebar .donate a, .sidebar .donate .selflink {
393 background: #0a0 url('lib/donate.png') no-repeat scroll 10px 50%;
394 font-size: 1.857em; /* 14×1.857=26px */
403 text-decoration: none;
411 #news h1, #security h1, #doc h1, #found_a_problem h1, #talk h1, #bugs h1, #wishlist h1, #design h1, #other h1, #tools h1 {
414 background-color:none;
417 border-radius: 0.2em;
428 background-color: #eee;
429 border: thin solid #ccc;
431 margin: 1.5em 1em 1.5em 1.5em;
432 padding: 0.25em 0.5em;
439 .inlinepage .inlineheader .header {
501 .forum-post-numcomments, .forum-post-updated, .forum-post-published {
505 .forum-post-title, .forum-post-numcomments, .forum-post-updated {
506 border-right: 1px solid #AAAAAA;
509 .forum-posts td, .forum-posts td:first-child, .forum-posts td:last-child {
519 #pagebody .blogform > a.feedbutton {
523 .blogform > input[name="title"] {
527 .blogform > input[type="submit"] {
538 list-style-type: decimal;
542 background: url(lib/loupe.png) no-repeat;
543 background-color: white;
544 background-position: 97% 50%;
546 padding: 3px 16px 3px 3px;
547 -moz-border-radius: 0.5em;
548 -webkit-border-radius: 0.5em;
549 border-radius: 0.5em;
550 border: 2px solid #bbb;
559 border-top:thin solid dimgray;
560 border-left:thin solid dimgray;
561 border-bottom:thin dotted darkgrey;
562 border-right:thin dotted darkgrey;
571 /* a[href*="/recentchanges/"]
581 border-bottom: 1px solid #0a0;
584 text-decoration: none;
587 /* test inside and outside links */
588 #pagebody a[href^="http"] {
590 background: url(lib/link_out.gif) no-repeat right bottom;
593 #pagebody a[href^="http://localhost"],
594 #pagebody a[href^="http://tails.boum.org"],
595 #pagebody a[href^="https://tails.boum.org"],
596 #pagebody a[href^="http://dl.amnesia.boum.org"] {
597 background-image: none;
601 #pagebody span.definition a {
607 #pagebody span.definition a:hover {
611 #pagebody span.definition a:after {
640 #comments .actions > ul {
648 /* Get in Touch with Us */
651 display: inline-block;
658 #homepage div.three-blocks {
662 div.three-blocks p, div.three-blocks ul, div.three-blocks form {
666 div.three-blocks img {
667 text-decoration: none;
675 display: inline-block;
680 .bullet-number-one, .bullet-number-two, .bullet-number-three,
681 .bullet-number-four, .bullet-number-five, .bullet-number-six,
682 .bullet-number-seven, .bullet-number-eight, .bullet-number-nine {
690 .bullet-number-one { background: url('lib/bullet/1.png') no-repeat top left; }
691 .bullet-number-two { background: url('lib/bullet/2.png') no-repeat top left; }
692 .bullet-number-three { background: url('lib/bullet/3.png') no-repeat top left; }
693 .bullet-number-four { background: url('lib/bullet/4.png') no-repeat top left; }
694 .bullet-number-five { background: url('lib/bullet/5.png') no-repeat top left; }
695 .bullet-number-six { background: url('lib/bullet/6.png') no-repeat top left; }
696 .bullet-number-seven { background: url('lib/bullet/7.png') no-repeat top left; }
697 .bullet-number-eight { background: url('lib/bullet/8.png') no-repeat top left; }
698 .bullet-number-nine { background: url('lib/bullet/9.png') no-repeat top left; }
699 .bullet-number-zero { background: url('lib/bullet/0.png') no-repeat top left; }
701 /* Download Buttons */
703 #pagebody a.download-file,
704 #pagebody a.download-signature,
705 #pagebody a.download-key {
707 font-family: "Source Sans Pro Regular", "DejaVu Sans", "Verdana", sans-serif;
709 -moz-box-shadow: 1px 1px 5px rgba(5, 5, 5, 0.2);
710 -webkit-box-shadow: 1px 1px 5px rgba(5, 5, 5, 0.2);
711 box-shadow: 1px 1px 5px rgba(5, 5, 5, 0.2);
712 -moz-border-radius: 0.5em;
713 -webkit-border-radius: 0.5em;
714 border-radius: 0.5em;
715 text-decoration: none;
717 padding: 0.5em 64px 0.5em 18px;
721 #pagebody a.download-file {
722 background: #0a0 url('lib/download-arrow.png') no-repeat scroll right center;
725 #pagebody a.download-signature {
726 background: #0a0 url('lib/download-signature.png') no-repeat scroll right center;
729 #pagebody a.download-key {
730 background: #0a0 url('lib/download-key.png') no-repeat scroll right center;
733 #pagebody p.checksum {
734 word-wrap: break-word;
740 #pagebody div.toggleable {
743 border-top: solid 5px black;
744 border-bottom: solid 5px black;
748 padding-bottom: 63px;
751 #pagebody div.toggleable span.hide a.toggle {
757 background: url('lib/close.png') no-repeat 15px 0px;
761 /* Hide revert button on recentchanges */
768 .pageheader .actions {
773 background:url(lib/tools-20.jpg) right no-repeat;
778 .pageheader .actions ul {
780 /* reduce the extra vertical space between title and body
781 margin-bottom: 1.385em; 13×1.385=18px
782 margin-top: -0.538em; 13×1.538=20px */
788 .pageheader .actions li {
796 .pageheader .actions li a {
798 text-decoration:none;
801 .pageheader .actions:hover {
804 .pageheader .actions:hover ul {
815 .pageheader .actions:hover ul li {
817 -moz-transition: all 0.3s ease-out;
818 -webkit-transition: all 0.3s ease-out;
819 -o-transition: all 0.3s ease-out;
820 transition: all 0.3s ease-out;
821 border-bottom:2px solid white;
824 .pageheader .actions:hover ul li:hover {
825 border-bottom:2px solid #451E6F;
826 text-decoration:none;
831 .pageheader .actions:hover ul li:hover a {
832 -moz-transition: all 0,5s ease-out;
833 -webkit-transition: all 0,5s ease-out;
834 -o-transition: all 0,5s ease-out;
835 transition: all 0,5s ease-out;
843 border-left:2px solid green;
844 -moz-transition:all 0.1s ease-out;
850 blockquote > p:hover {
854 #crumbs ul, #crumbs li {
855 list-style-type:none;
865 border-bottom:1px solid #DEDEDE;
882 #crumbs li:first-child img {
888 background:url(lib/crumbs.gif) no-repeat right center;
894 #crumbs li a:visited {
896 text-decoration:none;
905 /* Language Toolbar */
907 .pageheader #otherlanguages {
917 .pageheader #otherlanguages ul {
919 /* reduce the extra vertical space between title and body
920 margin-bottom: 1.385em; 13×1.385=18px
921 margin-top: -0.538em; 13×1.538=20px */
930 .pageheader #otherlanguages li {
938 .pageheader #otherlanguages li a {
940 text-decoration:none;
945 .pageheader #otherlanguages ul li {
947 text-decoration:none;
949 -moz-transition: all 0.3s ease-out;
950 -webkit-transition: all 0.3s ease-out;
951 -o-transition: all 0.3s ease-out;
952 transition: all 0.3s ease-out;
953 border-bottom:2px solid white;
958 .pageheader #otherlanguages ul li span {
961 .pageheader #otherlanguages ul li:hover, .pageheader #otherlanguages ul li.current{
962 border-bottom:2px solid green;
963 text-decoration:none;
968 .pageheader #otherlanguages ul li.master, .pageheader #otherlanguages ul li:hover.master {
973 .pageheader #otherlanguages ul li:hover a {
974 -moz-transition: all 0,5s ease-out;
975 -webkit-transition: all 0,5s ease-out;
976 -o-transition: all 0,5s ease-out;
977 transition: all 0,5s ease-out;
981 .current > .visible {
982 text-transform: none !important;
986 /* visible and hidden */
988 .pageheader #otherlanguages ul li span.visible {
990 text-transform:uppercase;
993 .pageheader #otherlanguages ul li span.hidden {
997 .pageheader #otherlanguages ul li:hover span.visible {
1001 .pageheader #otherlanguages ul li:hover span.hidden {
1008 margin-bottom: 1.5em;
1013 display: inline-block;
1019 display: inline-block;
1020 vertical-align: top;
1029 /* Documentation Styling */
1031 span.application { font-style: italic; }
1032 span.button { font-weight: bold; }
1034 font-family: "Courier";
1035 font-size: 1.143em; /* 14×1.143=16px */
1038 font-family: "Courier";
1039 font-size: 1.143em; /* 14×1.143=16px */
1040 border: 1px solid #E0E0DF;
1041 padding-left: 0.2em;
1042 padding-right: 0.2em;
1044 span.emphasis { font-style: italic; }
1045 span.filename { font-style: italic; display: inline-block; }
1046 span.guilabel { font-weight: bold; }
1047 span.guimenu { font-weight: bold; }
1048 span.guisubmenu { font-weight: bold; }
1049 span.guimenuitem { font-weight: bold; }
1050 span.keycap { font-weight: bold; }
1051 span.menuchoice { font-weight: bold; }
1052 span.replaceable { font-style: italic; }
1053 div.bug, div.caution, div.next, div.note, div.tip {
1054 background-color: #FFFFF0;
1055 border: 1px solid #E0E0DF;
1057 background-position: 6px 0.5em;
1058 background-repeat: no-repeat;
1061 margin: 0 0 1.5em 0;
1064 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 {
1065 display: table-cell;
1067 vertical-align: bottom;
1069 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 {
1073 background-image: url(lib/admon-bug.png);
1076 background-image: url(lib/admon-caution.png);
1079 background-image: url(lib/go-next.png);
1082 background-image: url(lib/admon-note.png);
1085 background-image: url(lib/admon-tip.png);
1092 border: solid 1px #bbb;
1093 margin-bottom: 1.5em;
1096 div.pageheader div.trail {
1100 div.trail span.trailup {
1104 div.trail span.trailarrow {
1108 div.trail span.trailprev, div.trail span.trailnext {
1113 div.trail span.trailprev {
1117 div.trail span.trailprev a {
1121 div.trail span.trailnext {
1125 div.trail span.trailnext a {
1126 margin-right: 0.5em;
1131 /* doc/get/trusting_tails_signing_key */
1137 /* "Are you using Tor?" link on /news */
1144 #tor_check a[href="https://check.torproject.org/"] {
1150 -moz-box-shadow: 1px 1px 5px rgba(5, 5, 5, 0.2);
1151 -webkit-box-shadow: 1px 1px 5px rgba(5, 5, 5, 0.2);
1152 box-shadow: 1px 1px 5px rgba(5, 5, 5, 0.2);
1153 -moz-border-radius: 0.5em;
1154 -webkit-border-radius: 0.5em;
1155 border-radius: 0.5em;
1169 font-family: "Century Gothic", "Avant Garde", Avenir, TeXGyreAdventorRegular, "Heiti SC", "Heiti TC", AppleGothic, sans-serif;
1170 font-weight: normal;
1177 /* Contribute section */
1183 div.contribute-roles-1 {
1184 display: inline-block;
1189 div.contribute-roles-3 div.contribute-role {
1193 div.contribute-role {
1194 display: inline-block;
1196 vertical-align: top;
1199 div.contribute-role p {
1203 div.contribute-role img {
1205 margin: 0 auto 0.5em;