Guide_3DS/_sass/minimal-mistakes/_tables.scss

39 lines
772 B
SCSS
Raw Normal View History

2016-10-29 23:02:14 +00:00
/* ==========================================================================
TABLES
========================================================================== */
table {
margin-bottom: 1em;
width: 100%;
font-family: $global-font-family;
font-size: $type-size-6;
border-collapse: collapse;
border: 1px solid $light-gray;
& + table {
margin-top: 1em;
}
}
thead {
2017-09-28 21:42:38 +00:00
background-color: mix($background-color, $dark-gray, 45%);;
2016-10-29 23:02:14 +00:00
border-bottom: 1px solid $light-gray;
2017-05-10 20:05:51 +00:00
color: $primary-color;
2016-10-29 23:02:14 +00:00
}
th {
padding: 0.5em;
font-weight: bold;
text-align: left;
border-right: 1px solid $light-gray;
}
td {
padding: 0.5em;
border-bottom: 1px solid $light-gray;
border-right: 1px solid $light-gray;
}
tr, td, th {
vertical-align: middle;
}