125 lines
1.9 KiB
CSS

table {
border-spacing: 0px;
}
thead {
display: table-header-group;
position: sticky;
}
tfoot {
display: table-footer-group;
}
tr {
border-bottom: 1px solid black;
}
td, th {
padding: 0.25em;
font-size: 10px;
height: 30px;
overflow-wrap: break-word;
}
tr th:first-of-type, tr td:first-of-type {
padding-left: 0;
}
tr th:last-of-type, tr td:last-of-type {
padding-right: 0;
}
th {
padding: 0.25em;
height: 40px;
}
th:nth-child(3) {
width: 30%;
}
td:empty {
display: none;
}
tr img {
max-height: 30px;
max-width: 30px;
}
.table-wide td, .table-wide th {
width: 100% !important;
}
div.table-wide table, table.table-wide, .table-inline {
width: calc(100% +var(--footnote-w)) !important;
margin-right: calc((var(--footnote-w) * -1));
border-collapse: collapse;
table-layout: fixed;
-fs-table-paginate: paginate;
page-break-inside: avoid;
clear: both;
margin-bottom: .5rem;
}
.table-wide {
page-break-before: page;
page-break-inside: avoid;
}
.table-wide td, .table-wide th, .table-inline td, .table-inline th {
height: auto;
}
.table-wide tr:last-child:not(:first-child) {
border-bottom: 0;
}
table.table-wide tr, .table-wide table tr {
border-bottom: 1px dotted grey;
display: grid;
grid-template-columns: 90px 65px 3fr 3fr 45px;
width: calc(100% + var(--footnote-w));
min-height: 30px;
align-items: center;
max-width: calc(var(--pagedjs-pagebox-width) - var(--pagedjs-margin-right) - var(--pagedjs-margin-left))
}
.table-wide table {
margin-top: var(--header-offset) !important;
}
td > * {
vertical-align: middle;
line-height: 0;
}
.table-wide h2 {
line-height: 0;
}
table mark {
background: none;
display: inline-flex;
justify-content: center;
align-items: center;
gap: .5rem;
color: inherit;
}
table mark:before {
font-weight: bold;
content: "•";
color: var(--accent);
font-size: 20px;
line-height: 1px;
}
colgroup {
display: none !important;
}