From 7df5daaa6c0d399fcdfca4d53d8f579cdf1a5aac Mon Sep 17 00:00:00 2001 From: "N0\\A" Date: Wed, 1 Apr 2026 15:24:37 +0200 Subject: [PATCH] branding: table styles --- styles/kewt-light.root.css | 1 + styles/kewt.css | 31 +++++++++++++++++++++++++++++-- styles/mono-light.root.css | 1 + styles/mono.root.css | 1 + styles/nord-light.root.css | 1 + styles/nord.root.css | 1 + styles/onedark.root.css | 1 + styles/onelight.root.css | 1 + styles/rosepine-light.root.css | 1 + styles/rosepine.root.css | 1 + styles/solarized-dark.root.css | 1 + styles/solarized.root.css | 1 + 12 files changed, 40 insertions(+), 2 deletions(-) diff --git a/styles/kewt-light.root.css b/styles/kewt-light.root.css index f045050..8b73ee0 100644 --- a/styles/kewt-light.root.css +++ b/styles/kewt-light.root.css @@ -23,4 +23,5 @@ --adm-warning-border: #b8860b; --adm-caution-bg: #f5dddd; --adm-caution-border: #c44569; + --thead-bg: #e8dffa; } diff --git a/styles/kewt.css b/styles/kewt.css index 0a0e000..48e0960 100644 --- a/styles/kewt.css +++ b/styles/kewt.css @@ -23,6 +23,7 @@ --adm-warning-border: #ffe2bd; --adm-caution-bg: #662d43; --adm-caution-border: #ffc4d5; + --thead-bg: #3d2d5c; } body { @@ -271,6 +272,32 @@ hr { border-top: 1px solid var(--code-border); } +table { + border-collapse: collapse; + margin: 20px 0; + width: 100%; +} + +thead { + border-bottom: 2px solid var(--code-border); + background: var(--thead-bg); +} + +th { + font-weight: bold; + text-align: left; + padding: 8px 12px; +} + +td { + padding: 8px 12px; + border-top: 1px solid var(--code-border); +} + +tr:nth-child(even) { + background: var(--bg-deep); +} + .nav-toggle, .nav-toggle-label { display: none; @@ -303,7 +330,7 @@ hr { margin: 0 20px 20px 20px; } - .nav-toggle:checked~#side-bar { + .nav-toggle:checked ~ #side-bar { display: block; } @@ -536,4 +563,4 @@ hr { flex: 1; width: auto; } -} \ No newline at end of file +} diff --git a/styles/mono-light.root.css b/styles/mono-light.root.css index e6bb0ec..d5544db 100644 --- a/styles/mono-light.root.css +++ b/styles/mono-light.root.css @@ -23,4 +23,5 @@ --adm-warning-border: #aaaa78; --adm-caution-bg: #eee0e0; --adm-caution-border: #aa8888; + --thead-bg: #e8e8e8; } diff --git a/styles/mono.root.css b/styles/mono.root.css index eaabe02..eadf85f 100644 --- a/styles/mono.root.css +++ b/styles/mono.root.css @@ -23,4 +23,5 @@ --adm-warning-border: #8a8a5a; --adm-caution-bg: #2e1a1a; --adm-caution-border: #8a5a5a; + --thead-bg: #111111; } diff --git a/styles/nord-light.root.css b/styles/nord-light.root.css index 83f3483..27abc14 100644 --- a/styles/nord-light.root.css +++ b/styles/nord-light.root.css @@ -23,4 +23,5 @@ --adm-warning-border: #ebcb8b; --adm-caution-bg: #eddcdc; --adm-caution-border: #bf616a; + --thead-bg: #d8dee9; } diff --git a/styles/nord.root.css b/styles/nord.root.css index 26890ec..efbb8a5 100644 --- a/styles/nord.root.css +++ b/styles/nord.root.css @@ -23,4 +23,5 @@ --adm-warning-border: #ebcb8b; --adm-caution-bg: #3b3840; --adm-caution-border: #bf616a; + --thead-bg: #3b4252; } diff --git a/styles/onedark.root.css b/styles/onedark.root.css index 0406886..77187b0 100644 --- a/styles/onedark.root.css +++ b/styles/onedark.root.css @@ -23,4 +23,5 @@ --adm-warning-border: #e5c07b; --adm-caution-bg: #3a2c2e; --adm-caution-border: #e06c75; + --thead-bg: #21252b; } diff --git a/styles/onelight.root.css b/styles/onelight.root.css index 58fc6c3..c93f1b9 100644 --- a/styles/onelight.root.css +++ b/styles/onelight.root.css @@ -23,4 +23,5 @@ --adm-warning-border: #986801; --adm-caution-bg: #fae8e8; --adm-caution-border: #e45649; + --thead-bg: #eaeaeb; } diff --git a/styles/rosepine-light.root.css b/styles/rosepine-light.root.css index fa3f132..c1d47c9 100644 --- a/styles/rosepine-light.root.css +++ b/styles/rosepine-light.root.css @@ -23,4 +23,5 @@ --adm-warning-border: #ea9d34; --adm-caution-bg: #f5e5e8; --adm-caution-border: #b4637a; + --thead-bg: #f2e9e1; } diff --git a/styles/rosepine.root.css b/styles/rosepine.root.css index 0cbb343..e1c5284 100644 --- a/styles/rosepine.root.css +++ b/styles/rosepine.root.css @@ -23,4 +23,5 @@ --adm-warning-border: #f6c177; --adm-caution-bg: #2a1f22; --adm-caution-border: #eb6f92; + --thead-bg: #1f1d2e; } diff --git a/styles/solarized-dark.root.css b/styles/solarized-dark.root.css index 4391489..99b4eb2 100644 --- a/styles/solarized-dark.root.css +++ b/styles/solarized-dark.root.css @@ -23,4 +23,5 @@ --adm-warning-border: #b58900; --adm-caution-bg: #360a07; --adm-caution-border: #cb4b16; + --thead-bg: #073642; } diff --git a/styles/solarized.root.css b/styles/solarized.root.css index 70d5121..e04258d 100644 --- a/styles/solarized.root.css +++ b/styles/solarized.root.css @@ -23,4 +23,5 @@ --adm-warning-border: #b58900; --adm-caution-bg: #fde8e8; --adm-caution-border: #dc322f; + --thead-bg: #eee8d5; }