mirror of
https://github.com/foo-dogsquared/hugo-theme-more-contentful.git
synced 2025-01-30 22:57:57 +00:00
Update table styles
This commit is contained in:
parent
635c0c0e18
commit
4e0a56e80a
@ -114,11 +114,22 @@ table {
|
||||
margin: auto;
|
||||
overflow: auto;
|
||||
width: 100%;
|
||||
border: var(--border-style);
|
||||
margin: var(--vertical-rhythm) auto;
|
||||
|
||||
caption {
|
||||
margin: 1em;
|
||||
caption { margin: unset; }
|
||||
|
||||
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 {
|
||||
margin: 0;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user