diff options
| author | muqiuhan <[email protected]> | 2023-02-28 09:58:51 +0000 |
|---|---|---|
| committer | muqiuhan <[email protected]> | 2023-02-28 09:58:51 +0000 |
| commit | 7e2f3fca091c08771486df0b870ce187f869d363 (patch) | |
| tree | 025e1b18a0d94c940a85eb631a7f48951efbc18d /css/post/table.css | |
| parent | 2605fd54aa163fcfc97fc265a300b1b54bf38543 (diff) | |
| download | blog-7e2f3fca091c08771486df0b870ce187f869d363.tar.gz | |
deploy: b780169745c17f9fc971299e923e5ca5669b5a22
Diffstat (limited to 'css/post/table.css')
| -rw-r--r-- | css/post/table.css | 36 |
1 files changed, 36 insertions, 0 deletions
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; + } +} |
