Calendar: add FT sprint
[tails/test.git] / wiki / src / local.css
blobc16c33486587a276e4c67c36593bbdb1e7e10134
1 /*
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)
11 Tails font style:
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/
18 Table of Content:
20 - Fonts
21 - Base
22 - Basic Typography
23 - Tables
24 - Images
25 - Forms
26 - Layout
27 - Banner
28 - Search box and Donate button
29 - Top bar
30 - Actions menu
31 - Breadcrumbs
32 - Languages
33 - Page title
34 - Trail
35 - Links
36 - Support page
37 - News
38 - Columns
39 - Calls for action
40 - Download buttons
41 - Toggleable
42 - Icons
43 - Documentation styling
44 - Code, preformatted text, and command lines
45 - Inlined icons
46 - Contribute section
47 - Highlight
48 - Donate buttons outside of sidebar
49 - Charts
53 /* Load RTL stylesheet */
54 @import url("local.rtl.css");
56 /* Load stylesheet for donation campaign */
57 @import url("donate/banner.css");
59 /* Fonts */
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"); }
64 /* Base */
66 /* Include padding and border in width calculations (like Bootstrap does) */
69 *:before,
70 *:after {
71 box-sizing: border-box;
74 html {
75 font-size: 16px !important;
78 body {
79 font-family: "DejaVu Sans", "Verdana", sans-serif;
80 color: black;
81 background: url(lib/strip.png);
82 margin: 0;
83 padding: 0;
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. */
95 body {
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=λ */
106 h1, h2, h3 {
107 font-family: "Source Sans Pro Regular", "DejaVu Sans", "Verdana", sans-serif;
108 font-weight: normal;
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 λ. */
114 h1 {
115 font-size: 2em; /* 14×2=28px */
116 line-height: 1em;
117 margin: 1.5em 0 1em;
120 h2 {
121 font-size: 1.5em; /* 14×1.5=21px */
122 line-height: 1em;
123 margin: 1em 0 1em 0; /* 21×1=21px=λ */
126 h3 {
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 */
134 .donate-button,
135 p, ul, ol, h1, h2, h3, h4, h5, h6 {
136 max-width: 45em;
139 blockquote {
140 max-width: 42em;
143 li>p {
144 margin-top: 1em;
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> */
154 p+p, table+p {
155 margin-top: 18px;
158 ol, ul {
159 padding: 0;
160 margin-left: 1.5em;
163 .remove-extra-space {
164 margin: 0 -0.2em;
167 .remove-extra-space-right {
168 margin: 0 -0.2em 0 0;
171 .clearfix {
172 clear: both;
173 display: block;
174 width: 100%;
177 #footer {
178 padding-top: 36px;
181 #pageinfo {
182 border-top: 0;
185 div#feedlink {
186 margin-top: 18px;
189 div.recentchanges {
190 margin-top: 0;
193 .toc {
194 border-top:thin solid dimgray;
195 border-left:thin solid dimgray;
196 border-bottom:thin dotted darkgrey;
197 border-right:thin dotted darkgrey;
198 float:none;
199 margin:1em 0;
200 max-width: 38em;
201 padding:0 1em 0 1em;
204 p.center {
205 margin: 0 center;
206 margin-top: 1em;
207 display: inline-block;
210 blockquote > p {
211 border-left:2px solid #53b351;
212 padding-left:5px;
213 background:#f5f5f5;
216 blockquote > p:hover {
217 background:#eeeeee;
220 /* Hide revert button on recentchanges */
221 span.revert {
222 display: none;
225 /* Tables */
227 table {
228 margin: 1.5em 0;
229 border-collapse: collapse;
232 th.w30 {
233 width: 30%;
236 th, td {
237 border: 1px solid black;
238 padding: 0.5em 1em;
241 th {
242 background: #9f73d2;
245 tr:nth-child(odd) {
246 background: #eee;
249 td.check, td.cross {
250 padding-left: 42px;
253 td.check {
254 background: url(lib/check.png) no-repeat 10px 8px;
257 td.cross {
258 background: url(lib/cross.png) no-repeat 10px 6px;
261 /* Images */
263 img.img { /* overwrite style.css */
264 margin: 0em;
267 img.top-margin { /* overwrite style.css */
268 margin-top: 2em;
269 margin-bottom: 2em;
272 img.right-margin { /* overwrite style.css */
273 margin-right: 4em;
276 /* Images with caption */
278 table.img, table.img td {
279 border: none;
282 table.img caption, .image .caption {
283 font-size: 90%;
284 font-style: italic;
285 color: #58595b;
286 margin: 1em 0;
287 max-width: 100%;
290 .image {
291 text-align: center;
294 /* Forms */
296 label {
297 display: block;
298 margin-bottom: 0;
301 input[type="checkbox"], input[type="radio"] {
302 margin-right: 5px !important;
303 vertical-align: bottom;
304 position: relative;
305 top: -4px;
308 /* Layout */
310 .page {
311 margin:0 auto;
312 padding: 0 2em 2em 2em;
313 max-width:986px;
314 position:relative;
315 border :0px solid black;
316 box-shadow: 3px 3px 5px #ccc;
317 background: white;
320 div.header { /* override style.css */
321 font-size: 1em;
322 font-weight: normal;
323 padding: 30px 0;
326 /* Banner */
328 .banner {
329 background: #56347c url(lib/logo.svg) no-repeat 30px 10px;
330 box-shadow: 3px 3px 5px #ccc;
331 padding-bottom: 10px;
332 margin: 0 auto;
333 max-width: 986px;
334 border: none;
335 position: relative;
338 .banner a span {
339 display: none;
342 .banner .tails {
343 display: block;
344 height: 110px;
347 /* Search box and Donate button */
349 #search-and-donate {
350 display: flex;
351 flex-direction: column;
352 justify-content: space-between;
355 #searchform {
356 position: relative;
357 margin: 10px auto 0 auto;
358 width: 150px;
361 #searchform input {
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;
367 font-size: 13px;
368 text-align: center;
371 #searchform input::placeholder {
372 text-transform: capitalize;
375 #searchbox {
376 width: 100%;
379 .donate a {
380 background: #53b351;
381 color: black !important;
382 font-size: 13px;
383 font-weight: bold;
384 border-radius: 0.5em;
385 padding: 0.2em;
386 display: flex;
387 justify-content: center;
388 box-shadow: 1px 1px 1px #170036, 1px 1px 4px #280a4d, inset 1px 1px 1px #a8ffa0;
389 width: 150px;
392 .donate {
393 margin: 10px auto 0 auto;
396 .donate a span {
397 background: url(lib/heart.svg) no-repeat top 50% left 0 !important;
398 display: block;
399 padding-left: 18px;
402 @media (min-width: 360px) {
403 #search-and-donate {
404 flex-direction: row;
405 margin: 10px 30px 0 30px;
407 #searchform, .donate {
408 margin: 0;
412 @media (min-width: 550px) {
413 #search-and-donate {
414 flex-direction: column;
415 justify-content: space-evenly;
416 position: absolute;
417 top: 0;
418 right: 0;
419 margin-top: 0;
420 height: 120px;
422 #searchform, .donate a {
423 width: 200px;
425 #searchform input, .donate a {
426 font-size: 16px;
430 /* Hide all translations of the Donate button by default */
431 body .donate .de,
432 body .donate .es,
433 body .donate .fa,
434 body .donate .fr,
435 body .donate .it,
436 body .donate .pt {
437 display: none;
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.
445 body.de .donate .en,
446 body.es .donate .en,
447 body.fa .donate .en,
448 body.fr .donate .en,
449 body.it .donate .en,
450 body.pt .donate .en {
451 display: none;
454 /* Show the button corresponding to the current language */
455 body.de .donate .de,
456 body.es .donate .es,
457 body.fa .donate .fa,
458 body.fr .donate .fr,
459 body.it .donate .it,
460 body.pt .donate .pt {
461 display: flex !important;
464 /* Top bar */
466 .topbar {
467 background: white;
468 max-width: 986px;
469 margin: 0 auto;
470 padding-left: 15px;
471 border-bottom: 1px solid #eee;
474 .topbar ul {
475 margin: 0;
476 max-width: 100%;
479 .topbar ul li {
480 display: inline-block;
483 .topbar a, .topbar .selflink {
484 display: block;
485 margin: 0 8px;
486 padding: 4px 0;
487 font-family: "Source Sans Pro Regular", "DejaVu Sans", "Verdana", sans-serif;
488 font-weight: bold;
489 font-size: 13px;
490 border-bottom: 5px solid white;
493 .topbar a {
494 color: black;
497 .topbar a:hover {
498 text-decoration: none;
499 border-bottom: 5px solid #73d171 !important;
502 .topbar .selflink {
503 border-bottom: 5px solid #276426;
506 @media (min-width: 810px) {
507 .topbar a, .topbar .selflink {
508 padding-top: 8px;
509 margin: 0 12px;
510 font-size: 16px;
514 /* Actions menu */
516 .pageheader .actions {
517 position: absolute;
518 top: 0;
519 right: 30px;
520 height: 30px;
521 background:url(lib/tools-20.jpg) right no-repeat;
522 padding-right: 25px;
525 .pageheader .actions ul {
526 padding: 0;
527 border-bottom: none;
528 display:none;
529 text-align: right;
530 width: 986px;
531 max-width: 100%;
532 height: auto;
535 .pageheader .actions:hover ul {
536 display: block;
539 .pageheader .actions li {
540 display:inline-block;
541 padding: 5px 4px 4px;
542 font-size: 0.9em;
545 .pageheader .actions li a {
546 color:#888888;
547 text-decoration:none;
550 .pageheader .actions:hover ul {
551 float:right;
552 position:relative;
553 top:0;
556 .pageheader .actions:hover ul li {
557 background:white;
558 transition: all 0.3s ease-out;
561 .pageheader .actions:hover ul li:hover {
562 border-bottom:2px solid #451e6f;
563 text-decoration:none;
564 background:#EEEEEE;
568 .pageheader .actions:hover ul li:hover a {
569 transition: all 0.5s ease-out;
570 color:black;
573 /* Breadcrumbs */
575 #crumbs ul, #crumbs li {
576 list-style-type:none;
577 padding:0;
578 margin:0;
581 #crumbs {
582 border-bottom:1px solid #dedede;
583 margin: 0 -2em;
584 padding-left: 30px;
585 max-width:110%;
586 font-weight:normal;
587 margin-bottom:0;
588 margin-top: 0;
589 white-space: nowrap;
590 font-size: 0.9rem;
591 line-height: 2.2em;
592 height: 33px;
595 #crumbs li {
596 display: inline-block;
597 color:#777;
598 padding-right: 12px;
602 #crumbs li:first-child img {
603 top:5px;
604 position:relative;
605 vertical-align: top;
608 #crumbs li a {
609 background:url(lib/crumbs.gif) no-repeat right center;
610 display:block;
611 padding:0 15px 0 0;
614 #crumbs li a:link,
615 #crumbs li a:visited {
616 color:#777;
617 text-decoration:none;
620 #crumbs li a:hover,
621 #crumbs li a:focus {
624 /* Languages */
626 .pageheader #otherlanguages {
627 position: absolute;
628 top: 33px;
629 right: 30px;
630 border: none;
633 .pageheader #otherlanguages ul {
634 margin: 0;
635 padding: 0;
636 border-bottom: none;
637 display:inline;
638 float:right;
641 .pageheader #otherlanguages li {
642 display:inline;
643 padding:4px 8px;
644 margin-right: 0.0em;
645 position:relative;
646 float: left;
649 .pageheader #otherlanguages li a {
650 color:#888888;
651 text-decoration:none;
654 .pageheader #otherlanguages ul li {
655 background:white;
656 text-decoration:none;
657 text-align:center;
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;
665 background:#EEEEEE;
668 .pageheader #otherlanguages ul li.master, .pageheader #otherlanguages ul li:hover.master {
669 font-weight:bold;
672 .pageheader #otherlanguages ul li:hover a {
673 transition: all 0.5s ease-out;
674 color:black;
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;
698 /* Page title */
700 span.title {
701 font-family: "Source Sans Pro Regular", "DejaVu Sans", "Verdana", sans-serif;
702 font-size: 2.8em;
703 line-height: 1em;
704 display: block;
705 color: #56347c;
706 border-left: 10px solid #444444;
707 padding-left: 18px;
708 margin-left: -28px;
711 div.header span.date {
712 display: block;
713 margin-top: 6px;
714 font-style: italic;
717 /* Trail */
719 div.trails {
720 margin-top: 0;
723 div.trail {
724 height: 2em;
725 border: solid 1px #bbb;
726 margin-bottom: 1.5em;
729 div.trail span.trailup {
730 display: none;
733 div.trail .trailprev, div.trail .trailnext {
734 top: 3px;
737 div.trail .trailprev {
738 left: 7px;
741 div.trail .trailnext {
742 right: 7px;
745 /* Links */
748 color: #888;
749 text-decoration: none;
752 #pagebody a {
753 color: #3b833a;
754 border-bottom: 1px solid #3b833a;
757 #pagebody a:hover {
758 text-decoration: none;
761 #pagebody a:visited {
762 color: #276426;
763 border-color: #276426;
766 /* test inside and outside links */
767 #pagebody a[href^="http"] {
768 padding-right: 13px;
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"],
777 #pagebody a.noicon,
778 #pagebody a.use-mirror-pool {
779 background-image: none;
780 padding-right: 0;
783 .quoted-from {
784 font-style: italic;
787 /* Support page */
789 #talk h1, #bugs h1, #wishlist h1, #tools h1 {
790 margin-top: 18px;
791 color:#56347c;
792 line-height: 1.6em;
793 border-bottom: 5px solid #56347c;
796 #talk h1 { width: 90%; }
798 /* News */
800 div.inlinepage {
801 margin-bottom: 18px;
804 .inlinepage .inlineheader .header {
805 font-size:36px;
806 top:5px;
807 line-height: 1.5em;
808 display: block;
809 margin-bottom: 0.5em;
812 .inlinepage h1 {
813 font-size:28px;
814 top:8px;
817 .inlinepage h2 {
818 font-size:22px;
819 top:1px;
822 .inlinepage h3 {
823 font-size:18px;
824 top:2px;
827 .inlinepage h4 {
828 font-size:15px;
829 top:4px;
832 .inlinepage h5 {
833 font-size:13px;
834 top:5px;
837 .inlinepage img {
838 max-width: 100%;
839 height: auto;
842 /* Columns */
844 div.blocks {
845 display: inline-block;
846 margin: 0 5% 0 0;
847 text-align: center;
848 vertical-align: top;
851 div.two-blocks {
852 width: 44%;
853 margin-top: 2em;
856 div.blocks p, div.blocks ul, div.blocks h1, div.blocks div {
857 text-align: left;
860 div.blocks img {
861 text-decoration: none;
862 display: block;
863 margin: 0 auto;
864 max-width: 100%;
865 height: auto
868 /* Calls for action */
870 .cfa {
871 width: 300px;
872 margin: 1em auto;
875 .cfa a {
876 background: #53b351 !important;
877 color: black !important;
878 font-size: 24px;
879 font-weight: bold;
880 border-radius: 0.5em;
881 padding: 1em 0.5em;
882 display: block;
883 text-align: center;
884 box-shadow: 2px 2px 2px #777, 2px 2px 10px #bbb, inset 2px 2px 2px #a8ffa0;
885 width: 100%;
888 /* Toggleable */
890 #pagebody div.toggleable {
891 position: relative;
892 background: #f3edf9;
893 border-top: solid 5px black;
894 border-bottom: solid 5px black;
895 padding: 15px 2em;
896 margin: 2em 0;
899 #pagebody div.toggleable span.hide a.toggle {
900 display: block;
901 height: 48px;
902 width: 78px;
903 position: absolute;
904 right: 0;
905 background: url('lib/close.png') no-repeat 15px 0px;
906 border: none;
909 /* Icons */
911 div.icon {
912 margin-bottom: 1.5em;
913 position: relative;
916 div.icon img {
917 display: inline-block;
920 div.icon div.text {
921 position: absolute;
922 top: 0;
923 display: inline-block;
924 vertical-align: top;
925 margin-left: 1em;
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;
936 padding-left: 0.2em;
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;
951 border-radius: 4px;
952 padding: 1.5em 6px 0em;
953 background-position: 6px 0.5em;
954 background-repeat: no-repeat;
955 min-height: 48px;
956 padding-left: 66px;
957 margin: 1.5em 0;
958 max-width: 45em;
960 div.bug {
961 background-image: url(lib/admon-bug.png);
963 div.caution {
964 background-image: url(lib/dialog-warning.png);
966 div.next {
967 background-image: url(lib/go-next.png);
969 div.note {
970 background-image: url(lib/admon-note.png);
972 div.tip {
973 background-image: url(lib/admon-tip.png);
975 div.trophy {
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 {
980 max-width: 30em;
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 {
984 margin-top: 0;
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 */
993 code {
994 line-height:18px;
995 white-space:pre;
998 pre, p.pre {
999 background-color: #eee;
1000 border: thin solid #ccc;
1001 color: #444;
1002 margin: 1.5em 1em 1.5em 1.5em;
1003 padding: 0.25em 0.5em;
1004 max-width: 58em;
1005 width: 58em;
1006 max-width: 90%;
1009 p.command-example, p.command-output {
1010 white-space: pre;
1011 -webkit-user-select: none;
1012 -moz-user-select: none;
1013 -ms-user-select: none;
1014 user-select: none;
1017 span.command-placeholder {
1018 color: #ec407a;
1019 font-style: italic;
1020 font-weight: bold;
1023 /* Inlined icons */
1025 img.symbolic {
1026 display: inline-block;
1027 position: relative;
1028 top: 4px;
1031 /* Contribute section */
1033 div.contribute-roles-1 {
1034 display: inline-block;
1035 margin-right: 2em;
1036 width: 31%;
1039 div.contribute-roles-3 div.contribute-role {
1040 width: 29%;
1043 div.contribute-role {
1044 display: inline-block;
1045 margin-right: 2em;
1046 vertical-align: top;
1049 div.contribute-role p {
1050 font-style: italic;
1053 div.contribute-role img {
1054 display: block;
1055 margin: 0 auto 0.5em;
1056 max-width: 100%;
1057 height: auto;
1060 /* Highlight */
1062 div#highlight {
1063 border: 5px solid #56347c;
1064 width: 44em;
1065 padding: 0.5em 1em;
1066 border-radius: 0.5em;
1068 div#highlight p {
1069 margin: 0.5em 0;
1072 /* Donate buttons outside of sidebar */
1074 .donate-button a {
1075 border-bottom: none;
1076 width: 100%;
1077 display: block;
1078 box-shadow: 1px 1px 5px #ccc;
1079 border-radius: 0.5em;
1080 padding: 0.5em 1em;
1081 background: #53b351 url('lib/donate.png') no-repeat scroll 10px 50% !important;
1082 font-size: 26px;
1083 padding-left: 70px;
1084 line-height: 1em;
1085 font-weight: normal;
1086 color: black !important;
1089 /* Charts */
1091 .chart {
1092 display: flex !important;
1093 flex-direction: column;
1096 @media (min-width: 640px) {
1097 .chart {
1098 flex-direction: row;
1102 .chart-content, .chart-key {
1103 flex: 1;
1104 padding-left: 15px;
1105 padding-right: 15px;
1106 align-self: center;
1109 .chart-content svg {
1110 height: auto;
1113 .chart-key-list {
1114 margin: 0;
1115 padding: 0;
1116 list-style: none;
1119 .chart-key-list li {
1120 margin: 0 0 8px;
1121 padding: 0;
1122 font-size: 14px;
1123 min-height: 3em;
1126 .chart-key-list li div {
1127 display: inline-block;
1130 .chart-key-list li p {
1131 margin: 5px 0 20px;
1134 .key-label:before {
1135 content: " ";
1136 display: inline-block;
1137 vertical-align: top;
1138 margin-top: 2px;
1139 width: 18px;
1140 height: 18px;
1141 position: relative;
1142 margin-left: -18px;
1143 left: -12px;
1146 .key-label {
1147 margin-right: 8px;
1150 .key-label, .key-percent {
1151 font-weight: bold;
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; }