aboutsummaryrefslogtreecommitdiffhomepage
path: root/style.css
diff options
context:
space:
mode:
Diffstat (limited to 'style.css')
-rw-r--r--style.css4
1 files changed, 3 insertions, 1 deletions
diff --git a/style.css b/style.css
index 86e6e10..e3f34d6 100644
--- a/style.css
+++ b/style.css
@@ -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 {