html, body { margin: 0; border: 0; padding: 0; background-color: black; color: var(--text-primary); } :root { --primary: 244, 238, 238; --secondary: 187, 187, 187; --tertiary: 153, 153, 153; --text-primary: #222; } @media (prefers-color-scheme: dark) { :root { --primary: 34, 34, 34; --secondary: 51, 51, 51; --tertiary: 68, 68, 68; --text-primary: #ddd; } } @media screen and (max-width: 500px) { #nav, #space { display: none; } #mobile-nav { display: grid; height: 70px; grid-template-columns: 20% 20% 20% 20% 20%; } .body_decoration { display: none; } } @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; } .body_decoration { 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 */ #content { background-color: rgba(var(--primary), 0.7); word-break: break-all; } #mobile-nav { background-color: rgb(var(--primary)); } /* 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; } .body_decoration { background-color: rgba(var(--primary), 0.7); mask-image: url(/assets/image/footer.png); mask-size: 50px; mask-repeat: repeat-y; width: 50px; -webkit-mask-image: url(/assets/image/footer.png); -webkit-mask-size: 50px; -webkit-mask-repeat: repeat-y; } #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 { background-color: rgb(var(--primary)); top: 0; position: sticky; align-content: space-between; display: grid; height: 100vh; } .floatwrapper > div > div { padding-left: 5px; padding-right: 5px; } .header-image { display: flex; justify-content: center; padding-top: 5px; } .mobile-nav-button { display: block; margin: auto; } #mobile-nav { position: sticky; bottom: 0; } #nav-pin > a > span { color: var(--text-primary) } .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: inherit; text-decoration: none; }