/******************* Main layout *******************/ @media screen and (max-width: 768px) { .post { margin-bottom: calc(-1 * var(--footer-height-block)); } .post_body { margin: 0 1em; } .post:after { height: var(--footer-height-block); } .footer { height: var(--footer-height-block); padding: 1em 0; } .footer address { display: block; } .footer p { line-height: 2em; } .front-screen { margin-left: 1em; padding-left: 0; } .section { width: 100%; padding: 1em 1em; } } /******************* Navbar Menu *******************/ @media screen and (min-width: 768px) { #navigation-list { position: relative; float: right; top: 0; max-height: none; visibility: visible; opacity: 100; width: auto; border: none; font-size: 1em; margin-top: 0; } #navigation-list .navigation-item { display: inline-block; line-height: 4rem; } #navigation-list .navigation-item a, #navigation-list .navigation-item span { line-height: 1rem; } #menu-toggle:checked + label + ul { visibility: visible; opacity: 1; } #navigation .menu-button { display: none; } }