chore: use cleaner table formatting (#110)

This commit is contained in:
Robert Kaussow 2021-05-08 22:44:52 +02:00 committed by GitHub
parent b82f5e1ae8
commit f296f85366
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -112,16 +112,25 @@
table { table {
overflow: auto; overflow: auto;
display: block; display: table;
border-spacing: 0; border-spacing: 0;
border-collapse: collapse; border-collapse: collapse;
margin-top: $padding-16; margin-top: $padding-16;
margin-bottom: $padding-16; margin-bottom: $padding-16;
width: 100%;
text-align: left;
thead {
border-bottom: $border-4 solid var(--accent-color);
}
tr th, tr th,
tr td { tr td {
padding: $padding-8 $padding-16; padding: $padding-8 $padding-16;
border: $border-1 solid var(--accent-color); }
tr {
border-bottom: $border-2 solid var(--accent-color);
} }
tr:nth-child(2n) { tr:nth-child(2n) {