X-Git-Url: https://gitweb.ps.run/ps-cgit/blobdiff_plain/5a36c2a291a00b59b8ec2f112453e117797c2fe5..fbd254d54e28e002a0d56b81c192156599df1e6b:/cgit.css diff --git a/cgit.css b/cgit.css index 7a5f423..8f409c3 100644 --- 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; @@ -264,7 +293,7 @@ table.blob pre { padding: 0; margin: 0; } -table.blob a.no { +table.blob a.no, table.ssdiff a.no { color: gray; text-align: right; text-decoration: none; @@ -625,7 +654,7 @@ table.hgraph th { } table.hgraph td { - vertical-align: center; + vertical-align: middle; padding: 2px 2px; } @@ -702,7 +731,7 @@ table.ssdiff td.lineno { } table.ssdiff td.hunk { - color: #black; + color: black; background: #ccf; border-top: solid 1px #aaa; border-bottom: solid 1px #aaa; @@ -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; }