mirror of
https://github.com/picocss/pico.git
synced 2025-04-24 02:16:15 -04:00
Add <tfoot> support
This commit is contained in:
parent
92c21aa1d4
commit
7f6ed9f5cb
24 changed files with 102 additions and 28 deletions
|
@ -33,6 +33,15 @@ td {
|
|||
text-align: start;
|
||||
}
|
||||
|
||||
// Footer
|
||||
tfoot {
|
||||
th,
|
||||
td {
|
||||
border-top: var(--border-width) solid var(--table-border-color);
|
||||
border-bottom: 0;
|
||||
}
|
||||
}
|
||||
|
||||
// Striped
|
||||
table {
|
||||
&[role="grid"] {
|
||||
|
|
|
@ -211,14 +211,15 @@ h5 {
|
|||
}
|
||||
|
||||
// Table
|
||||
thead {
|
||||
thead,
|
||||
tfoot {
|
||||
th,
|
||||
td {
|
||||
--border-width: 3px;
|
||||
}
|
||||
}
|
||||
|
||||
:not(thead) > * > td {
|
||||
:not(thead):not(tfoot) > * > td {
|
||||
--font-size: 0.875em;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue