mirror of
https://github.com/matrix-org/matrix-spec
synced 2026-03-28 05:54:09 +01:00
Reinstate a smaller margin between struct tables
Without a margin, things look poor if the last row is blue: it then merges into the caption at the top of the next table. I've also added a small border because I think it helps to break things up a little.
This commit is contained in:
parent
ea42cd3c7b
commit
87b4fb27da
|
|
@ -323,12 +323,15 @@ footer {
|
||||||
table {
|
table {
|
||||||
table-layout: fixed;
|
table-layout: fixed;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
margin: 1.7rem 0;
|
||||||
|
border-bottom: 2px solid $gray-200;
|
||||||
|
|
||||||
caption {
|
caption {
|
||||||
caption-side: top;
|
caption-side: top;
|
||||||
color: $dark;
|
color: $dark;
|
||||||
font-size: 1rem;
|
font-size: 1rem;
|
||||||
font-weight: $font-weight-bold;
|
font-weight: $font-weight-bold;
|
||||||
|
border-top: 2px solid $gray-200;
|
||||||
}
|
}
|
||||||
|
|
||||||
th, td, caption {
|
th, td, caption {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue