From a53cf862b699ff62dffff70dfd93719732834464 Mon Sep 17 00:00:00 2001 From: Vosjedev Date: Sat, 6 Dec 2025 12:27:12 +0100 Subject: Use alternating colours in the buglisting --- src/acit/html.py | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/acit') diff --git a/src/acit/html.py b/src/acit/html.py index 854da25..ffb3527 100644 --- a/src/acit/html.py +++ b/src/acit/html.py @@ -306,6 +306,7 @@ h1, h2 { #right { width: 67%; table { + margin-top: 1em; width: 100%; font-family: monospace; font-size: 1.3em; @@ -326,6 +327,13 @@ h1, h2 { min-width: 4em; } } + table tr:nth-child(2n) { + background-color: var(--primary-background); + } + table tr:nth-child(2n+1) { + background-color: var(--secondary-background); + --link-colour: var(--link-colour-secondary); + } } @media screen and (max-width: 859px) { -- cgit