html, body { margin: 0; border: 0; padding: 0; background-color: black; } @media screen and (max-width: 500px) { #nav, #space { display: none; } #mobile-nav { display: grid; height: 70px; grid-template-columns: 20% 20% 20% 20% 20%; } } @media screen and (min-width: 501px) and (max-width: 1099px) { .header-image > :nth-child(1) { display: none; } .header-image > :nth-child(2) { display: flex; } .nav-button > :nth-child(2) { display: none; } #nav { display: flex; flex-flow: column nowrap; width: 50px; } #space { display: none; } #mobile-nav { display: none; } #nav-pin { display: none; } } @media screen and (min-width: 1100px) { .header-image > :nth-child(1) { display: flex; } .header-image > :nth-child(2) { display: none; } .nav-button > :nth-child(2) { display: flex; } #nav { display: flex; flex-flow: column nowrap; } #space { display: unset; } #mobile-nav { display: none; } #nav-pin { display: block; } } body { display: flex; flex-flow: row nowrap; max-width: 100vw; width: 100vw; min-height: 100vh; } /* TESTING */ #nav { background-color: #fff; } #content { background-color: #ddda; } #mobile-nav { background-color: #fff; } /* END TESTING */ #body-wrapper { display: flex; flex-flow: row nowrap; flex-grow: 1; background-image: url("/assets/image/background.jpg"); background-size: cover; } #body { display: flex; flex-flow: column nowrap; flex-grow: 7; } #space { flex-grow: 2; } #content { flex-grow: 1; padding: 5px; } .noaa { image-rendering: -moz-crisp-edges; image-rendering: -o-crisp-edges; image-rendering: pixelated; } .floatwrapper { position: sticky; align-content: space-between; padding: 5px 0px 5px 0px; display: grid; height: 100%; flex-grow: 1; } .floatwrapper > div > div { padding: 0px 5px 0px 5px; } .header-image { display: flex; justify-content: center; } .mobile-nav-button { display: block; margin: auto; } .nav-button { display: block; height: 35px; } .nav-button > a { display: flex; height: inherit; flex-flow: column nowrap; justify-content: center; padding-left: 5px; } .nav-button:hover, .header-image:hover { cursor: pointer; background-color: grey; } .nav-button > a:link, .nav-button > a:visited .nav-button > a { color: black; text-decoration: none; }