Update table styles

This commit is contained in:
Gabriel Arazas 2023-02-27 13:04:07 +08:00
parent 635c0c0e18
commit 4e0a56e80a

View File

@ -114,11 +114,22 @@ table {
margin: auto; margin: auto;
overflow: auto; overflow: auto;
width: 100%; width: 100%;
border: var(--border-style);
margin: var(--vertical-rhythm) auto;
caption { caption { margin: unset; }
margin: 1em;
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 { tr td > p {
margin: 0; margin: 0;
} }