Fix the max body width

This commit is contained in:
Gregory Trolliet 2020-11-23 21:38:34 +01:00
parent e0eff29da3
commit 844ca51a49

View file

@ -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 *******************/