up
This commit is contained in:
+75
-63
@@ -1,79 +1,91 @@
|
||||
@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: light;
|
||||
font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
|
||||
color: #302c23;
|
||||
background: #f5f0e5;
|
||||
color-scheme: dark;
|
||||
font-family: system-ui, sans-serif;
|
||||
color: #f6ecd4;
|
||||
background: #26231e;
|
||||
line-height: 1.65;
|
||||
--ink: #302c23;
|
||||
--muted: #696153;
|
||||
--copper: #92502f;
|
||||
--line: #d6cbb6;
|
||||
--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: linear-gradient(#8d795008 1px, transparent 1px), linear-gradient(90deg, #8d795008 1px, transparent 1px); background-size: 32px 32px; }
|
||||
main { max-width: 1440px; margin: auto; padding: 0 22px 28px; }
|
||||
a { color: var(--copper); text-underline-offset: 4px; }
|
||||
a:hover { color: #64341e; }
|
||||
a:focus-visible { outline: 3px solid #71324b; outline-offset: 5px; }
|
||||
.topbar { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding: 24px 0; border-bottom: 1px solid var(--line); }
|
||||
.brand { color: var(--ink); font: 800 12px/1.5 monospace; letter-spacing: .08em; text-decoration: none; }
|
||||
.brand span { color: var(--copper); padding: 0 6px; }
|
||||
.nav-link { font-size: 12px; }
|
||||
.hero { display: grid; gap: 30px; padding: 38px 0 48px; }
|
||||
.eyebrow { color: var(--copper); font: 700 10px/1.7 monospace; letter-spacing: .12em; }
|
||||
h1 { font-size: clamp(32px, 3.3vw, 49px); font-weight: 850; line-height: 1.13; letter-spacing: -.045em; margin: 22px 0; }
|
||||
h1 em { color: #71324b; font-style: normal; }
|
||||
h2 { font-size: clamp(26px, 3vw, 36px); line-height: 1.2; letter-spacing: -.035em; margin: 12px 0 24px; }
|
||||
h3 { font-size: 23px; line-height: 1.3; letter-spacing: -.025em; margin: 10px 0; }
|
||||
.intro { max-width: 440px; color: var(--muted); font-size: 16px; margin-bottom: 26px; }
|
||||
.join-panel { border-left: 3px solid var(--copper); padding-left: 18px; }
|
||||
.server { margin: 0; }
|
||||
.server span { display: block; color: var(--muted); font: 700 10px/1.5 monospace; letter-spacing: .1em; margin-bottom: 4px; }
|
||||
code { font-size: 16px; overflow-wrap: anywhere; }
|
||||
#server-status { color: #41583a; font: 600 13px/1.6 monospace; margin: 7px 0 14px; }
|
||||
.button { display: inline-block; background: #80502f; color: #fff9eb; font-size: 14px; font-weight: 750; text-decoration: none; padding: 13px 22px; border: 1px solid #623a20; box-shadow: 3px 3px 0 #493221; }
|
||||
.button:hover { color: #fff; background: #623a20; }
|
||||
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; }
|
||||
.secondary { background: #eae1cf; color: var(--ink); box-shadow: 3px 3px 0 #c3b498; border-color: #c3b498; }
|
||||
.secondary:hover { background: #ddd0b7; color: var(--ink); }
|
||||
.hint { font-size: 12px; color: var(--muted); }
|
||||
#build-status { max-width: 400px; margin: 12px 0; }
|
||||
.telemost { font-size: 13px; }
|
||||
.hero-art { min-width: 0; margin: 0; align-self: center; background: #e9dfca; border: 1px solid #b8a98d; padding: 8px; box-shadow: 6px 6px 0 #e2d8c5; transform: rotate(1deg); }
|
||||
.hero-art img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; background: #d6cbb6; }
|
||||
figcaption { padding: 14px 6px 8px; font-size: 12px; color: var(--muted); }
|
||||
figcaption span { display: block; font: 700 9px/1.6 monospace; letter-spacing: .1em; color: var(--copper); margin-bottom: 3px; }
|
||||
.world { padding: 30px 0 44px; border-top: 1px solid var(--line); }
|
||||
.world-grid { display: grid; gap: 16px; }
|
||||
.theme { position: relative; min-width: 0; padding: 26px; border: 1px solid var(--line); background: #f9f5ec; }
|
||||
.theme-symbol { float: right; color: var(--copper); font: 40px/1 monospace; }
|
||||
.theme p:last-child { color: var(--muted); font-size: 14px; margin-bottom: 0; }
|
||||
.aviation { background: #edf0e7; }
|
||||
.aviation .eyebrow, .aviation .theme-symbol { color: #476047; }
|
||||
.winery { background: #f2e8e8; }
|
||||
.winery .eyebrow, .winery .theme-symbol { color: #71324b; }
|
||||
.downloads { display: grid; gap: 20px; }
|
||||
.downloads section { min-width: 0; border: 1px solid var(--line); border-top: 4px solid #ab8b60; background: #fcf9f1; padding: 26px; box-shadow: 4px 4px 0 #e5dccb; }
|
||||
#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: var(--copper); }
|
||||
.downloads h2 { font-size: 27px; }
|
||||
ol { padding-left: 22px; margin-top: 26px; }
|
||||
li { padding-left: 4px; margin-bottom: 12px; }
|
||||
.notice { font-size: 13px; border-left: 3px solid #71324b; padding-left: 14px; margin-top: 28px; }
|
||||
footer { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 14px; font-size: 12px; padding-top: 32px; margin-top: 36px; border-top: 1px solid var(--line); }
|
||||
footer span { color: var(--muted); font-family: monospace; }
|
||||
.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-right: 38px; padding-left: 38px; }
|
||||
.brand { font-size: 14px; }
|
||||
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: 32px; }
|
||||
.downloads section { padding: 28px; }
|
||||
}
|
||||
|
||||
@media (min-width: 1100px) {
|
||||
.hero { grid-template-columns: 0.95fr 1.3fr; align-items: center; gap: 52px; padding: 64px 0 70px; }
|
||||
.hero-art { margin-right: 7px; }
|
||||
.hero { min-height: 720px; padding: 56px; }
|
||||
.hero::before { background: linear-gradient(90deg, #151a14e8, #151a14a3 43%, #151a140d 75%); }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user