Documents: Add variable for border thickness

This commit is contained in:
2024-03-28 15:56:46 +01:00
parent d501cfaf72
commit 9aa6cba1ff
5 changed files with 16 additions and 15 deletions

View File

@ -55,13 +55,13 @@ aside {
aside table {
border-collapse: collapse;
border: 0.5pt solid #808080;
border: var(--border-thickness) solid #808080;
width: 65mm;
margin-right: 10mm;
}
aside table thead:not(:first-child) tr {
border-top: 0.5pt solid #808080;
border-top: var(--border-thickness) solid #808080;
}
aside table thead tr {
@ -143,7 +143,7 @@ main h1 {
.main-wrapper .signatures > * {
width: 50mm;
border-top: 0.5pt solid black;
border-top: var(--border-thickness) solid black;
padding-top: 1mm;
text-align: center;
font-size: 10pt;

View File

@ -4,7 +4,7 @@
width: 10mm;
position: fixed;
left: -25mm;
border-top: 0.5pt solid black;
border-top: var(--border-thickness) solid black;
}
.m1.r, .m2.r, .m3.r {
left: initial;

View File

@ -11,7 +11,7 @@ main table.tiny {
}
main table.border {
border: 0.5pt solid black;
border: var(--border-thickness) solid black;
}
main table tr {
@ -113,11 +113,11 @@ main table tr.sectionheading th {
font-weight: bold;
text-align: center;
font-size: 10pt;
border-top: 0.5pt solid black;
border-top: var(--border-thickness) solid black;
}
main table tr.header {
border: 0.5pt solid black;
border: var(--border-thickness) solid black;
background-color: #E0E0E0;
}
@ -149,7 +149,7 @@ main table tr.sum,
main table td.sum,
main table tr.new,
main table tr.border {
border-top: 0.5pt solid black;
border-top: var(--border-thickness) solid black;
}
main table th.unit {
@ -165,13 +165,13 @@ main table th.narrow {
padding-right: 0;
}
main table .lborder {border-left: 0.5pt solid black;}
main table .rborder {border-right: 0.5pt solid black;}
main table .lborder {border-left: var(--border-thickness) solid black;}
main table .rborder {border-right: var(--border-thickness) solid black;}
main table .fleft {
float: left;
}
main tbody.sum tr:last-child {
border-bottom: 0.5pt solid black;
border-bottom: var(--border-thickness) solid black;
}

View File

@ -2,6 +2,7 @@
:root {
font-family: "Times New Roman", serif;
line-height: 1;
--border-thickness: 0.05pt;
}
* {
@ -58,7 +59,7 @@ header .type {
position: running(page-footer);
width: 165mm;
/* for some reason the position without the following statement changes on the second page */
border: 0.5pt solid #00000000;
border: var(--border-thickness) solid #00000000;
}
.footer-wrapper.left {
@ -95,7 +96,7 @@ header .type {
footer {
font-size: 10pt;
border-top: 0.5pt solid black;
border-top: var(--border-thickness) solid black;
height: 25mm;
padding-top: 1mm;
text-align: center;
@ -107,6 +108,6 @@ footer {
hr {
border: none;
border-top: 0.5pt solid black;
border-top: var(--border-thickness) solid black;
margin: 5mm 0;
}

View File

@ -43,7 +43,7 @@ table {
table th,
table td {
border: 0.5pt solid black;
border: var(--border-thickness) solid black;
vertical-align: top !important;
}