mirror of
https://github.com/thegeeklab/hugo-geekdoc.git
synced 2024-11-28 23:50:36 +00:00
chore: use cleaner table formatting (#110)
This commit is contained in:
parent
b82f5e1ae8
commit
f296f85366
@ -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) {
|
||||||
|
Loading…
Reference in New Issue
Block a user