From 90607d6993316917676ec19dd6812c25184850de Mon Sep 17 00:00:00 2001 From: Nicolas F Date: Mon, 20 May 2019 16:02:04 +0200 Subject: [PATCH] main.css: fix stat styling on dark mode --- nyaa/static/css/main.css | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/nyaa/static/css/main.css b/nyaa/static/css/main.css index 839883d..455f702 100644 --- a/nyaa/static/css/main.css +++ b/nyaa/static/css/main.css @@ -99,10 +99,14 @@ table.torrent-list td:first-child { table.torrent-list td:nth-child(4) { white-space: nowrap; } -table.torrent-list td:nth-child(6) { +table.torrent-list td:nth-child(6), +body.dark table.torrent-list > tbody > tr.success > td:nth-child(6), +body.dark table.torrent-list > tbody > tr.danger > td:nth-child(6) { color: green; } -table.torrent-list td:nth-child(7) { +table.torrent-list td:nth-child(7), +body.dark table.torrent-list > tbody > tr.success > td:nth-child(7), +body.dark table.torrent-list > tbody > tr.danger > td:nth-child(7) { color: red; }