From d1991823de24f4140aae9c903d16ff00a5d74abd Mon Sep 17 00:00:00 2001 From: Wirlaburla Date: Tue, 14 Jan 2025 17:38:36 -0600 Subject: [PATCH] add table alternate row styling --- core/css/theme.css | 2 ++ core/style.css | 4 ++++ 2 files changed, 6 insertions(+) diff --git a/core/css/theme.css b/core/css/theme.css index d935a5e..ed3b2b6 100755 --- a/core/css/theme.css +++ b/core/css/theme.css @@ -17,6 +17,8 @@ --secondary-container-background: #cacaca; --secondary-container-border: 2px outset #c1c1c1; + --table-alternate: #dbdbdb; + --header-bg: #ffffff; --header-text: #000000; --header-line: 2px solid #000000; diff --git a/core/style.css b/core/style.css index 6917148..41324ff 100644 --- a/core/style.css +++ b/core/style.css @@ -57,6 +57,10 @@ textarea, input { box-sizing: border-box; } +table.alternating tr:nth-of-type(even) { + background: var(--table-alternate); +} + @media only screen and (orientation: landscape) { :target::before { content: "";