From 094905d80c18287745d924b6e0fd5654bcba6fe7 Mon Sep 17 00:00:00 2001 From: memdmp Date: Wed, 15 Jan 2025 15:40:17 +0100 Subject: fix: swap even odd --- cgit.css | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/cgit.css b/cgit.css index b64adfd..50ee609 100644 --- a/cgit.css +++ b/cgit.css @@ -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; } -- cgit v1.2.3