summaryrefslogtreecommitdiffabout
authorTodd Zullinger <tmz@pobox.com>2010-09-06 13:31:25 (UTC)
committer Lars Hjemli <hjemli@gmail.com>2010-09-19 17:12:51 (UTC)
commitd7765df117d25fc015856598c06f4796e8cdbb27 (patch) (unidiff)
treef3e3949fcb3f1d995bf48ec8ce32d1ab22ee1433
parent6d10c130585eccae07eb17b3aff86eeb02cf4fb8 (diff)
downloadcgit-d7765df117d25fc015856598c06f4796e8cdbb27.zip
cgit-d7765df117d25fc015856598c06f4796e8cdbb27.tar.gz
cgit-d7765df117d25fc015856598c06f4796e8cdbb27.tar.bz2
cgit.css: Add syntax highlighting entries
Signed-off-by: Todd Zullinger <tmz@pobox.com> Signed-off-by: Lars Hjemli <hjemli@gmail.com>
Diffstat (more/less context) (ignore whitespace changes)
-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
@@ -739,7 +739,21 @@ table.ssdiff td.foot {
739table.ssdiff td.space { 739table.ssdiff td.space {
740 border: none; 740 border: none;
741} 741}
742 742
743table.ssdiff td.space div { 743table.ssdiff td.space div {
744 min-height: 3em; 744 min-height: 3em;
745} \ No newline at end of file 745}
746
747/* Syntax highlighting */
748table.blob .num { color:#2928ff; }
749table.blob .esc { color:#ff00ff; }
750table.blob .str { color:#ff0000; }
751table.blob .dstr { color:#818100; }
752table.blob .slc { color:#838183; font-style:italic; }
753table.blob .com { color:#838183; font-style:italic; }
754table.blob .dir { color:#008200; }
755table.blob .sym { color:#000000; }
756table.blob .kwa { color:#000000; font-weight:bold; }
757table.blob .kwb { color:#830000; }
758table.blob .kwc { color:#000000; font-weight:bold; }
759table.blob .kwd { color:#010181; }