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

View File

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

View File

@ -11,7 +11,7 @@ main table.tiny {
} }
main table.border { main table.border {
border: 0.5pt solid black; border: var(--border-thickness) solid black;
} }
main table tr { main table tr {
@ -113,11 +113,11 @@ main table tr.sectionheading th {
font-weight: bold; font-weight: bold;
text-align: center; text-align: center;
font-size: 10pt; font-size: 10pt;
border-top: 0.5pt solid black; border-top: var(--border-thickness) solid black;
} }
main table tr.header { main table tr.header {
border: 0.5pt solid black; border: var(--border-thickness) solid black;
background-color: #E0E0E0; background-color: #E0E0E0;
} }
@ -149,7 +149,7 @@ main table tr.sum,
main table td.sum, main table td.sum,
main table tr.new, main table tr.new,
main table tr.border { main table tr.border {
border-top: 0.5pt solid black; border-top: var(--border-thickness) solid black;
} }
main table th.unit { main table th.unit {
@ -165,13 +165,13 @@ main table th.narrow {
padding-right: 0; padding-right: 0;
} }
main table .lborder {border-left: 0.5pt solid black;} main table .lborder {border-left: var(--border-thickness) solid black;}
main table .rborder {border-right: 0.5pt solid black;} main table .rborder {border-right: var(--border-thickness) solid black;}
main table .fleft { main table .fleft {
float: left; float: left;
} }
main tbody.sum tr:last-child { 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 { :root {
font-family: "Times New Roman", serif; font-family: "Times New Roman", serif;
line-height: 1; line-height: 1;
--border-thickness: 0.05pt;
} }
* { * {
@ -58,7 +59,7 @@ header .type {
position: running(page-footer); position: running(page-footer);
width: 165mm; width: 165mm;
/* for some reason the position without the following statement changes on the second page */ /* 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 { .footer-wrapper.left {
@ -95,7 +96,7 @@ header .type {
footer { footer {
font-size: 10pt; font-size: 10pt;
border-top: 0.5pt solid black; border-top: var(--border-thickness) solid black;
height: 25mm; height: 25mm;
padding-top: 1mm; padding-top: 1mm;
text-align: center; text-align: center;
@ -107,6 +108,6 @@ footer {
hr { hr {
border: none; border: none;
border-top: 0.5pt solid black; border-top: var(--border-thickness) solid black;
margin: 5mm 0; margin: 5mm 0;
} }

View File

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