diff options
fix: swap even odd
-rw-r--r-- | cgit.css | 7 |
1 files changed, 3 insertions, 4 deletions
@@ -512,6 +512,9 @@ div#cgit table.blame td.linenumbers div.alt { } div#cgit table.blame div.alt:nth-child(even) { + background: #0000; +} +div#cgit table.blame div.alt:nth-child(odd) { background: #0003; } div#cgit table.blame td:first-child div.alt { @@ -528,10 +531,6 @@ div#cgit table.blame td:last-child div.alt { margin-right: 2rem; } -div#cgit table.blame div.alt:nth-child(odd) { - background: #0000; -} - div#cgit table.blame td.lines > div { position: relative; } |