hacks-guide-minimal-mistake.../assets/_scss/_tables.scss

38 lines
720 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-04-13 14:50:14 +02:00
border: 1px solid $light-gray;
2016-03-21 21:36:24 +01:00
2016-03-11 21:55:06 +01:00
& + table {
margin-top: 1em;
}
}
thead {
2016-03-31 04:20:55 +02:00
background-color: $lighter-gray;
2016-04-13 14:50:14 +02:00
border-bottom: 1px solid $light-gray;
2016-03-11 21:55:06 +01:00
}
th {
padding: 0.5em;
font-weight: bold;
text-align: left;
2016-04-13 14:50:14 +02:00
border-right: 1px solid $light-gray;
2016-03-11 21:55:06 +01:00
}
td {
padding: 0.5em;
2016-04-13 14:50:14 +02:00
border-bottom: 1px solid $light-gray;
border-right: 1px solid $light-gray;
2016-03-11 21:55:06 +01:00
}
tr, td, th {
vertical-align: middle;
2016-03-21 21:36:24 +01:00
}