diff options
-rw-r--r-- | style.css | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -1,4 +1,5 @@ :root { + --screen-width: 70%; --slider-color: #FFFFFF; --slider-bg-on-color: #2196F3; --slider-bg-off-color: #CCCCCC; @@ -25,7 +26,7 @@ body { margin-bottom: 20px; margin-left: auto; margin-right: auto; - max-width: 70%; + max-width: var(--screen-width); padding-left: 30px; padding-right: 30px; } @@ -52,6 +53,7 @@ h1 { font-size: 2em; position: relative; top: 0.33em; + width: var(--screen-width); } h1, h3 { |