From e7adfc645c5624bc3b827d7233f6e78b33a90e79 Mon Sep 17 00:00:00 2001 From: muqiuhan Date: Sun, 15 Mar 2026 11:36:53 +0000 Subject: deploy: 18bce0f2b548121e7298c164c463df00e2f9ff78 --- css/post/table.css | 28 +++++++++++++++------------- 1 file changed, 15 insertions(+), 13 deletions(-) (limited to 'css/post/table.css') diff --git a/css/post/table.css b/css/post/table.css index bfefa58c..b8fd1da8 100644 --- a/css/post/table.css +++ b/css/post/table.css @@ -1,32 +1,34 @@ -table, -td, -th { +.post-content table { border: $color-text-primary solid $line-third; width: 100%; text-align: left; -} -table { border-collapse: collapse; table-layout: fixed; } -td, -th { +.post-content table td, +.post-content table th { padding: $margin-m-1; } -th { +.post-content table th { font-variation-settings: 'wght' $font-weight-medium; } -td { +.post-content table td { font-variation-settings: 'wght' $font-weight-light; } -table, -tboby, -tr, -td { +.post-content table table, +.post-content table tboby, +.post-content table tr, +.post-content table td { background-color: inherit; } .highlight>table { + width: auto; min-width: fit-content; + border: none; +} +.highlight>table td { + padding: 0; + border: none; } @media (max-width: 480px) { .block-table { -- cgit v1.2.3