From 2ef63cc982b2fc4a6453d1422f5fab0488f03bcf Mon Sep 17 00:00:00 2001 From: Jonas Tobias Hopusch Date: Tue, 17 Aug 2021 09:58:37 +0200 Subject: [PATCH] Add table CSS --- static/css/general.css | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/static/css/general.css b/static/css/general.css index 0c25dae..98a57f1 100644 --- a/static/css/general.css +++ b/static/css/general.css @@ -62,6 +62,24 @@ hr { margin: 0.5em 0; } +table { + border-style: solid; + border-color: black; + border-right: none; + border-bottom: none; + border-collapse: collapse; + margin: 1rem 2rem; +} + +td { + border-style: solid; + border-color: black; + border-left: none; + border-top: none; + border-collapse: collapse; + padding: 0.5rem 1rem; +} + @media (prefers-color-scheme: dark) { html { background-color: black; @@ -84,6 +102,10 @@ hr { a { color: lightskyblue; } + + table, td { + border-color: white; + } } @media (prefers-color-scheme: light) { @@ -104,4 +126,8 @@ hr { code { color: green; } + + table, td { + border-color: black; + } }