summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLukas Fleischer <lfleischer@archlinux.org>2019-10-19 06:19:16 +0200
committerLukas Fleischer <lfleischer@archlinux.org>2019-10-19 06:19:16 +0200
commitdd0e090301aa292d7c264c49d2f63e9301897b1f (patch)
treef349480068fa0d2d1b8bb703aa04fe48faeec943
parent3ec0f6bfbf354e8d286955843bdf2d7335c9812e (diff)
downloadaur-dd0e090301aa292d7c264c49d2f63e9301897b1f.tar.gz
aur-dd0e090301aa292d7c264c49d2f63e9301897b1f.tar.xz
Sync CSS with archweb
Signed-off-by: Lukas Fleischer <lfleischer@archlinux.org>
-rw-r--r--web/html/css/archweb.css18
1 files changed, 10 insertions, 8 deletions
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%;