diff --git a/src/lib/components/Markdown.css b/src/lib/components/Markdown.css index 5aee02c..314fe45 100644 --- a/src/lib/components/Markdown.css +++ b/src/lib/components/Markdown.css @@ -78,6 +78,22 @@ background-color: #fff0; } } + & table { + margin: 1rem auto; + font-size: 1.2em; + border-collapse: collapse; + + & thead { + border-bottom: solid 1px var(--black-white); + } + & tbody tr:nth-child(2n) { + background-color: color-mix(in srgb, var(--black-white) 10%, var(--back-color)); + } + & td,th { + border-width: 0px; + padding: .3em .6em; + } + } & blockquote { position: relative; font-style: italic;