blob: e141b7e9d3b2eee2fbe87ef47829779eb2a1aacf (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
// Table
table {
border-collapse: collapse;
width: 100%;
text-indent: 0; /* Remove text indentation from table contents in Chrome, Edge, and Safari. */
}
table caption {
margin-bottom: .5rem;
}
tr {
border-bottom: var(--bw) solid var(--c3);
}
td,
th {
padding: var(--s1);
}
th {
text-align: left;
}
// Striped
table {
tbody tr:nth-child(even) {
background-color: var(--c2);
}
thead tr {
border-top: var(--bw) solid var(--c3);
background-color: var(--c2);
}
}
|