2023-02-24 11:22:15 +00:00
|
|
|
.invoice {
|
|
|
|
display: flex;
|
|
|
|
}
|
|
|
|
|
|
|
|
.invoice header {
|
|
|
|
flex: 1;
|
2023-02-25 02:16:20 +00:00
|
|
|
min-width: 18rem;
|
2023-02-24 11:22:15 +00:00
|
|
|
padding: 0 1rem 0 0;
|
|
|
|
display: block;
|
|
|
|
background: initial;
|
|
|
|
border-right: 2px dashed lightgray;
|
|
|
|
}
|
|
|
|
|
|
|
|
.invoice h1 {
|
|
|
|
font-size: 1.6rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
.invoice .invoicer {
|
|
|
|
margin-top: 20rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
.invoice > div {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
flex: 3;
|
2023-02-25 02:16:20 +00:00
|
|
|
padding: 0 0 0 2.5rem;
|
|
|
|
align-items: flex-end;
|
|
|
|
}
|
|
|
|
|
|
|
|
.invoice .invoicee, .invoice .invoicer {
|
|
|
|
min-width: 18rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
.invoice table {
|
|
|
|
margin: 5rem 0;
|
2023-02-24 11:22:15 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.invoice th {
|
|
|
|
font-weight: normal;
|
|
|
|
text-transform: uppercase;
|
|
|
|
}
|
|
|
|
|
|
|
|
.invoice thead th {
|
|
|
|
text-align: left;
|
|
|
|
border-bottom: 2px solid black;
|
|
|
|
}
|
|
|
|
|
|
|
|
.invoice .tfoot th, .invoice .numeric {
|
|
|
|
text-align: right;
|
|
|
|
}
|
|
|
|
|
2023-02-25 02:16:20 +00:00
|
|
|
.invoice .notes {
|
2023-02-24 11:22:15 +00:00
|
|
|
white-space: pre;
|
|
|
|
text-align: right;
|
|
|
|
}
|
|
|
|
|
|
|
|
.invoice td {
|
|
|
|
vertical-align: top;
|
|
|
|
}
|
|
|
|
|
2023-02-25 02:16:20 +00:00
|
|
|
.invoice tbody, .invoice .legal {
|
2023-02-24 11:22:15 +00:00
|
|
|
page-break-inside: avoid;
|
|
|
|
}
|
|
|
|
|
|
|
|
.invoice tbody tr {
|
|
|
|
background-color: initial;
|
|
|
|
}
|
|
|
|
|
|
|
|
.invoice tbody:not(:first-of-type) tr:first-child td, .invoice .tfoot th, .invoice .tfoot td {
|
|
|
|
padding-top: 1em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.invoice tbody .name td:first-child {
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
|
|
|
|
.invoice tbody td:first-child {
|
|
|
|
max-width: 20rem;
|
|
|
|
}
|
|
|
|
|
2023-02-25 02:16:20 +00:00
|
|
|
.invoice .legal {
|
|
|
|
margin-top: 16rem;
|
2023-02-24 11:22:15 +00:00
|
|
|
font-size: 1.2rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
@media print {
|
|
|
|
@page {
|
|
|
|
size: A4;
|
|
|
|
}
|
|
|
|
|
|
|
|
*, *::before, *::after {
|
|
|
|
box-sizing: border-box;
|
|
|
|
}
|
|
|
|
|
|
|
|
* {
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
html, body {
|
|
|
|
height: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
html {
|
|
|
|
font-family: sans-serif;
|
|
|
|
font-size: 62.5%;
|
|
|
|
}
|
|
|
|
|
|
|
|
body {
|
|
|
|
background-color: white;
|
|
|
|
color: black;
|
|
|
|
font-size: 1.6rem;
|
|
|
|
line-height: 1.5;
|
|
|
|
-webkit-font-smoothing: antialiased;
|
|
|
|
}
|
|
|
|
|
|
|
|
p, h1, h2, h3, h4, h5, h6 {
|
|
|
|
overflow-wrap: break-word;
|
|
|
|
}
|
|
|
|
|
|
|
|
table {
|
|
|
|
width: 100%;
|
|
|
|
border-collapse: collapse;
|
|
|
|
}
|
|
|
|
|
|
|
|
body > header, nav {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.invoice {
|
|
|
|
height: 100vh;
|
|
|
|
}
|
|
|
|
}
|