1
0
Fork 0
mirror of https://github.com/GuerillaStudio/now-playing synced 2024-12-22 12:21:55 +00:00
now-playing/assets/scss/3-components/_tables.scss

57 lines
1.1 KiB
SCSS
Raw Normal View History

2019-11-27 17:06:26 +00:00
/**
* Table Module
* namespace : .table
*/
/* ----------------------------------------------------------- */
/* == configuration */
/* ----------------------------------------------------------- */
/* ----------------------------------------------------------- */
/* == module */
/* ----------------------------------------------------------- */
.table {
max-width: 100%;
width: 100%;
border: .1rem solid #cbcbcb;
border-spacing: 0;
border-collapse: collapse /* remove spacing between table cells */;
table-layout: fixed /* http://css-tricks.com/fixing-tables-long-strings */;
}
.table caption {
padding: 1em 0;
color: #000;
text-align: center;
font: italic 85%/1 arial, sans-serif;
}
.table td,
.table th {
overflow: hidden;
margin: 0;
padding: .5em 1em;
border-width: 0 0 0 .1rem;
border-left: .1rem solid #cbcbcb;
text-overflow: ellipsis;
white-space: nowrap;
word-wrap: break-word;
font-size: inherit;
}
.table td:first-child,
.table th:first-child {
border-left-width: 0;
}
.table thead {
background: #e0e0e0;
color: #000;
vertical-align: bottom;
text-align: left;
}