summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLibravatarLarge Libravatar memdmp <memdmpestrogenzone>2025-01-15 15:40:17 +0100
committerLibravatarLarge Libravatar memdmp <memdmpestrogenzone>2025-01-15 15:40:17 +0100
commit094905d80c18287745d924b6e0fd5654bcba6fe7 (patch)
tree578acb554bd0017e14a63ec47f061c1e30d51588
parent19540b401c54c96f33333bc73c3141ee3d44d7a3 (diff)
downloadcgit-assets-094905d80c18287745d924b6e0fd5654bcba6fe7.tar.gz
cgit-assets-094905d80c18287745d924b6e0fd5654bcba6fe7.tar.bz2
cgit-assets-094905d80c18287745d924b6e0fd5654bcba6fe7.tar.lz
cgit-assets-094905d80c18287745d924b6e0fd5654bcba6fe7.zip

fix: swap even odd

-rw-r--r--cgit.css7
1 files 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;
}