From 500497d7745bca8a96c6c53c4cfea8f6eb483121 Mon Sep 17 00:00:00 2001 From: Jordan Doyle Date: Fri, 29 Jul 2022 17:28:57 +0100 Subject: [PATCH] Don't blend tables into background --- statics/sass/tables.scss | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/statics/sass/tables.scss b/statics/sass/tables.scss index 62bfa5d..39abdd6 100644 --- a/statics/sass/tables.scss +++ a/statics/sass/tables.scss @@ -42,6 +42,14 @@ } } + &:nth-child(even) { + background: #e1e3e8; + + @media (prefers-color-scheme: dark) { + background: none; + } + } + &.no-background { background: none; } @@ -80,4 +88,4 @@ td, th { padding: 0.1em 1em 0.1em 0.1em; } -}+} -- rgit 0.1.3