emacs-config/misc/org-css/_table.scss

58 lines
888 B
SCSS
Raw Normal View History

2020-07-16 21:08:30 +00:00
div.table {
2020-07-19 09:57:31 +00:00
position: relative;
.gutter {
left: calc(20px - 2.5rem);
padding-top: 18px;
}
.tabular {
max-width: 100%;
overflow-x: auto;
}
2020-07-16 21:08:30 +00:00
}
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);
}
}