hacks-guide-minimal-mistake.../_sass/minimal-mistakes/_tables.scss

37 lines
645 B
SCSS
Raw Normal View History

2016-03-11 21:55:06 +01:00
/* ==========================================================================
TABLES
========================================================================== */
table {
2016-04-12 22:48:27 +02:00
margin-bottom: 1em;
2016-03-11 21:55:06 +01:00
width: 100%;
font-family: $global-font-family;
font-size: $type-size-6;
2016-03-11 21:55:06 +01:00
border-collapse: collapse;
2016-03-21 21:36:24 +01:00
2016-03-11 21:55:06 +01:00
& + table {
margin-top: 1em;
}
}
thead {
background-color: $border-color;
border-bottom: 2px solid mix(#000, $border-color, 25%);
2016-03-11 21:55:06 +01:00
}
th {
padding: 0.5em;
font-weight: bold;
text-align: left;
}
td {
padding: 0.5em;
border-bottom: 1px solid mix(#000, $border-color, 25%);
2016-03-11 21:55:06 +01:00
}
tr,
td,
th {
2016-03-11 21:55:06 +01:00
vertical-align: middle;
2016-03-21 21:36:24 +01:00
}