html, body { margin: 0; border: 0; padding: 0; background-color: black; color: var(--text-primary); } :root { --primary: 252, 237, 237; --secondary: 204, 173, 175; --tertiary: 153, 125, 127; --text-primary: #533; --text-secondary: #888; } @media (prefers-color-scheme: dark) { :root { --primary: 71, 15, 23; --secondary: 53, 12, 18; --tertiary: 36, 9, 14; --text-primary: #cdd; --text-secondary: #899; } :link { color: #99ccff; } :visited { color: #c78cff; } } @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; } .nav-button > a > .fa { margin: auto 5px auto 5px; width: 20px; } } @media screen and (min-width: 501px) and (max-width: 1099px) { .header-image > :nth-child(1) { display: none; } .header-image > :nth-child(2) { display: inline-block; margin-bottom: 3px; width: 32px; } .nav-button > a > :nth-child(2) { display: none; } .nav-button > a > :nth-child(1) { margin-left: auto; margin-right: auto; } .nav-button > a { padding-left: 2px; padding-right: 2px; } .body_decoration { display: none; } .nav { display: flex; flex-flow: column nowrap; max-width: 50px; } .space { display: none; } .mobile-nav { display: none; } #nav-pin { display: none; } .nav-button, .header-image { max-width: 50px; } .floatwrapper > div { max-width: 50px; } .nav-button > a > .fa { margin: auto; } } @media screen and (min-width: 1100px) { .header-image > :nth-child(1) { display: flex; } .header-image > :nth-child(2) { display: none; } .nav-button > div > :nth-child(2) { display: flex; } .nav { display: flex; flex-flow: column nowrap; } .space { display: unset; } .mobile-nav { display: none; } #nav-pin { display: block; } .nav-button > a { padding-left: 5px; padding-right: 5px; } .nav-button > a > .fa { margin: auto 5px auto 5px; width: 20px; } } body { display: flex; flex-flow: row nowrap; max-width: 100vw; min-height: 100vh; } .body-wrapper { display: flex; flex-flow: row nowrap; flex-grow: 1; z-index: 1; } main { display: flex; flex-flow: column nowrap; flex-grow: 7; flex-basis: min-content; text-align: justify; text-justify: inter-word; word-spacing: 2px; line-height: 22px; } .body_decoration { background-color: rgba(var(--primary), 0.7); mask-image: url(/assets/image/decoration.png); mask-size: 50px; mask-repeat: repeat-y; width: 50px; -webkit-mask-image: url(/assets/image/decoration.png); -webkit-mask-size: 50px; -webkit-mask-repeat: repeat-y; } .space { flex-grow: 2; } #content { flex-grow: 1; padding-left: 10px; padding-right: 10px; background-color: rgba(var(--primary), 0.7); } .icon { width: 32px; height: 32px; } .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; overflow: auto; z-index: 2; } .header-image { display: flex; justify-content: center; padding-top: 5px; padding-left: 5px; padding-right: 5px; } .mobile-nav-button { display: grid; justify-content: center; align-content: center; width: 100%; height: 100%; text-decoration: none; color: var(--text-primary); } .mobile-nav { position: sticky; bottom: 0; background-color: rgb(var(--primary)); } #nav-pin > a > span { color: var(--text-primary) } .nav-button { display: block; height: 30px; } .nav-button > a { display: flex; height: inherit; flex-flow: row nowrap; color: var(--text-primary); } .nav-button > a > span { margin-top: auto; margin-bottom: auto; } .nav-button:hover, .header-image:hover { cursor: pointer; background-color: rgb(var(--secondary)); } .nav-button > a:link, .nav-button > a:visited .nav-button > a { color: var(--text-primary); text-decoration: none; } .reference { color: var(--text-secondary); text-decoration: none; padding: 5px; font-size: 18px; } .card { display: flex; background-color: rgba(var(--primary), 0.8); padding: 10px; } .card > div { flex-grow: 1; } .card > div > hr { color: var(--text-secondary); } .card-image { max-width: 100px; max-height: 100px; border: 2px solid rgb(var(--secondary)); margin-right: 10px; } .card-body { width: 100%; margin-top: 3px; } .card-body > p { margin: 0px; margin-top: 5px; } .card-head { font-weight: bold; }