]> Sergey Matveev's repositories - public-inbox.git/blob - contrib/css/216dark.css
contrib/css: mark as CC0 (public domain)
[public-inbox.git] / contrib / css / 216dark.css
1 /*
2  * CC0-1.0 <https://creativecommons.org/publicdomain/zero/1.0/legalcode>
3  * Dark color scheme using 216 web-safe colors, inspired
4  * somewhat by the default color scheme in mutt.
5  * It reduces eyestrain for me, and energy usage for all:
6  * https://en.wikipedia.org/wiki/Light-on-dark_color_scheme
7  */
8 * { background:#000; color:#ccc }
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 { color:#69f; text-decoration:none }
15 a:visited { color:#96f }
16
17 /* quoted text in emails gets a different color */
18 *.q { color:#09f }
19
20 /*
21  * these may be used with cgit <https://git.zx2c4.com/cgit/>, too.
22  * (cgit uses <div>, public-inbox uses <span>)
23  */
24 *.add { color:#0ff } /* diff post-image lines */
25 *.del { color:#f0f } /* diff pre-image lines */
26 *.head { color:#fff } /* diff header (metainformation) */
27 *.hunk { color:#c93 } /* diff hunk-header */
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:#f0f } /* preprocessor */
38 .hl.pps { color:#f30 } /* preprocessor string */
39 .hl.slc { color:#09f } /* single-line comment */
40 .hl.com { color:#09f } /* 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:#ff0 }
46 .hl.kwb { color:#0f0 }
47 .hl.kwc { color:#ff0 }
48 /* .hl.kwd { color:#ccc } */
49
50 /* line-number (unused by public-inbox) */
51 /* .hl.lin { color:#ccc } */