Skip to content

Commit

Permalink
Merge pull request #23 from invopop/din5008_header
Browse files Browse the repository at this point in the history
Add din5008 header option
  • Loading branch information
beliolfa authored Jan 21, 2025
2 parents 8a6cb0d + 113032e commit 770ece8
Show file tree
Hide file tree
Showing 36 changed files with 546 additions and 578 deletions.
3 changes: 3 additions & 0 deletions .prettierrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"tabWidth": 4
}
38 changes: 30 additions & 8 deletions assets/styles/envelope.css
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,11 @@
counter-increment: page;
font-size: 9pt;
line-height: 1.5em;
color: #4B5563;
color: #4b5563;
}
@page Letter {
size: letter portrait;
margin: 1in;
}
body {
font-family: "Inter", sans-serif;
Expand All @@ -16,12 +20,15 @@ body {
margin-bottom: 0mm;
/* color: #030712; */
/* color: #6B7280; */
color: #4B5563;
color: #4b5563;
}
body.letter {
page: Letter;
}
@media screen {
body {
margin: 10mm;
}
}
footer.screen {
display: block;
}
Expand All @@ -32,22 +39,37 @@ body {
article.envelope {
min-height: 100%;
}
article, section, header, div, h1, h2, h3, h4, table, th, td, p {
article,
section,
header,
div,
h1,
h2,
h3,
h4,
table,
th,
td,
p {
font-size: 1em;
margin: 0;
}
h1, h2, h3, h4 {
h1,
h2,
h3,
h4 {
font-weight: 500;
/* color: #030712; */
}
a {
color: #4B5563;
color: #4b5563;
}
table {
border-spacing: 0;
border-collapse: collapse;
}
th, td {
th,
td {
text-align: left;
}
section.footer span.page-number:before {
Expand Down Expand Up @@ -95,4 +117,4 @@ footer .gobl-logo img {
}
footer.print .gobl-logo {
margin-top: -7mm;
}
}
Loading

0 comments on commit 770ece8

Please sign in to comment.