From d7088515b4a924a4c4919507c6e4a10b6e680bcc Mon Sep 17 00:00:00 2001 From: Emil Miler Date: Tue, 28 Apr 2020 17:28:04 +0200 Subject: [PATCH] =?UTF-8?q?Maxim=C3=A1ln=C3=AD=20=C5=A1=C3=AD=C5=99ka=20st?= =?UTF-8?q?r=C3=A1nky=20v=20prom=C4=9Bnn=C3=A9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sass/style.scss | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/sass/style.scss b/sass/style.scss index 8a28fd8..de2d91f 100644 --- a/sass/style.scss +++ b/sass/style.scss @@ -1,5 +1,9 @@ +// Colours $primary: #d22d40; $secondary: #8cc04b; + +// Dimensions +$page-width: 800px; $logo-diameter: 20mm; // No less than 15mm as per usage regulations html { background: url(/bgn.jpg) center top; } @@ -10,7 +14,7 @@ body { padding: 0 1em; font-family: Arial, Helvetica, sans-serif; font-size: 1.2em; - max-width: 800px; + max-width: $page-width; } #header a, #menu a, #nav a { @@ -177,6 +181,6 @@ body { ::selection{background:#ffffb2} -@media screen and (max-width: 800px){ +@media screen and (max-width: $page-width){ body{ padding: 0; } }