diff options
-rw-r--r-- | src/styles/resume.css | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/src/styles/resume.css b/src/styles/resume.css index 78de203..8fbfdfc 100644 --- a/src/styles/resume.css +++ b/src/styles/resume.css @@ -3,26 +3,32 @@ @media print { html { max-width: 85%; + margin-top: 0; + margin-bottom: 0; } h1, h2, h3, h4 { - page-break-after:avoid; break-after: avoid; } + } @page { size: A3 portrait; + margin-top: 4em; + margin-bottom: 4em; + @bottom-right-corner { + content: counter(page) '/' counter(pages); + margin-left: 1em; + } } -body > ul > li, -ul > ul, -ul > ul > li { +body > ul > li { break-inside: avoid; } @@ -33,3 +39,4 @@ ul:nth-of-type(1) { .job-meta { float: right; } + |