]> gitweb.ps.run Git - ps-cgit/blobdiff - cgit.css
Merge branch 'jh/graph'
[ps-cgit] / cgit.css
index 3675697d6c93eda76ee6799a2349d39cc3471f5d..008cff8e0c766fa4bf85a6f7fbaee7e644335b60 100644 (file)
--- a/cgit.css
+++ b/cgit.css
@@ -153,6 +153,35 @@ table.list td {
        padding: 0.1em 0.5em 0.1em 0.5em;
 }
 
+table.list td.commitgraph {
+       font-family: monospace;
+       white-space: pre;
+}
+
+table.list td.commitgraph .column1 {
+       color: #a00;
+}
+
+table.list td.commitgraph .column2 {
+       color: #0a0;
+}
+
+table.list td.commitgraph .column3 {
+       color: #aa0;
+}
+
+table.list td.commitgraph .column4 {
+       color: #00a;
+}
+
+table.list td.commitgraph .column5 {
+       color: #a0a;
+}
+
+table.list td.commitgraph .column6 {
+       color: #0aa;
+}
+
 table.list td.logsubject {
        font-family: monospace;
        font-weight: bold;
@@ -161,7 +190,7 @@ table.list td.logsubject {
 table.list td.logmsg {
        font-family: monospace;
        white-space: pre;
-       padding: 1em 0.5em 2em 0.5em;
+       padding: 0 0.5em;
 }
 
 table.list td a {
@@ -731,4 +760,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; }