2017-03-10 21:37:14 +02:00
|
|
|
/* ==========================================================================
|
|
|
|
Tables
|
|
|
|
========================================================================== */
|
2017-03-07 23:12:17 +02:00
|
|
|
|
|
|
|
table {
|
|
|
|
width: 100%;
|
|
|
|
@include fluid-type($min-vw, $max-vw, 12px, 18px);
|
|
|
|
border-collapse: collapse;
|
2017-03-10 21:37:14 +02:00
|
|
|
/* For Firefox to horizontally scroll wider tables */
|
2017-03-07 23:12:17 +02:00
|
|
|
word-break: normal;
|
|
|
|
word-break: keep-all;
|
|
|
|
}
|
|
|
|
|
|
|
|
thead {
|
|
|
|
|
|
|
|
th, td {
|
|
|
|
background-color: tint($base-color, 80%);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
th, td {
|
|
|
|
border-bottom: 1px solid $border-color;
|
|
|
|
}
|
|
|
|
|
|
|
|
th {
|
|
|
|
padding: 0.5em;
|
|
|
|
font-weight: bold;
|
|
|
|
text-align: left;
|
|
|
|
}
|
|
|
|
|
|
|
|
td {
|
|
|
|
padding: 0.5em;
|
|
|
|
}
|
|
|
|
|
|
|
|
tr, td, th {
|
|
|
|
vertical-align: middle;
|
|
|
|
}
|