]> Sergey Matveev's repositories - public-inbox.git/blob - contrib/css/216light.css
741214c94301288bcf67c66f8d57f1a1b7eafc48
[public-inbox.git] / contrib / css / 216light.css
1 /*
2  * CC0-1.0 <https://creativecommons.org/publicdomain/zero/1.0/legalcode>
3  * Light color scheme using 216 web-safe colors.
4  * Suitable for print, and blinding people with brightness.
5  * Haphazardly thrown together because bright colors hurt my eyes
6  */
7 * { font-size: 100%; font-family: monospace; background:#fff; color:#333 }
8 pre { white-space: pre-wrap }
9
10 /*
11  * Underlined links add visual noise which make them hard-to-read.
12  * Use colors to make them stand out, instead.
13  */
14 a:link { color:#00f; text-decoration:none }
15 a:visited { color:#808 }
16
17 /* quoted text gets a different color */
18 *.q { color:#006 }
19
20 /*
21  * these may be used with cgit, too
22  * (cgit uses <div>, public-inbox uses <span>)
23  */
24 *.add { color:#060 }
25 *.del {color:#900 }
26 *.head { color:#000 }
27 *.hunk { color:#960 }
28
29 /*
30  * highlight 3.x colors (tested 3.18) for displaying blobs.
31  * This doesn't use most of the colors available, as I find too
32  * many colors overwhelming, so the default is commented out.
33  */
34 .hl.num { color:#f30 } /* number */
35 .hl.esc { color:#f0f } /* escape character */
36 .hl.str { color:#f30 } /* string */
37 .hl.ppc { color:#c3c } /* preprocessor */
38 .hl.pps { color:#f30 } /* preprocessor string */
39 .hl.slc { color:#099 } /* single-line comment */
40 .hl.com { color:#099 } /* multi-line comment */
41 /* .hl.opt { color:#ccc } */ /* operator */
42 /* .hl.ipl { color:#ccc } */ /* interpolation */
43
44 /* keyword groups kw[a-z] */
45 .hl.kwa { color:#f90 }
46 .hl.kwb { color:#060 }
47 .hl.kwc { color:#f90 }
48 /* .hl.kwd { color:#ccc } */
49
50 /* line-number (unused by public-inbox) */
51 /* .hl.lin { color:#ccc } */