From a42ca8aa175693ad15fbb3ea1ba178d4d928c8ec Mon Sep 17 00:00:00 2001 From: Maik de Kruif Date: Sun, 6 Dec 2020 16:26:07 +0100 Subject: [PATCH] Update table styling --- themes/maik-blog/assets/scss/_main.scss | 28 +++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/themes/maik-blog/assets/scss/_main.scss b/themes/maik-blog/assets/scss/_main.scss index 0a9a89c..a1d6d79 100644 --- a/themes/maik-blog/assets/scss/_main.scss +++ b/themes/maik-blog/assets/scss/_main.scss @@ -367,4 +367,32 @@ svg { svg { font-size: 1.5rem; } +} + +table { + width: 100%; + padding: 10px 10px 10px 20px; + border-radius: 8px; + font-size: .95rem; + overflow: auto; + background: $light-background-secondary; + + th { + padding: 8px 0px; + } + + td { + padding: 6px 0px; + + border-top: 1px solid $light-color-secondary; + } + + .dark-theme & { + background: $dark-background-secondary; + + td { + border-top-color: $dark-color-secondary; + } + + } } \ No newline at end of file