]> Sergey Matveev's repositories - public-inbox.git/blobdiff - contrib/css/216light.css
contrib/css/216light: add more contrast to foreground text
[public-inbox.git] / contrib / css / 216light.css
index 9451dc03836a168027b3c6881b441c9d73eebe38..0c781d535f4c43bda3648347ae2d6d709e96db7c 100644 (file)
@@ -4,13 +4,14 @@
  * Suitable for print, and blinding people with brightness.
  * Haphazardly thrown together because bright colors hurt my eyes
  */
-* { background:#fff; color:#333 }
+* { font-size: 100%; font-family: monospace; background:#fff; color:#003 }
+pre { white-space: pre-wrap }
 
 /*
  * Underlined links add visual noise which make them hard-to-read.
  * Use colors to make them stand out, instead.
  */
-a { color:#00f; text-decoration:none }
+a:link { color:#00f; text-decoration:none }
 a:visited { color:#808 }
 
 /* quoted text gets a different color */
@@ -24,3 +25,27 @@ a:visited { color:#808 }
 *.del {color:#900 }
 *.head { color:#000 }
 *.hunk { color:#960 }
+
+/*
+ * highlight 3.x colors (tested 3.18) for displaying blobs.
+ * This doesn't use most of the colors available, as I find too
+ * many colors overwhelming, so the default is commented out.
+ */
+.hl.num { color:#f30 } /* number */
+.hl.esc { color:#f0f } /* escape character */
+.hl.str { color:#f30 } /* string */
+.hl.ppc { color:#c3c } /* preprocessor */
+.hl.pps { color:#f30 } /* preprocessor string */
+.hl.slc { color:#099 } /* single-line comment */
+.hl.com { color:#099 } /* multi-line comment */
+/* .hl.opt { color:#ccc } */ /* operator */
+/* .hl.ipl { color:#ccc } */ /* interpolation */
+
+/* keyword groups kw[a-z] */
+.hl.kwa { color:#f90 }
+.hl.kwb { color:#060 }
+.hl.kwc { color:#f90 }
+/* .hl.kwd { color:#ccc } */
+
+/* line-number (unused by public-inbox) */
+/* .hl.lin { color:#ccc } */