diff --git a/css/style.css b/css/style.css index e3a678c..08bb702 100644 --- a/css/style.css +++ b/css/style.css @@ -10,12 +10,8 @@ --color02: #ab7026; --color02_bright: #ea9a36; - --nav-maxwidth: 900px; - --nav-height: 5em; --body-maxwidth: 900px; - --footer-maxwidth: 900px; --footer-height: 3em; - --padding-border: 1em; } /******************* Page *******************/ @@ -30,9 +26,10 @@ html { min-height: 100vh } body { - margin: 0; + margin: auto; position: relative; height: 100%; + max-width: var(--body-maxwidth); } html, body { height: 100%; @@ -64,15 +61,15 @@ footer, #page-wrap:after { position: relative; padding: 2rem 1rem; } +#navbar .title{ + font-size: 2em; +} #navbar-right { position: absolute; right: 1em; bottom: 2em; } -#navbar .title{ - font-size: 2em; -} /******************* Footer *******************/