From 4e0a56e80a443b9e4241bed4b9b04c7d203dd17d Mon Sep 17 00:00:00 2001 From: Gabriel Arazas Date: Mon, 27 Feb 2023 13:04:07 +0800 Subject: [PATCH] Update table styles --- assets/scss/base.scss | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/assets/scss/base.scss b/assets/scss/base.scss index 6f2d234..958ef46 100644 --- a/assets/scss/base.scss +++ b/assets/scss/base.scss @@ -114,11 +114,22 @@ table { margin: auto; overflow: auto; width: 100%; + border: var(--border-style); + margin: var(--vertical-rhythm) auto; - caption { - margin: 1em; + caption { margin: unset; } + + thead tr { + background: var(--base05); + color: var(--base00); } + tbody { + tr + tr, tr:first-child { border-top: var(--border-style); } + } + + th, td { padding: 0.5em; } + tr td > p { margin: 0; }