From 7e2f3fca091c08771486df0b870ce187f869d363 Mon Sep 17 00:00:00 2001 From: muqiuhan Date: Tue, 28 Feb 2023 09:58:51 +0000 Subject: deploy: b780169745c17f9fc971299e923e5ca5669b5a22 --- css/post/table.css | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 css/post/table.css (limited to 'css/post/table.css') diff --git a/css/post/table.css b/css/post/table.css new file mode 100644 index 00000000..bfefa58c --- /dev/null +++ b/css/post/table.css @@ -0,0 +1,36 @@ +table, +td, +th { + border: $color-text-primary solid $line-third; + width: 100%; + text-align: left; +} +table { + border-collapse: collapse; + table-layout: fixed; +} +td, +th { + padding: $margin-m-1; +} +th { + font-variation-settings: 'wght' $font-weight-medium; +} +td { + font-variation-settings: 'wght' $font-weight-light; +} +table, +tboby, +tr, +td { + background-color: inherit; +} +.highlight>table { + min-width: fit-content; +} +@media (max-width: 480px) { + .block-table { + display: block; + overflow-x: auto; + } +} -- cgit v1.2.3