Maximální šířka stránky v proměnné

master
Emil Miler 5 years ago
parent b78d2210e0
commit d7088515b4

@ -1,5 +1,9 @@
// Colours
$primary: #d22d40; $primary: #d22d40;
$secondary: #8cc04b; $secondary: #8cc04b;
// Dimensions
$page-width: 800px;
$logo-diameter: 20mm; // No less than 15mm as per usage regulations $logo-diameter: 20mm; // No less than 15mm as per usage regulations
html { background: url(/bgn.jpg) center top; } html { background: url(/bgn.jpg) center top; }
@ -10,7 +14,7 @@ body {
padding: 0 1em; padding: 0 1em;
font-family: Arial, Helvetica, sans-serif; font-family: Arial, Helvetica, sans-serif;
font-size: 1.2em; font-size: 1.2em;
max-width: 800px; max-width: $page-width;
} }
#header a, #menu a, #nav a { #header a, #menu a, #nav a {
@ -177,6 +181,6 @@ body {
::selection{background:#ffffb2} ::selection{background:#ffffb2}
@media screen and (max-width: 800px){ @media screen and (max-width: $page-width){
body{ padding: 0; } body{ padding: 0; }
} }