@import "fonts"; body { background: white; margin: 0; @media (prefers-color-scheme: dark) { background: #202120; color: white; } } main { transition: 0.24s; &.Loading { transition: 0.16s; opacity: 0.4; } &.InTransition { transform: scale(0.96); transition: 0.16s; opacity: 0; } } .container { max-width: 960px; width: 100%; margin: 0 auto; padding: 24px; box-sizing: border-box; } ul, ol { list-style-position: inside; } p { line-height: 1.6; opacity: 0.92; } img { max-width: 100%; } a { color: #527D52; @media (prefers-color-scheme: dark) { color: #D0DFD0; } &:visited { opacity: 0.9; } } .pageHero { background-image: linear-gradient(rgba(white, 0.9),rgba(white, 0.9)), // white overlay. yeah that's a bit of an ugly hack? url('/img/Panorama-Lens-Blur.png'); @media (prefers-color-scheme: dark) { background-image: linear-gradient(rgba(#101610, 0.9),rgba(#101610, 0.9)), url('/img/Panorama-Lens-Blur.png'); } background-position: center; background-size: cover; height: 220px; > .container { height: 100%; display: flex; flex-direction: row; align-items: center; justify-content: space-between; @media (max-width: 600px) { justify-content: center; } > div { display: flex; flex-direction: column; gap: 12px; &.Branding { align-items: flex-start; @media (max-width: 600px) { align-items: center; } @media (prefers-color-scheme: dark) { img { filter: invert(1) } } span { font-size: 24px; opacity: 0.75; } } &.Server-Information { @media (max-width: 600px) { display: none; } align-items: center; gap: 4px; input { text-align: center; font-size: 24px; &:not(:hover, :focus) { color: inherit; border-color: transparent; background: transparent; } } } } } } .Nav-Toggle { @media (min-width: 601px) { display: none; } z-index: 10; position: fixed; top: 8px; right: 8px; font-size: 18px; background: #527D52; color: #fff; padding: 8px 24px; border-radius: 32px; font-weight: bold; user-select: none; cursor: pointer; } .pageNav { width: 100%; border: solid #D0DFD0; border-width: 0 0 1px 0; background: #F9FFF9; @media (prefers-color-scheme: dark) { border-color: #575F57; background: #272F27; } > .container { padding: 16px 24px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; @media (max-width: 600px) { position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: 9; background: inherit; transition: 0.12s; &:not(.openned) { opacity: 0; pointer-events: none; transform: scale(1.2); transition: 0.24s; } } > div { margin: 0; display: flex; flex-wrap: wrap; gap: 6px; @media (max-width: 600px) { width: 100%; flex-direction: column; gap: 6px; align-items: center; } > a { user-select: none; font-size: 16px; box-sizing: border-box; color: #7E9E7E; @media (max-width: 600px) { font-size: 24px; width: 100%; padding: 12px 24px; text-align: center; } text-decoration: none; padding: 6px 20px; border-radius: 32px; outline: solid transparent 2px; transition: 0.24s; &.active { pointer-events: none; } &:hover, &.active { //background: rgba(15, 23, 42, 0.1); outline-color: #D0DFD0; color: #527D52; @media (prefers-color-scheme: dark) { color: #DEFEDE; outline-color: #707F70; } transition: 0.08s; } &.buttonPrimary { background: #527D52; color: #fff; font-weight: bold; } } } } } .pageContent { // } .pageFooter { opacity: 0.8; > .SNS-Links { display: flex; flex-wrap: wrap; gap: 16px; > a { display: flex; gap: 8px; font-size: 18px; color: inherit; img { width: 1em; @media (prefers-color-scheme: dark) { filter: invert(1); } } &:not(:hover, :focus) { text-decoration: none; } } } }