html, body {
margin: 0;
border: 0;
padding: 0;
background-color: black;
color: var(--text-primary);
}
:root {
--primary: 238, 238, 238;
--secondary: 187, 187, 187;
--tertiary: 153, 153, 153;
--text-primary: #222;
--text-secondary: #888;
}
@media (prefers-color-scheme: dark) {
:root {
--primary: 34, 34, 34;
--secondary: 51, 51, 51;
--tertiary: 68, 68, 68;
--text-primary: #ddd;
--text-secondary: #999;
}
}
@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: inline-block;
}
.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;
}
}
@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;
}
}
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;
}
.header-image {
display: flex;
justify-content: center;
padding-top: 5px;
padding-left: 5px;
padding-right: 5px;
}
.mobile-nav-button {
display: block;
margin: auto;
}
.mobile-nav {
position: sticky;
bottom: 0;
background-color: rgb(var(--primary));
}
#nav-pin > a > span {
color: var(--text-primary)
}
.nav-button {
display: block;
height: 35px;
}
.nav-button > a {
display: flex;
height: inherit;
flex-flow: row nowrap;
}
.nav-button > a > span {
margin-top: auto;
margin-bottom: auto;
padding-left: 5px;
}
.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: inherit;
text-decoration: none;
}
.reference {
color: var(--text-secondary);
text-decoration: none;
padding: 5px;
font-size: 18px;
}