X-Git-Url: https://git.cameronkatri.com/cgit.git/blobdiff_plain/ae90a0b2d18d66e7b1cb98b2e34fd697f8b5311a..3cb8e762780cb4bd8dc9d330d549e36d65ad4335:/cgit.css diff --git a/cgit.css b/cgit.css index e06c261..6888cde 100644 --- a/cgit.css +++ b/cgit.css @@ -1,9 +1,6 @@ -body, div#cgit table, div#cgit form { +div#cgit { padding: 0em; margin: 0em; -} - -body { font-family: sans-serif; font-size: 10pt; color: #333; @@ -294,13 +291,15 @@ div#cgit table.blob pre { padding: 0; margin: 0; } -div#cgit table.blob a.no, div#cgit table.ssdiff a.no { +div#cgit table.blob td.linenumbers a, +div#cgit table.ssdiff td.lineno a { color: gray; text-align: right; text-decoration: none; } -div#cgit table.blob a.no a:hover { +div#cgit table.blob td.linenumbers a:hover, +div#cgit table.ssdiff td.lineno a:hover { color: black; } @@ -541,14 +540,24 @@ div#cgit table.list td.sublevel-repo { padding-left: 1.5em; } -div#cgit div.pager { +div#cgit ul.pager { + list-style-type: none; text-align: center; margin: 1em 0em 0em 0em; + padding: 0; +} + +div#cgit ul.pager li { + display: inline-block; + margin: 0.25em 0.5em; } -div#cgit div.pager a { +div#cgit ul.pager a { color: #777; - margin: 0em 0.5em; +} + +div#cgit ul.pager .current { + font-weight: bold; } div#cgit span.age-mins { @@ -581,6 +590,13 @@ div#cgit div.footer { font-size: 80%; color: #ccc; } +div#cgit div.footer a { + color: #ccc; + text-decoration: none; +} +div#cgit div.footer a:hover { + text-decoration: underline; +} div#cgit a.branch-deco { color: #000; margin: 0px 0.5em; @@ -793,17 +809,3 @@ div#cgit table.ssdiff td.space { div#cgit table.ssdiff td.space div { min-height: 3em; } - -/* Syntax highlighting */ -div#cgit table.blob .num { color:#2928ff; } -div#cgit table.blob .esc { color:#ff00ff; } -div#cgit table.blob .str { color:#ff0000; } -div#cgit table.blob .dstr { color:#818100; } -div#cgit table.blob .slc { color:#838183; font-style:italic; } -div#cgit table.blob .com { color:#838183; font-style:italic; } -div#cgit table.blob .dir { color:#008200; } -div#cgit table.blob .sym { color:#000000; } -div#cgit table.blob .kwa { color:#000000; font-weight:bold; } -div#cgit table.blob .kwb { color:#830000; } -div#cgit table.blob .kwc { color:#000000; font-weight:bold; } -div#cgit table.blob .kwd { color:#010181; }