2 Tails custom colors: see tails_ticket#14836
3 dark purple: #3a2354 hsl(268,58,33)
4 medium purple (logo): #56347c hsl(268,58,49)
5 light purple: #9f73d2 hsl(269,45,82)
6 dark green: #276426 hsl(119,62,39)
7 medium dark green (links): #3b833a hsl(119,98,94) // Passes WebAIM contrast check for small text on white background
8 medium light green (buttons): #53b351 hsl(119,55,70)
9 light green: #73d171 hsl(119,46,82)
12 Some text sizing use ems with decimals to calculate round pixel numbers by
13 default, when the user does not resize the text.
14 See: http://www.alistapart.com/articles/howtosizetextincss/
28 - Search box and Donate button
43 - Documentation styling
44 - Code, preformatted text, and command lines
48 - Donate buttons outside of sidebar
53 /* Load RTL stylesheet */
54 @import url
("local.rtl.css");
56 /* Load stylesheet for donation campaign */
57 @import url
("donate/banner.css");
61 @font-face { font-family: "Source Sans Pro Regular"; src: url
("lib/SourceSansPro-Regular.ttf"); }
62 @font-face { font-family: "Source Code Pro Regular"; src: url
("lib/SourceCodePro-Regular.ttf"); }
66 /* Include padding and border in width calculations (like Bootstrap does) */
71 box-sizing: border-box
;
75 font-size: 16px !important
;
79 font-family: "DejaVu Sans", "Verdana", sans-serif
;
81 background: url
(lib/strip.png);
86 /* Basic typography */
87 /* This section implements the ideas of typographic scale and rythm as
88 * explained on http://lamb.cc/typograph/. */
90 /* Set the main font-size to 14px.
91 * Set the main line-height, λ to 21px.
92 * All this section is calculated so that each element measures in height a
93 * multiple of λ. This allows, for exemple, to keep parallel threads of text
94 * in a same vertical rythm. */
96 font-size: 87.5%; /* 16×87.5%=14px */
97 line-height: 1.5em; /* 14×1.5=21px=λ */
100 /* The bottom margin of all elements is fixed to a multiple of λ so that they
101 * don't brake the rythm when they overlap. We set all top margin to 0. */
103 margin: 0 0 1.5em 0; /* 14×1.5=21px=λ */
107 font-family: "Source Sans Pro Regular", "DejaVu Sans", "Verdana", sans-serif
;
111 /* The size h1, h2 and h3 follows a traditional scale of 1, 1.5 and 2.
112 Their line-height are adjusted to a multiple of λ. */
115 font-size: 2em; /* 14×2=28px */
121 font-size: 1.5em; /* 14×1.5=21px */
123 margin: 1em 0 1em 0; /* 21×1=21px=λ */
127 font-size: 1.071em; /* 14×1.071=15px */
128 text-transform: uppercase
;
129 letter-spacing: 0.067em; /* 15×0.067=1px */
130 margin: 0.7em 0 0.7em 0; /* 15×1.4=21px=λ */
133 /* avoid super-long lines */
135 p
, ul
, ol
, h1
, h2
, h3
, h4
, h5
, h6
{
145 margin-bottom: 0.5em;
148 code
, kbd
, samp
, pre
, tt
, var
, p
.pre
, p
.code
{
149 font-family: "Source Code Pro Regular", "Courier", monospace
;
150 font-size: 1em; /* 14px */
152 pre code
{ font-size: 1em; } /* ikiwiki adds <code> tags inside <pre> */
163 .remove-extra-space {
167 .remove-extra-space-right {
168 margin: 0 -0.2em 0 0;
194 border-top:thin solid dimgray
;
195 border-left:thin solid dimgray
;
196 border-bottom:thin dotted darkgrey
;
197 border-right:thin dotted darkgrey
;
207 display: inline-block
;
211 border-left:2px solid
#53b351;
216 blockquote
> p:hover
{
220 /* Hide revert button on recentchanges */
229 border-collapse: collapse
;
237 border: 1px solid black
;
254 background: url
(lib/check.png) no-repeat
10px 8px;
258 background: url
(lib/cross.png) no-repeat
10px 6px;
263 img
.img
{ /* overwrite style.css */
267 img
.top-margin
{ /* overwrite style.css */
272 img
.right-margin
{ /* overwrite style.css */
276 /* Images with caption */
278 table
.img
, table
.img td
{
282 table
.img caption
, .image
.caption
{
301 input
[type
="checkbox"], input
[type
="radio"] {
302 margin-right: 5px !important
;
303 vertical-align: bottom
;
312 padding: 0 2em 2em 2em;
315 border :0px solid black
;
316 box-shadow: 3px 3px 5px #ccc;
320 div
.header
{ /* override style.css */
329 background: #56347c url
(lib/logo.svg) no-repeat
30px 10px;
330 box-shadow: 3px 3px 5px #ccc;
331 padding-bottom: 10px;
347 /* Search box and Donate button */
351 flex-direction: column
;
352 justify-content: space-between
;
357 margin: 10px auto
0 auto
;
362 background: white url
(lib/loupe.png) no-repeat
;
363 background-position: 97% 50%;
364 padding: 3px 16px 3px 3px;
365 border-radius: 0.5em;
366 border: 2px solid
#bbb;
371 #searchform input::placeholder
{
372 text-transform: capitalize
;
381 color: black
!important
;
384 border-radius: 0.5em;
387 justify-content: center
;
388 box-shadow: 1px 1px 1px #170036, 1px 1px 4px #280a4d, inset
1px 1px 1px #a8ffa0;
393 margin: 10px auto
0 auto
;
397 background: url
(lib/heart.svg) no-repeat top
50% left
0 !important
;
402 @media (min-width: 360px) {
405 margin: 10px 30px 0 30px;
407 #searchform, .donate
{
412 @media (min-width: 550px) {
414 flex-direction: column
;
415 justify-content: space-evenly
;
422 #searchform, .donate a
{
425 #searchform input
, .donate a
{
430 /* Hide all translations of the Donate button by default */
440 /* Hide the English button for all other languages
442 This way, the English button is still displayed when the PO plugin is
443 disabled. This is useful for development.
450 body
.pt
.donate
.en
{
454 /* Show the button corresponding to the current language */
460 body
.pt
.donate
.pt
{
461 display: flex
!important
;
471 border-bottom: 1px solid
#eee;
480 display: inline-block
;
483 .topbar a, .topbar .selflink {
487 font-family: "Source Sans Pro Regular", "DejaVu Sans", "Verdana", sans-serif
;
490 border-bottom: 5px solid white
;
498 text-decoration: none
;
499 border-bottom: 5px solid
#73d171 !important
;
503 border-bottom: 5px solid
#276426;
506 @media (min-width: 810px) {
507 .topbar a, .topbar .selflink {
516 .pageheader .actions {
521 background:url
(lib
/tools-20
.jpg
) right no-repeat
;
525 .pageheader .actions ul {
535 .pageheader .actions:hover ul {
539 .pageheader .actions li {
540 display:inline-block
;
541 padding: 5px 4px 4px;
545 .pageheader .actions li a {
547 text-decoration:none
;
550 .pageheader .actions:hover ul {
556 .pageheader .actions:hover ul li {
558 transition: all
0.3s ease-out
;
561 .pageheader .actions:hover ul li:hover {
562 border-bottom:2px solid
#451e6f;
563 text-decoration:none
;
568 .pageheader .actions:hover ul li:hover a {
569 transition: all
0.5s ease-out
;
575 #crumbs ul
, #crumbs li
{
576 list-style-type:none
;
582 border-bottom:1px solid
#dedede;
596 display: inline-block
;
602 #crumbs li:first-child img
{
609 background:url
(lib/crumbs.gif) no-repeat right center
;
615 #crumbs li
a:visited
{
617 text-decoration:none
;
626 .pageheader #otherlanguages {
633 .pageheader #otherlanguages ul {
641 .pageheader #otherlanguages li {
649 .pageheader #otherlanguages li a {
651 text-decoration:none
;
654 .pageheader #otherlanguages ul li {
656 text-decoration:none
;
658 transition: all
0.3s ease-out
;
659 border-bottom:1px solid white
;
662 .pageheader #otherlanguages ul li:hover, .pageheader #otherlanguages ul li.current{
663 border-bottom:2px solid green
;
664 text-decoration:none
;
668 .pageheader #otherlanguages ul li.master, .pageheader #otherlanguages ul li:hover.master {
672 .pageheader #otherlanguages ul li:hover a {
673 transition: all
0.5s ease-out
;
677 .current > .visible {
678 text-transform: none
!important
;
681 .pageheader #otherlanguages ul li span.visible {
682 display:inline
!important
;
683 text-transform:uppercase
;
686 .pageheader #otherlanguages ul li span.hidden {
687 display:none
!important
;
690 .pageheader #otherlanguages ul li:hover span.visible {
691 display:none
!important
;
694 .pageheader #otherlanguages ul li:hover span.hidden {
695 display:inline
!important
;
701 font-family: "Source Sans Pro Regular", "DejaVu Sans", "Verdana", sans-serif
;
706 border-left: 10px solid
#444444;
711 div
.header span
.date
{
725 border: solid
1px #bbb;
726 margin-bottom: 1.5em;
729 div
.trail span
.trailup
{
733 div
.trail
.trailprev
, div
.trail
.trailnext
{
737 div
.trail
.trailprev
{
741 div
.trail
.trailnext
{
749 text-decoration: none
;
754 border-bottom: 1px solid
#3b833a;
758 text-decoration: none
;
761 #pagebody a:visited
{
763 border-color: #276426;
766 /* test inside and outside links */
767 #pagebody a
[href^
="http"] {
769 background: url
(lib/link_out.gif) no-repeat right bottom
;
772 #pagebody a
[href^
="http://localhost"],
773 #pagebody a
[href^
="http://tails.boum.org"],
774 #pagebody a
[href^
="https://tails.boum.org"],
775 #pagebody a
[href^
="http://dl.amnesia.boum.org"],
776 #pagebody a
[href^
="https://dl.amnesia.boum.org"],
778 #pagebody a
.use-mirror-pool
{
779 background-image: none
;
789 #talk h1
, #bugs h1
, #wishlist h1
, #tools h1
{
793 border-bottom: 5px solid
#56347c;
796 #talk h1
{ width: 90%; }
804 .inlinepage .inlineheader .header {
809 margin-bottom: 0.5em;
845 display: inline-block
;
856 div
.blocks p
, div
.blocks ul
, div
.blocks h1
, div
.blocks div
{
861 text-decoration: none
;
868 /* Calls for action */
876 background: #53b351 !important
;
877 color: black
!important
;
880 border-radius: 0.5em;
884 box-shadow: 2px 2px 2px #777, 2px 2px 10px #bbb, inset
2px 2px 2px #a8ffa0;
890 #pagebody div
.toggleable
{
893 border-top: solid
5px black
;
894 border-bottom: solid
5px black
;
899 #pagebody div
.toggleable span
.hide a
.toggle
{
905 background: url
('lib/close.png') no-repeat
15px 0px;
912 margin-bottom: 1.5em;
917 display: inline-block
;
923 display: inline-block
;
928 /* Documentation styling */
930 span
.application
{ font-style: italic
; }
931 span
.button
{ font-weight: bold
; }
932 span
.code
, span
.command
{
933 font-family: "Source Code Pro Regular", "Courier", monospace
;
934 font-size: 1.071em; /* 14×1.071=15px */
935 border: 1px solid
#E0E0DF;
937 padding-right: 0.2em;
939 span
.emphasis
{ font-style: italic
; }
940 span
.filename
{ font-style: italic
; display: inline-block
; }
941 span
.guilabel
{ font-weight: bold
; }
942 span
.guimenu
{ font-weight: bold
; }
943 span
.guisubmenu
{ font-weight: bold
; }
944 span
.guimenuitem
{ font-weight: bold
; }
945 span
.keycap
{ font-weight: bold
; }
946 span
.menuchoice
{ font-weight: bold
; }
947 span
.replaceable
{ font-style: italic
; }
948 div
.bug
, div
.caution
, div
.next
, div
.note
, div
.tip
, div
.trophy
{
949 background-color: #FFFFF0;
950 border: 1px solid
#E0E0DF;
952 padding: 1.5em 6px 0em;
953 background-position: 6px 0.5em;
954 background-repeat: no-repeat
;
961 background-image: url
(lib
/admon-bug
.png
);
964 background-image: url
(lib
/dialog-warning
.png
);
967 background-image: url
(lib
/go-next
.png
);
970 background-image: url
(lib
/admon-note
.png
);
973 background-image: url
(lib
/admon-tip
.png
);
976 background-image: url
(lib
/trophy-gold
.png
);
979 div
.bug pre
, div
.caution pre
, div
.next pre
, div
.note pre
, div
.tip pre
, div
.trophy pre
{
983 div
.bug
> *:first-child
, div
.caution
> *:first-child
, div
.next
> *:first-child
, div
.note
> *:first-child
, div
.tip
> *:first-child
, div
.trophy
> *:first-child
{
987 div
.bug
> *:last-child
, div
.caution
> *:last-child
, div
.next
> *:last-child
, div
.note
> *:last-child
, div
.tip
> *:last-child
, div
.trophy
> *:last-child
{
988 margin-bottom: 1.5em;
991 /* Code, preformatted text, and command lines */
999 background-color: #eee;
1000 border: thin solid
#ccc;
1002 margin: 1.5em 1em 1.5em 1.5em;
1003 padding: 0.25em 0.5em;
1009 p
.command-example
, p
.command-output
{
1011 -webkit-user-select: none
;
1012 -moz-user-select: none
;
1013 -ms-user-select: none
;
1017 span
.command-placeholder
{
1026 display: inline-block
;
1031 /* Contribute section */
1033 div
.contribute-roles-1
{
1034 display: inline-block
;
1039 div
.contribute-roles-3 div
.contribute-role
{
1043 div
.contribute-role
{
1044 display: inline-block
;
1046 vertical-align: top
;
1049 div
.contribute-role p
{
1053 div
.contribute-role img
{
1055 margin: 0 auto
0.5em;
1063 border: 5px solid
#56347c;
1066 border-radius: 0.5em;
1072 /* Donate buttons outside of sidebar */
1075 border-bottom: none
;
1078 box-shadow: 1px 1px 5px #ccc;
1079 border-radius: 0.5em;
1081 background: #53b351 url
('lib/donate.png') no-repeat scroll
10px 50% !important
;
1085 font-weight: normal
;
1086 color: black
!important
;
1092 display: flex
!important
;
1093 flex-direction: column
;
1096 @media (min-width: 640px) {
1098 flex-direction: row
;
1102 .chart-content, .chart-key {
1105 padding-right: 15px;
1109 .chart-content svg {
1119 .chart-key-list li {
1126 .chart-key-list li div {
1127 display: inline-block
;
1130 .chart-key-list li p {
1136 display: inline-block
;
1137 vertical-align: top
;
1150 .key-label, .key-percent {
1154 /* Accessible color palette */
1156 .blue .key-label:before { background-color: #5da5da; }
1157 .orange .key-label:before { background-color: #faa43a; }
1158 .green .key-label:before { background-color: #60bd68; }
1159 .pink .key-label:before { background-color: #f17cb0; }
1160 .brown .key-label:before { background-color: #b2912f; }
1161 .purple .key-label:before { background-color: #b276b2; }
1162 .yellow .key-label:before { background-color: #decf3f; }
1164 /* Tails color palette */
1166 .purple-1 .key-label:before { background-color: #7a478b; }
1167 .purple-2 .key-label:before { background-color: #9c6bad; }
1168 .purple-3 .key-label:before { background-color: #af97c7; }
1169 .green .key-label:before { background-color: #53b351; }
1170 .gray .key-label:before { background-color: #dadbdc; }