mirror of
https://git.coop/cotech/fund.git
synced 2024-12-22 02:55:24 +00:00
90db2499d0
I based the pandoc stuff on a blog post[1] I found. I've generated 4 receipts for the contributions in `statements/statement_2019-04-17_2019-06-03.pdf`. [1] https://medium.com/@martin_betz/generate-pdf-invoices-from-markdown-using-pandoc-5cb3fe84ba3a
102 lines
1.3 KiB
CSS
102 lines
1.3 KiB
CSS
@charset "utf-8";
|
|
|
|
body {
|
|
font-size: 10.5pt;
|
|
font-family: "Avenir Next", -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
|
|
hyphens: auto;
|
|
height: 270mm; /* 297 - 10 (top) - 20 (bottom) */
|
|
line-height: 140%;
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
|
|
code {
|
|
font-family: "Source Sans Code", Courier New, Courier, monospace;
|
|
margin-left: 1pt;
|
|
}
|
|
|
|
a {
|
|
color: black;
|
|
margin-left: 1pt;
|
|
}
|
|
|
|
table {
|
|
width: 100%;
|
|
}
|
|
|
|
table:nth-of-type(3) {
|
|
border: 1px solid black;
|
|
padding: 5pt;
|
|
}
|
|
|
|
table:nth-of-type(3) td:nth-of-type(2) {
|
|
text-align: center;
|
|
}
|
|
|
|
h1 {
|
|
font-size: 13pt;
|
|
margin-top: 6pt;
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
h2 {
|
|
font-size: 10.5pt;
|
|
font-weight: normal;
|
|
margin-top: 0;
|
|
margin-bottom: 20pt;
|
|
}
|
|
|
|
p {
|
|
width: 100%;
|
|
}
|
|
|
|
p:first-of-type {
|
|
font-size: 9pt;
|
|
word-spacing: 1pt;
|
|
}
|
|
|
|
/*p:first-of-type::after {
|
|
content: "\2014";
|
|
position: absolute;
|
|
top: 89mm; / 99mm - 10mm top /
|
|
right: 0mm;
|
|
|
|
}*/
|
|
|
|
p:nth-of-type(2) {
|
|
margin-top: 20mm;
|
|
}
|
|
|
|
p:nth-of-type(3) {
|
|
text-align: left;
|
|
}
|
|
|
|
p:nth-last-of-type(3) {
|
|
margin-top: 10mm;
|
|
}
|
|
|
|
p:last-of-type {
|
|
text-align: justify;
|
|
font-size: 9pt;
|
|
position: absolute;
|
|
bottom: 2mm;
|
|
margin-bottom: 0;
|
|
padding-bottom: 0;
|
|
/* word-spacing: 1pt; */
|
|
color: #444;
|
|
}
|
|
|
|
hr {
|
|
border: 1px solid #eee;
|
|
}
|
|
|
|
hr:last-of-type {
|
|
position: absolute;
|
|
bottom: 14mm;
|
|
width: 100%;
|
|
}
|
|
|
|
figure {
|
|
margin: 0;
|
|
}
|