]> Sergey Matveev's repositories - public-inbox.git/blob - contrib/css/216light.css
contrib/css: limit <a> coloring to links, only
[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 * { background:#fff; color:#333 }
8
9 /*
10  * Underlined links add visual noise which make them hard-to-read.
11  * Use colors to make them stand out, instead.
12  */
13 a:link { color:#00f; text-decoration:none }
14 a:visited { color:#808 }
15
16 /* quoted text gets a different color */
17 *.q { color:#006 }
18
19 /*
20  * these may be used with cgit, too
21  * (cgit uses <div>, public-inbox uses <span>)
22  */
23 *.add { color:#060 }
24 *.del {color:#900 }
25 *.head { color:#000 }
26 *.hunk { color:#960 }
27
28 /*
29  * highlight 3.x colors (tested 3.18) for displaying blobs.
30  * This doesn't use most of the colors available, as I find too
31  * many colors overwhelming, so the default is commented out.
32  */
33 .hl.num { color:#f30 } /* number */
34 .hl.esc { color:#f0f } /* escape character */
35 .hl.str { color:#f30 } /* string */
36 .hl.ppc { color:#c3c } /* preprocessor */
37 .hl.pps { color:#f30 } /* preprocessor string */
38 .hl.slc { color:#099 } /* single-line comment */
39 .hl.com { color:#099 } /* multi-line comment */
40 /* .hl.opt { color:#ccc } */ /* operator */
41 /* .hl.ipl { color:#ccc } */ /* interpolation */
42
43 /* keyword groups kw[a-z] */
44 .hl.kwa { color:#f90 }
45 .hl.kwb { color:#060 }
46 .hl.kwc { color:#f90 }
47 /* .hl.kwd { color:#ccc } */
48
49 /* line-number (unused by public-inbox) */
50 /* .hl.lin { color:#ccc } */