X-Git-Url: https://gitweb.ps.run/ps-cgit/blobdiff_plain/181b6e789b79fc385e5ec75b2b83f01192d54051..46ff6e1993175057a18b14980696648a1c5e87ab:/cgit.css diff --git a/cgit.css b/cgit.css index e06c261..66c6d53 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; @@ -21,7 +18,7 @@ div#cgit a:hover { } div#cgit table { - border-collapse: collapse; + border-collapse: collapse; } div#cgit table#header { @@ -88,6 +85,12 @@ div#cgit table.tabs td a.active { background-color: #ccc; } +div#cgit table.tabs a[href^="http://"]:after, div#cgit table.tabs a[href^="https://"]:after { + content: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAQAAAAnOwc2AAAAAmJLR0QA/4ePzL8AAAAJcEhZcwAACxMAAAsTAQCanBgAAAAHdElNRQfgAhcJDQY+gm2TAAAAHWlUWHRDb21tZW50AAAAAABDcmVhdGVkIHdpdGggR0lNUGQuZQcAAABbSURBVAhbY2BABs4MU4CwhYHBh2Erww4wrGFQZHjI8B8IgUIscJWyDHcggltQhI4zGDCcRwhChPggHIggP1QoAVmQkSETrGoHsiAEsACtBYN0oDAMbgU6EBcAAL2eHUt4XUU4AAAAAElFTkSuQmCC); + opacity: 0.5; + margin: 0 0 0 5px; +} + div#cgit table.tabs td.form { text-align: right; } @@ -257,7 +260,7 @@ div#cgit div.error { margin: 1em 2em; } -div#cgit a.ls-blob, div#cgit a.ls-dir, div#cgit a.ls-mod { +div#cgit a.ls-blob, div#cgit a.ls-dir, div#cgit .ls-mod { font-family: monospace; } @@ -294,13 +297,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 +546,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 +596,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; @@ -781,9 +803,9 @@ div#cgit table.ssdiff td.head div.head { div#cgit table.ssdiff td.foot { border-top: solid 1px #aaa; - border-left: none; - border-right: none; - border-bottom: none; + border-left: none; + border-right: none; + border-bottom: none; } div#cgit table.ssdiff td.space { @@ -793,17 +815,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; }