From dd0e090301aa292d7c264c49d2f63e9301897b1f Mon Sep 17 00:00:00 2001 From: Lukas Fleischer Date: Sat, 19 Oct 2019 00:19:16 -0400 Subject: Sync CSS with archweb Signed-off-by: Lukas Fleischer --- web/html/css/archweb.css | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) (limited to 'web/html') diff --git a/web/html/css/archweb.css b/web/html/css/archweb.css index 2dc5be15..f95e3843 100644 --- a/web/html/css/archweb.css +++ b/web/html/css/archweb.css @@ -687,14 +687,6 @@ table.results { padding: .3em 1em .3em 3px; } - .results tr.odd { - background: #fff; - } - - .results tr.even { - background: #e4eeff; - } - .results .flagged { color: red; } @@ -977,6 +969,16 @@ table td.country { background: #ffd; } +.results tr:nth-child(even), +#article-list tr:nth-child(even) { + background: #e4eeff; +} + +.results tr:nth-child(odd), +#article-list tr:nth-child(odd) { + background: #fff; +} + /* dev dashboard: */ table.dash-stats .key { width: 50%; -- cgit v1.2.3-24-g4f1b