diff options
Diffstat (limited to 'www/assets/res/css/base.css')
-rw-r--r-- | www/assets/res/css/base.css | 18 |
1 files changed, 12 insertions, 6 deletions
diff --git a/www/assets/res/css/base.css b/www/assets/res/css/base.css index 9fd922b..c6d9347 100644 --- a/www/assets/res/css/base.css +++ b/www/assets/res/css/base.css @@ -30,6 +30,17 @@ div.mono-container { margin-block: 1rem; } +table { + --border-color: black; + + border-collapse: collapse; + + &, :is(td,th) { + padding: 0.4em; + border: 1px solid var(--border-color); + } +} + .toast { font-size: large; font-family: monospace; @@ -137,11 +148,6 @@ html[data-theme="dark"] { } table { - border-collapse: collapse; - - &, :is(td,th) { - padding: 0.5em; - border: 1px solid hsl(0, 0%, 25%); - } + --border-color: hsl(0, 0%, 25%); } } |