diff options
| author | Syndamia <kamen.d.mladenov@protonmail.com> | 2021-02-22 16:51:00 +0200 |
|---|---|---|
| committer | Syndamia <kamen.d.mladenov@protonmail.com> | 2021-02-22 16:51:00 +0200 |
| commit | 2738048a6d0d542f345c73e020b6472644c031ff (patch) | |
| tree | 6d6e9223df2eb15246c97a7e5296b80dba5c3a02 /resume/src/styles.css | |
| parent | 73f60f4364a5650c9ac7aaf8556d1ee30145b4f8 (diff) | |
| download | css-snippets-2738048a6d0d542f345c73e020b6472644c031ff.tar css-snippets-2738048a6d0d542f345c73e020b6472644c031ff.tar.gz css-snippets-2738048a6d0d542f345c73e020b6472644c031ff.zip | |
Fixed resume printing margins
Diffstat (limited to 'resume/src/styles.css')
| -rw-r--r-- | resume/src/styles.css | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/resume/src/styles.css b/resume/src/styles.css index f7e5da5..420c624 100644 --- a/resume/src/styles.css +++ b/resume/src/styles.css @@ -30,6 +30,7 @@ body { .content { border: 3px solid var(--font-color); + box-sizing: border-box; padding: var(--padding); display: flex; flex-direction: column; @@ -151,16 +152,15 @@ body { } /* Proper printing */ + @page { size: A4; - margin: 0; + margin: 5mm; } @media print { - html, body { - width: 210mm; - height: 297mm; - } - .a4-paper { + html, body, .a4-paper { + width: 100%; + height: 100%; margin: 0; } } |
