]> Sergey Matveev's repositories - public-inbox.git/blob - contrib/css/216dark.css
Duplicate base css definitions in stylesheets
[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 * { font-size: 100%; font-family: monospace; background:#000; color:#ccc }
9 pre { white-space: pre-wrap }
10
11 /*
12  * Underlined links add visual noise which make them hard-to-read.
13  * Use colors to make them stand out, instead.
14  */
15 a:link { color:#69f; text-decoration:none }
16 a:visited { color:#96f }
17
18 /* quoted text in emails gets a different color */
19 *.q { color:#09f }
20
21 /*
22  * these may be used with cgit <https://git.zx2c4.com/cgit/>, too.
23  * (cgit uses <div>, public-inbox uses <span>)
24  */
25 *.add { color:#0ff } /* diff post-image lines */
26 *.del { color:#f0f } /* diff pre-image lines */
27 *.head { color:#fff } /* diff header (metainformation) */
28 *.hunk { color:#c93 } /* diff hunk-header */
29
30 /*
31  * highlight 3.x colors (tested 3.18) for displaying blobs.
32  * This doesn't use most of the colors available, as I find too
33  * many colors overwhelming, so the default is commented out.
34  */
35 .hl.num { color:#f30 } /* number */
36 .hl.esc { color:#f0f } /* escape character */
37 .hl.str { color:#f30 } /* string */
38 .hl.ppc { color:#f0f } /* preprocessor */
39 .hl.pps { color:#f30 } /* preprocessor string */
40 .hl.slc { color:#09f } /* single-line comment */
41 .hl.com { color:#09f } /* multi-line comment */
42 /* .hl.opt { color:#ccc } */ /* operator */
43 /* .hl.ipl { color:#ccc } */ /* interpolation */
44
45 /* keyword groups kw[a-z] */
46 .hl.kwa { color:#ff0 }
47 .hl.kwb { color:#0f0 }
48 .hl.kwc { color:#ff0 }
49 /* .hl.kwd { color:#ccc } */
50
51 /* line-number (unused by public-inbox) */
52 /* .hl.lin { color:#ccc } */