mirror of
https://github.com/picocss/pico.git
synced 2025-04-23 18:06:14 -04:00
Add <tfoot> support
This commit is contained in:
parent
92c21aa1d4
commit
7f6ed9f5cb
24 changed files with 102 additions and 28 deletions
12
css/pico.css
12
css/pico.css
|
@ -173,11 +173,13 @@ h5 {
|
|||
}
|
||||
|
||||
thead th,
|
||||
thead td {
|
||||
thead td,
|
||||
tfoot th,
|
||||
tfoot td {
|
||||
--border-width: 3px;
|
||||
}
|
||||
|
||||
:not(thead) > * > td {
|
||||
:not(thead):not(tfoot) > * > td {
|
||||
--font-size: 0.875em;
|
||||
}
|
||||
|
||||
|
@ -1850,6 +1852,12 @@ td {
|
|||
text-align: start;
|
||||
}
|
||||
|
||||
tfoot th,
|
||||
tfoot td {
|
||||
border-top: var(--border-width) solid var(--table-border-color);
|
||||
border-bottom: 0;
|
||||
}
|
||||
|
||||
table[role=grid] tbody tr:nth-child(odd) {
|
||||
background-color: var(--table-row-stripped-background-color);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue