From 0991ea8e702d754dcf9f3bb2600483847a454c15 Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Mon, 17 Feb 2025 00:25:49 +0100 Subject: [PATCH] even,odd --- style/light.css | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/style/light.css b/style/light.css index 2854f01..3e936e0 100644 --- a/style/light.css +++ b/style/light.css @@ -4,6 +4,8 @@ --body-background: #fff; --body-text: #000; --header-background: #ccc; +--item-even: #ddd; +--item-odd: #eee; --qrcode-background: ; --ruler-border: #888; } @@ -14,6 +16,8 @@ --body-background: #000; --body-text: #aaa; --header-background: #444; +--item-even: #222; +--item-odd: #111; --qrcode-background: #aaa; --ruler-border: #444; } @@ -119,6 +123,9 @@ img.org { margin-inline-end: .5em; } +li:nth-of-type(even) { background-color: var(--item-even); } +li:nth-of-type(odd) { background-color: var(--item-odd); } + table { margin-inline: auto; }