aboutsummaryrefslogtreecommitdiffstats
path: root/cgit.css
diff options
context:
space:
mode:
authorTodd Zullinger <tmz@pobox.com>2010-09-06 09:31:25 -0400
committerLars Hjemli <hjemli@gmail.com>2010-09-19 19:12:51 +0200
commitd7765df117d25fc015856598c06f4796e8cdbb27 (patch)
treef3e3949fcb3f1d995bf48ec8ce32d1ab22ee1433 /cgit.css
parent6d10c130585eccae07eb17b3aff86eeb02cf4fb8 (diff)
cgit.css: Add syntax highlighting entries
Signed-off-by: Todd Zullinger <tmz@pobox.com> Signed-off-by: Lars Hjemli <hjemli@gmail.com>
Diffstat (limited to 'cgit.css')
-rw-r--r--cgit.css16
1 files changed, 15 insertions, 1 deletions
diff --git a/cgit.css b/cgit.css
index 0c88b65..a2a685b 100644
--- 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; }