X-Git-Url: https://gitweb.ps.run/ps-cgit/blobdiff_plain/268b34af23cdcac87aed3300bfe6154cbc65753e..fbd254d54e28e002a0d56b81c192156599df1e6b:/cgit.css diff --git a/cgit.css b/cgit.css index 1ebef55..8f409c3 100644 --- a/cgit.css +++ b/cgit.css @@ -293,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; @@ -654,7 +654,7 @@ table.hgraph th { } table.hgraph td { - vertical-align: center; + vertical-align: middle; padding: 2px 2px; } @@ -731,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; @@ -761,3 +761,17 @@ table.ssdiff td.space { table.ssdiff td.space div { min-height: 3em; } + +/* 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; }