From 0bed6548a8292116199d1f5e27cf74a61aecd276 Mon Sep 17 00:00:00 2001 From: Danila Fedorin Date: Sun, 10 Nov 2019 17:12:00 -0800 Subject: [PATCH] Add media query display to regular version of resume --- css/style.css | 10 ++++++++++ scss/style.scss | 11 +++++++++++ 2 files changed, 21 insertions(+) diff --git a/css/style.css b/css/style.css index 900ab55..8e81f08 100644 --- a/css/style.css +++ b/css/style.css @@ -12,6 +12,16 @@ body { font-family: "Raleway"; line-height: 1.3em; font-size: 14px; } + @media not print { + body { + max-width: 215.9mm; + max-height: 279.4mm; + overflow: hidden; + margin-top: 10px; + padding-top: 5px; + margin-left: auto; + margin-right: auto; + box-shadow: 0px 0px 5px #dadada; } } header { text-align: center; diff --git a/scss/style.scss b/scss/style.scss index fcd054d..5df5a0e 100644 --- a/scss/style.scss +++ b/scss/style.scss @@ -22,6 +22,17 @@ body { font-family: $text-font; line-height: 1.3em; font-size: 14px; + + @media not print { + max-width: 215.9mm; + max-height: 279.4mm; + overflow: hidden; + margin-top: 10px; + padding-top: 5px; + margin-left: auto; + margin-right: auto; + box-shadow: 0px 0px 5px #dadada; + } } header {