aboutsummaryrefslogtreecommitdiff
path: root/resume/src
diff options
context:
space:
mode:
Diffstat (limited to 'resume/src')
-rw-r--r--resume/src/styles.css12
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;
}
}