92 lines
6.4 KiB
CSS
92 lines
6.4 KiB
CSS
@font-face {
|
|
font-family: 'Press Start 2P';
|
|
src: url('/minecraft/fonts/PressStart2P-Regular.ttf') format('truetype');
|
|
font-display: swap;
|
|
font-style: normal;
|
|
font-weight: 400;
|
|
}
|
|
|
|
:root {
|
|
color-scheme: dark;
|
|
font-family: system-ui, sans-serif;
|
|
color: #f6ecd4;
|
|
background: #26231e;
|
|
line-height: 1.65;
|
|
--pixel: 'Press Start 2P', monospace;
|
|
--muted: #ded3bd;
|
|
--copper: #e2ac69;
|
|
--edge: #191612;
|
|
}
|
|
|
|
* { box-sizing: border-box; }
|
|
html { scroll-padding-top: 24px; }
|
|
body { margin: 0; background-image: repeating-linear-gradient(0deg, #0000 0 31px, #0003 31px 34px), repeating-linear-gradient(90deg, #0000 0 63px, #ffffff04 63px 66px); }
|
|
main { max-width: 1440px; margin: auto; padding: 18px 16px 28px; }
|
|
a { color: #ffe3a0; text-underline-offset: 4px; }
|
|
a:hover { color: #fff; }
|
|
a:focus-visible { outline: 3px solid #ffdf61; outline-offset: 5px; }
|
|
.topbar { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 18px; padding: 16px; background: repeating-linear-gradient(0deg, #0000 0 14px, #0002 14px 17px), #68482e; border: 4px solid var(--edge); box-shadow: inset 3px 3px #987048, inset -3px -3px #3d2a1b, 0 5px #0005; }
|
|
.brand { color: #fff0c8; font: 400 9px/1.8 var(--pixel); text-decoration: none; text-shadow: 2px 2px #302214; }
|
|
.brand span { color: #dba16b; padding: 0 6px; }
|
|
.nav-link { font: 400 10px/1.8 var(--pixel); }
|
|
.hero { position: relative; isolation: isolate; display: flex; align-items: center; min-height: 670px; margin: 20px 0 44px; padding: 32px 20px; border: 4px solid #191612; box-shadow: inset 0 0 0 3px #ba8b50, 6px 6px #0005; background: #3b4934 url('/minecraft/workshop.webp') 60% center / cover no-repeat; }
|
|
.hero::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, #171a16ed, #171a16bb 45%, #171a1633); }
|
|
.hero-copy { width: 100%; max-width: 600px; }
|
|
.eyebrow { color: #f1bf73; font: 400 9px/1.9 var(--pixel); }
|
|
h1 { color: #f4e8cb; font: 400 clamp(23px, 4vw, 48px)/1.4 var(--pixel); letter-spacing: -1px; text-shadow: 3px 3px #5b422b, 6px 6px #181711; margin: 24px 0; }
|
|
h2 { font: 400 clamp(15px, 2vw, 22px)/1.7 var(--pixel); margin: 16px 0 24px; text-shadow: 2px 2px #0008; }
|
|
h3 { font: 400 14px/1.8 var(--pixel); margin: 14px 0; text-shadow: 2px 2px #0008; }
|
|
.intro { max-width: 460px; color: #fff3d9; font-size: 18px; margin-bottom: 24px; text-shadow: 1px 2px #111; }
|
|
.join-panel { max-width: 430px; background: #494b43f5; border: 4px solid #1c211b; padding: 20px 16px; box-shadow: inset 3px 3px #92927b, inset -3px -3px #30352b, 5px 5px #0005; }
|
|
.server { margin: 0; padding: 12px; border: 3px solid #252a22; background: #24291f; box-shadow: inset 2px 2px #10170f, inset -2px -2px #6d725e; }
|
|
.server span { display: block; color: #cabd9e; font: 400 8px/1.8 var(--pixel); margin-bottom: 7px; }
|
|
code { font: 600 17px/1.6 monospace; color: #fff3ca; overflow-wrap: anywhere; }
|
|
#server-status { color: #d2f2b0; font: 600 14px/1.6 monospace; margin: 12px 0 16px; }
|
|
.button, .nav-link, footer a { display: inline-block; color: #fff8e7; text-decoration: none; text-align: center; background: #72716a; border: 3px solid #191a16; padding: 13px 16px; box-shadow: inset 3px 3px #b9b7a7, inset -3px -3px #48483e, 3px 3px #0005; text-shadow: 2px 2px #222; }
|
|
.button { font: 400 10px/1.9 var(--pixel); }
|
|
.button:hover, .nav-link:hover, footer a:hover { background-color: #858b70; color: #ffffbf; box-shadow: inset 3px 3px #d4dab1, inset -3px -3px #535d43, 3px 3px #0005; }
|
|
.button:active, .nav-link:active, footer a:active { box-shadow: inset 3px 3px #414535, inset -2px -2px #a0ab83; transform: translate(2px, 2px); }
|
|
.button[hidden] { display: none; }
|
|
#build-download { display: block; background-color: #526f36; box-shadow: inset 3px 3px #8eac60, inset -3px -3px #2e4924, 3px 3px #0005; }
|
|
#build-download[hidden] { display: none; }
|
|
#build-download:hover { background-color: #657f42; }
|
|
#build-download:active { box-shadow: inset 3px 3px #2e4924, inset -2px -2px #8eac60; }
|
|
.telemost { display: block; }
|
|
.hint { font-size: 12px; color: var(--muted); overflow-wrap: anywhere; }
|
|
#build-status { margin: 12px 0; }
|
|
.world { margin-bottom: 34px; }
|
|
.section-heading { width: fit-content; max-width: 100%; margin: 0 auto 24px; padding: 16px 24px; text-align: center; border: 4px solid #241b13; background: repeating-linear-gradient(0deg, #0000 0 17px, #0002 17px 20px), #63462e; box-shadow: inset 3px 3px #9b7046, inset -3px -3px #39291d, 5px 5px #0004; }
|
|
.section-heading h2 { margin-bottom: 4px; }
|
|
.world-grid { display: grid; gap: 20px; }
|
|
.theme { min-width: 0; padding: 24px; border: 4px solid #33261b; background: #4d493d; box-shadow: inset 3px 3px #a48d67, inset -3px -3px #29271f, 4px 4px #0005; }
|
|
.theme-symbol { display: grid; width: 74px; height: 74px; place-items: center; border: 4px solid #25251f; background: #97917c; box-shadow: inset 3px 3px #5b5c4d, inset -3px -3px #c7bca0; }
|
|
.theme-symbol svg { image-rendering: pixelated; filter: drop-shadow(3px 3px #0005); }
|
|
.theme .eyebrow { margin-top: 24px; }
|
|
.theme p:last-child { color: #e7dfc9; font-size: 15px; margin-bottom: 0; }
|
|
.aviation { background: #3e4c46; }
|
|
.winery { background: #514044; }
|
|
.downloads { display: grid; gap: 24px; }
|
|
.downloads section { min-width: 0; border: 4px solid #1c1d19; background: repeating-linear-gradient(0deg, #ffffff03 0 3px, #0000 3px 8px), #53554d; padding: 24px 20px; box-shadow: inset 4px 4px #97998a, inset -4px -4px #30332c, 5px 5px #0005; }
|
|
.downloads section > p { color: var(--muted); }
|
|
.downloads section > .eyebrow { color: #f1bf73; }
|
|
ol { padding-left: 22px; margin-top: 24px; }
|
|
li { padding-left: 4px; margin-bottom: 14px; }
|
|
li::marker { color: #f5c982; font-weight: 800; }
|
|
.notice { font-size: 13px; border-left: 4px solid #e7b05f; background: #272b23; padding: 14px; margin-top: 26px; }
|
|
footer { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px; font-size: 12px; padding: 24px 0 4px; margin-top: 16px; }
|
|
footer span { color: #c5c1ac; font-family: monospace; }
|
|
|
|
@media (min-width: 700px) {
|
|
main { padding: 24px 32px 32px; }
|
|
.brand { font-size: 12px; }
|
|
.hero { padding: 48px; }
|
|
.world-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
|
|
.downloads { grid-template-columns: repeat(2, minmax(0, 1fr)); }
|
|
.downloads section { padding: 28px; }
|
|
}
|
|
|
|
@media (min-width: 1100px) {
|
|
.hero { min-height: 720px; padding: 56px; }
|
|
.hero::before { background: linear-gradient(90deg, #151a14e8, #151a14a3 43%, #151a140d 75%); }
|
|
}
|