Guide_Wii/_sass/minimal-mistakes/_tables.scss
lifehackerhansol 4e7fce4b19
treewide: import snapshot of minimal mistakes 4.24.0 and guide-specific changes
Guide_3DS@4de4c0b4ba894ce6a0fa7662d951d55cf42fbe56
2023-09-28 19:53:01 -07:00

46 lines
No EOL
956 B
SCSS

/* ==========================================================================
TABLES
========================================================================== */
table {
display: table;
margin-bottom: 1em;
width: 100%;
font-family: $global-font-family;
font-size: $type-size-6;
border-collapse: collapse;
border: 1px solid $light-gray; // guide-specific
overflow-x: auto;
& + table {
margin-top: 1em;
}
}
thead {
background-color: $border-color;
// border-bottom: 2px solid mix(#000, $border-color, 25%);
// guide-specific
border-bottom: 1px solid $light-gray;
}
th {
padding: 0.5em;
font-weight: bold;
text-align: left;
border-right: 1px solid $light-gray; // guide-specific
}
td {
padding: 0.5em;
// border-bottom: 1px solid mix(#000, $border-color, 25%);
// guide-specific
border-bottom: 1px solid $light-gray;
border-right: 1px solid $light-gray;
}
tr,
td,
th {
vertical-align: middle;
}