]> granicus.if.org Git - cgit/commitdiff
cgit.css: Add syntax highlighting entries
authorTodd Zullinger <tmz@pobox.com>
Mon, 6 Sep 2010 13:31:25 +0000 (09:31 -0400)
committerLars Hjemli <hjemli@gmail.com>
Sun, 19 Sep 2010 17:12:51 +0000 (19:12 +0200)
Signed-off-by: Todd Zullinger <tmz@pobox.com>
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
cgit.css

index 0c88b65fe4cb1e5003c6bd569cefe4cd819af2a3..a2a685b412d83a2672cb9c90c1b6efe561390b3d 100644 (file)
--- a/cgit.css
+++ b/cgit.css
@@ -742,4 +742,18 @@ table.ssdiff td.space {
 
 table.ssdiff td.space div {
        min-height: 3em;
-}
\ No newline at end of file
+}
+
+/* Syntax highlighting */
+table.blob .num  { color:#2928ff; }
+table.blob .esc  { color:#ff00ff; }
+table.blob .str  { color:#ff0000; }
+table.blob .dstr { color:#818100; }
+table.blob .slc  { color:#838183; font-style:italic; }
+table.blob .com  { color:#838183; font-style:italic; }
+table.blob .dir  { color:#008200; }
+table.blob .sym  { color:#000000; }
+table.blob .kwa  { color:#000000; font-weight:bold; }
+table.blob .kwb  { color:#830000; }
+table.blob .kwc  { color:#000000; font-weight:bold; }
+table.blob .kwd  { color:#010181; }