Guide_3DS/_sass/minimal-mistakes/_tables.scss

46 lines
956 B
SCSS
Raw Normal View History

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