71 lines
1.2 KiB
CSS
Raw Normal View History

2025-04-22 15:08:16 +02:00
table {
border-spacing: 0px;
}
tr img {
max-height: 30px;
max-width: 30px;
}
thead {
display: table-header-group;
position: sticky;
}
tfoot {
display: table-footer-group;
}
tr {
border-bottom: 1px solid black;
}
th:nth-child(3) {
width: 30%;
}
td, th {
padding: 0.25em;
font-size: 9px;
height: 30px;
overflow-wrap: break-word;
}
th {
padding: 0.25em;
height: 40px;
}
td:empty {
display: none;
}
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: auto;
clear: both;
margin-bottom: .5rem;
}
.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: 70px 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))
}