X-Git-Url: http://www.git.stargrave.org/?a=blobdiff_plain;f=contrib%2Fcss%2F216dark.css;h=b18b0576ec57233058632cde0fec9c0a90f5f68f;hb=8b8577f91109e76d12fcfa55a2e7388f54a41be6;hp=2fd85d0815fef6ae4ac8dfec2131ca2c1d437159;hpb=f026dbdd392c9dd5fddbdad9a2240738d4956640;p=public-inbox.git
diff --git a/contrib/css/216dark.css b/contrib/css/216dark.css
index 2fd85d08..b18b0576 100644
--- a/contrib/css/216dark.css
+++ b/contrib/css/216dark.css
@@ -13,14 +13,38 @@
a { color:#69f; text-decoration:none }
a:visited { color:#96f }
-/* quoted text gets a different color */
+/* quoted text in emails gets a different color */
*.q { color:#09f }
/*
- * these may be used with cgit, too
+ * these may be used with cgit , too.
* (cgit uses
, public-inbox uses )
*/
-*.add { color:#0ff }
-*.del { color:#f0f }
-*.head { color:#fff }
-*.hunk { color:#c93 }
+*.add { color:#0ff } /* diff post-image lines */
+*.del { color:#f0f } /* diff pre-image lines */
+*.head { color:#fff } /* diff header (metainformation) */
+*.hunk { color:#c93 } /* diff hunk-header */
+
+/*
+ * 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:#f0f } /* preprocessor */
+.hl.pps { color:#f30 } /* preprocessor string */
+.hl.slc { color:#09f } /* single-line comment */
+.hl.com { color:#09f } /* multi-line comment */
+/* .hl.opt { color:#ccc } */ /* operator */
+/* .hl.ipl { color:#ccc } */ /* interpolation */
+
+/* keyword groups kw[a-z] */
+.hl.kwa { color:#ff0 }
+.hl.kwb { color:#0f0 }
+.hl.kwc { color:#ff0 }
+/* .hl.kwd { color:#ccc } */
+
+/* line-number (unused by public-inbox) */
+/* .hl.lin { color:#ccc } */