From e507670053d2c32779319ad1a82b7c18ffe78841 Mon Sep 17 00:00:00 2001 From: Syndamia Date: Mon, 22 Feb 2021 15:41:55 +0200 Subject: Made resume page content size to be an A4 sheet of paper --- resume/src/styles.css | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/resume/src/styles.css b/resume/src/styles.css index 3601e33..b263e24 100644 --- a/resume/src/styles.css +++ b/resume/src/styles.css @@ -16,19 +16,18 @@ hr { } body { - width: 100vw; - height: 100vh; - padding: var(--padding); + width: 100%; + height: 100%; margin: 0; - box-sizing: border-box; background-color: white; } #content { - width: 100%; - height: 100%; - box-sizing: border-box; + /* The size of an A4 sheet of paper */ + width: 210mm; + height: 297mm; border: 3px solid var(--font-color); + margin: var(--padding) auto; overflow-y: auto; padding: var(--padding); display: flex; -- cgit v1.2.3