77 lines
4.8 KiB
HTML
77 lines
4.8 KiB
HTML
|
|
<!doctype html>
|
||
|
|
<html>
|
||
|
|
<head>
|
||
|
|
<meta charset="utf-8">
|
||
|
|
<style>
|
||
|
|
@font-face { font-family: Geist; src: url(fonts/geist.woff2) format("woff2"); font-weight: 100 900; }
|
||
|
|
@font-face { font-family: Inter; src: url(fonts/inter.woff2) format("woff2"); font-weight: 100 900; }
|
||
|
|
@font-face { font-family: Rajdhani; src: url(fonts/rajdhani-700.woff2) format("woff2"); font-weight: 700; }
|
||
|
|
:root {
|
||
|
|
--background: #050805; /* Blax black */
|
||
|
|
--accent: #19C63C; /* Blax green */
|
||
|
|
--logo-gray: #CDCDCD;
|
||
|
|
--heading: oklch(98% .008 145);
|
||
|
|
--foreground: oklch(97% .01 145);
|
||
|
|
--muted-foreground: oklch(75% .015 145);
|
||
|
|
--border: oklch(30% .016 145);
|
||
|
|
}
|
||
|
|
* { box-sizing: border-box; margin: 0; padding: 0; }
|
||
|
|
html, body { width: 1280px; height: 720px; background: var(--background); overflow: hidden; }
|
||
|
|
body { font-family: Inter, sans-serif; color: var(--foreground); position: relative; }
|
||
|
|
|
||
|
|
.top { position: absolute; left: 72px; right: 72px; top: 52px; display: flex; align-items: center; justify-content: space-between; }
|
||
|
|
.brand { display: flex; align-items: center; gap: 16px; }
|
||
|
|
.brand img { width: 56px; height: 56px; }
|
||
|
|
.wordmark { font-family: Rajdhani, sans-serif; font-weight: 700; font-size: 40px; line-height: 1; letter-spacing: -0.01em; color: var(--heading); }
|
||
|
|
.wordmark span { color: var(--accent); }
|
||
|
|
|
||
|
|
.hero { position: absolute; left: 72px; top: 158px; width: 600px; }
|
||
|
|
h1 { font-family: Geist, sans-serif; font-weight: 600; font-size: 178px; line-height: .9; letter-spacing: -0.045em; color: var(--heading); }
|
||
|
|
.sub { margin-top: 26px; font-family: Geist, sans-serif; font-weight: 600; font-size: 46px; line-height: 1; letter-spacing: -0.03em; color: var(--accent); }
|
||
|
|
.lede { margin-top: 18px; font-size: 23px; line-height: 1.4; color: var(--muted-foreground); max-width: 560px; }
|
||
|
|
|
||
|
|
/* "Laws" is short, so the feature column starts 60 px further left than Zones' and its longer row titles fit on one line. */
|
||
|
|
.features { position: absolute; left: 700px; right: 72px; top: 150px; bottom: 56px; display: flex; flex-direction: column; border-left: 1px solid var(--border); }
|
||
|
|
.feature { flex: 1; display: flex; align-items: center; gap: 24px; padding-left: 40px; border-top: 1px solid var(--border); }
|
||
|
|
.feature:first-child { border-top: 0; }
|
||
|
|
.feature svg { width: 40px; height: 40px; flex: none; color: var(--accent); }
|
||
|
|
.feature h2 { font-family: Geist, sans-serif; font-weight: 600; font-size: 31px; line-height: 1.05; letter-spacing: -0.03em; color: var(--heading); }
|
||
|
|
.feature p { margin-top: 6px; font-size: 19px; line-height: 1.35; color: var(--muted-foreground); }
|
||
|
|
</style>
|
||
|
|
</head>
|
||
|
|
<body>
|
||
|
|
<div class="top">
|
||
|
|
<div class="brand">
|
||
|
|
<img src="blax-monogram.svg" alt="">
|
||
|
|
<div class="wordmark">Blax <span>Gaming</span></div>
|
||
|
|
</div>
|
||
|
|
</div>
|
||
|
|
|
||
|
|
<div class="hero">
|
||
|
|
<h1>Blax<br>Laws</h1>
|
||
|
|
<div class="sub">for RimWorld 1.7</div>
|
||
|
|
<p class="lede">Write your colony's laws.<br>Wardens stop and jail whoever breaks them.</p>
|
||
|
|
</div>
|
||
|
|
|
||
|
|
<!-- lucide icons (ISC license): book-open-text, fingerprint, lock-keyhole, gavel -->
|
||
|
|
<div class="features">
|
||
|
|
<div class="feature">
|
||
|
|
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M12 5v16m4-8h2m-2-4h2m2.001 10A2 2 0 0 0 22 17V5a2 2 0 0 0-1.999-2L16 3.002A5 5 0 0 0 12 5a5 5 0 0 0-4-2H4a2 2 0 0 0-2 2v12a2 2 0 0 0 1.999 2H8a5 5 0 0 1 4 2a5 5 0 0 1 4-2zM6 13h2M6 9h2"/></svg>
|
||
|
|
<div><h2>Write your own lawbook</h2><p>Empty until you add a law.</p></div>
|
||
|
|
</div>
|
||
|
|
<div class="feature">
|
||
|
|
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M12 10a2 2 0 0 0-2 2c0 1.02-.1 2.51-.26 4M14 13.12c0 2.38 0 6.38-1 8.88m4.29-.98c.12-.6.43-2.3.5-3.02M2 12a10 10 0 0 1 18-6M2 16h.01m19.79 0c.2-2 .131-5.354 0-6"/><path d="M5 19.5C5.5 18 6 15 6 12a6 6 0 0 1 .34-2m2.31 12c.21-.66.45-1.32.57-2M9 6.8a6 6 0 0 1 9 5.2v2"/></svg>
|
||
|
|
<div><h2>Any act can be a crime</h2><p>Every break, drug, meal and bill.</p></div>
|
||
|
|
</div>
|
||
|
|
<div class="feature">
|
||
|
|
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><circle cx="12" cy="16" r="1"/><rect width="18" height="12" x="3" y="10" rx="2"/><path d="M7 10V7a5 5 0 0 1 10 0v3"/></svg>
|
||
|
|
<div><h2>Subdue or jail</h2><p>A binge stopped before the first dose.</p></div>
|
||
|
|
</div>
|
||
|
|
<div class="feature">
|
||
|
|
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="m14 13l-8.381 8.38a1 1 0 0 1-3.001-3l8.384-8.381M16 16l6-6m-.5.5l-8-8M8 8l6-6M8.5 7.5l8 8"/></svg>
|
||
|
|
<div><h2>Court and votes planned</h2><p>Trials, judges and laws put to a vote.</p></div>
|
||
|
|
</div>
|
||
|
|
</div>
|
||
|
|
</body>
|
||
|
|
</html>
|