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 {