diff options
feat: styles for focus and non-black hover for line numbers
-rw-r--r-- | cgit.css | 11 |
1 files changed, 8 insertions, 3 deletions
@@ -459,7 +459,7 @@ div#cgit table.blob td.linenumbers { padding: 0 0.5em 0 0.5em; vertical-align: top; text-align: right; - border-right: 1px solid gray; + border-right: 2px solid #9999; } div#cgit table.blob pre { @@ -476,7 +476,13 @@ div#cgit table.ssdiff td.lineno a { div#cgit table.blob td.linenumbers a:hover, div#cgit table.ssdiff td.lineno a:hover { - color: black; + color: #ddd; +} +div#cgit table.blob td.linenumbers a:focus, +div#cgit table.ssdiff td.lineno a:focus, +div#cgit table.blob td.linenumbers a:focus-within, +div#cgit table.ssdiff td.lineno a:focus-within { + color: #99aaff; } div#cgit table.blame td.hashes, @@ -518,7 +524,6 @@ div#cgit table.blame .oid { div#cgit table.bin-blob { margin-top: 0.5em; - border: solid 1px black; } div#cgit table.bin-blob th { |