Guide_Wii/_sass/minimal-mistakes/_tables.scss

48 lines
1 KiB
SCSS
Raw Normal View History

2016-10-30 01:02:14 +02:00
/* ==========================================================================
TABLES
========================================================================== */
table {
display: table; /* hacks-guide change */
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;
border: 1px solid $light-gray; /* hacks-guide change */
overflow-x: auto;
2016-10-30 01:02:14 +02:00
& + table {
margin-top: 1em;
}
}
thead {
background-color: $border-color;
/* hacks-guide change start */
// border-bottom: 2px solid mix(#000, $border-color, 25%);
border-bottom: 1px solid $light-gray;
/* hacks-guide change end */
2016-10-30 01:02:14 +02:00
}
th {
padding: 0.5em;
font-weight: bold;
text-align: left;
border-right: 1px solid $light-gray; /* hacks-guide change */
2016-10-30 01:02:14 +02:00
}
td {
padding: 0.5em;
/* hacks-guide change start */
// border-bottom: 1px solid mix(#000, $border-color, 25%);
border-bottom: 1px solid $light-gray;
border-right: 1px solid $light-gray;
/* hacks-guide change end */
2016-10-30 01:02:14 +02:00
}
tr,
td,
th {
2016-10-30 01:02:14 +02:00
vertical-align: middle;
}