From 8c6b50320aff62d80ea7ec17d5b83a9ad9e08341 Mon Sep 17 00:00:00 2001 From: Bryce Kwon Date: Sat, 31 Oct 2026 13:18:45 -0700 Subject: Share one rule between two plain row hovers --- assets/cgit.css | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'assets/cgit.css') diff --git a/assets/cgit.css b/assets/cgit.css index b640bb7..7018ea3 100644 --- a/assets/cgit.css +++ b/assets/cgit.css @@ -533,17 +533,14 @@ div#cgit table.list tr.nohover { background: var(--row-hover); } - div#cgit table.list tr.nohover:hover { + div#cgit table.list tr.nohover:hover, + div#cgit table.list tr.nohover-highlight:hover:nth-child(odd) { background: var(--bg); } div#cgit table.list tr.nohover-highlight:hover:nth-child(even) { background: var(--surface-2); } - - div#cgit table.list tr.nohover-highlight:hover:nth-child(odd) { - background: var(--bg); - } } div#cgit table.list th { -- cgit