emacs-config/misc/pile-css-theme/_table.scss

51 lines
775 B
SCSS
Raw Normal View History

2020-07-16 21:08:30 +00:00
div.table {
max-width: 100%;
overflow-x: auto;
}
2020-07-15 10:27:33 +00:00
table {
border-color: $text-light;
border-left: transparent;
border-right: transparent;
border-style: solid;
border-width: 2px;
border-collapse: collapse;
2020-07-15 10:27:33 +00:00
font-size: 15px;
font-family: $sans-font;
margin: 20px;
padding: 20px;
thead {
@include light-meta();
font-size: 15px;
tr th {
padding: 4px 10px;
background-color: #9991;
}
tr:last-of-type th {
border-bottom: solid 1px $text-light;
}
2020-07-15 10:27:33 +00:00
}
tr,th,td {
border: none;
2020-07-15 10:27:33 +00:00
}
tbody tr td {
border-top: 0;
padding: 0 10px;
}
tr {
line-height: 1.9;
}
caption {
.table-number {
@include light-meta();
}
margin-bottom: 10px;
@include light-para(15px);
}
}