mirror of
https://github.com/foo-dogsquared/hugo-theme-more-contentful.git
synced 2025-02-07 12:19:26 +00:00
Update table styles
This commit is contained in:
parent
635c0c0e18
commit
4e0a56e80a
@ -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;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user