mirror of
https://github.com/picocss/pico.git
synced 2025-02-24 00:39:20 -05:00
41 lines
549 B
SCSS
41 lines
549 B
SCSS
/**
|
|
* Table
|
|
*/
|
|
|
|
table {
|
|
width: 100%;
|
|
border-spacing: 0;
|
|
}
|
|
|
|
// Cells
|
|
th,
|
|
td {
|
|
padding: ($spacing-gutter/2) $spacing-gutter;
|
|
border-bottom: 1px solid var(--table-border);
|
|
color: var(--muted-text);
|
|
font-weight: $text-weight;
|
|
text-align: left;
|
|
font-size: 0.875rem;
|
|
}
|
|
|
|
// Titles
|
|
th,
|
|
thead td {
|
|
color: var(--text);
|
|
font-weight: bolder;
|
|
font-size: 1rem;
|
|
}
|
|
|
|
// First row
|
|
thead {
|
|
th,
|
|
td {
|
|
border-bottom: 3px solid var(--table-border);
|
|
}
|
|
}
|
|
|
|
// Striping
|
|
tbody tr:nth-child(odd) {
|
|
background-color: var(--table-stripping);
|
|
}
|