ln.templates/ln.templates.service/storage/resources/css/default.css

241 lines
3.0 KiB
CSS

*, *::after, *::before {
box-sizing: border-box;
padding: 0px;
font: inherit;
}
p, h1, h2, h3, h4, h5, h6 {
overflow-wrap: break-word;
}
html, body {
height: 100%;
}
nav, a {
display: inline-block;
}
a:visited {
color: blue;
}
img, picture, video, canvas, svg {
display: block;
max-width: 100%;
}
html {
overflow: hidden;
}
body {
position: relative;
font-family: "DejaVu Sans", "Helvetica", "Nimbus Sans", "Open Sans", "Arial";
font-size: var(--lns-base-font-size);
line-height: var(--lns-base-line-height);
overflow-scrolling: auto;
}
@page {
size: A4;
margin: 1.7cm 2cm 1.7cm 2.5cm;
}
body {
padding: 0;
margin: 0;
font-size: 0.4cm;
font-family: "Source Code Pro";
}
.small {
font-size: 0.3cm;
}
table {
width: 100%;
page-break-inside: auto;
}
tr {
page-break-inside: avoid;
}
td {
vertical-align: top;
}
.clear {
clear: both;
}
header {
position: relative;
width: 100%;
padding-bottom: 1cm;
}
header img {
position: absolute;
right: 0cm;
width: 7cm;
}
header .right {
float: right;
padding-top: 2cm;
width: 7cm;
font-size: 0.4cm;
}
header .right h2 {
width: 100%;
text-align: right;
margin-bottom: 0.2cm;
}
header .address {
position: absolute;
left: 0.5cm;
top: 3.8cm;
width: 8cm;
}
header .address .sender {
font-size: 0.25cm;
text-decoration: underline;
margin-bottom: 0.1cm;
}
footer {
display: block;
width: 100%;
font-size: 0.25cm;
}
footer .duo div {
width: 100%;
}
main {
display: inline-block;
}
.duo {
display: flex;
flex-direction: row;
flex-wrap: wrap;
gap: 0.1cm;
width: 100%;
}
.duo :first-child {
flex-grow: 0;
flex-shrink: 1;
}
.duo :last-child {
position: relative;
flex-grow: 1;
flex-shrink: 0;
text-align: right;
}
.duo.nowrap {
flex-wrap: nowrap;
}
.orderlines {
font-size: 0.35cm;
}
.orderlines thead {
font-weight: bold;
text-align: left;
}
.orderlines td {
padding-right: 0.3cm;
white-space: nowrap;
vertical-align: top;
}
.orderlines td:nth-of-type(2) {
width: 99%;
}
.orderlines tbody tr:not(.break-avoid-after) > td {
padding-bottom: 0.3cm;
}
.orderlines tbody .text {
padding-left: 1.5cm;
padding-right: 1cm;
text-align: justify;
}
.break-avoid-after {
page-break-after: avoid;
page-break-inside: avoid;
}
.qrcode > svg {
display: inline-block;
max-width: 3cm;
max-height: 3cm;
}
.mb {
margin-bottom: 0.2cm;
}
.mb td {
margin-bottom: 0.2cm;
}
.mt {
margin-top: 0.2cm;
}
.mt td {
margin-top: 0.2cm;
}
.pb {
padding-bottom: 0.2cm;
}
.pb td {
padding-bottom: 0.2cm;
}
.pt {
padding-top: 0.2cm;
}
.pt td {
padding-top: 0.2cm;
}
.text {
margin-bottom: 1cm;
white-space: pre-wrap;
}
.text-left {
text-align: left;
}
.text-right {
text-align: right;
}
.text-center {
text-align: center;
}
.text-justify {
text-align: justify;
}
h1, h2, h3, h4 {
padding: 0cm;
margin: 0cm;
}
h1 {
font-size: 0.8cm;
}
h2 {
font-size: 0.5cm;
}
b, em {
font-weight: bold;
}
/*# sourceMappingURL=default.css.map */