Files
horizon-airdef/website/src/docs.html
T
Ludovic Marie 70c06224fe Website: the Blocks look, a blocky Minecraft-like design in Horizon's purple
horizon-theme gains the Blocks palettes (light and dark, WCAG AA on every panel and on the stone),
Pixelify Sans (OFL) and Pixelarticons (MIT); tokens.css now carries the Blocks colours, the pixel
font and the block edges. The site sets headings, navigation and buttons in Pixelify Sans, turns
the index lists into stacks of panels with an outline, a bevel and a lip, puts a stone texture
behind the page and Horizon's pixel landscape (a dawn or a sunset) behind the hero, both drawn in
code by scripts/art.mjs. Light and dark still follow the system, with the toggle.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-22 19:29:41 +02:00

64 lines
3.2 KiB
HTML

<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>{{DOC_TITLE}} · Horizon docs</title>
<meta name="description" content="{{DOC_DESC}}">
<meta name="theme-color" content="#ece7f7" media="(prefers-color-scheme: light)">
<meta name="theme-color" content="#0f0d17" media="(prefers-color-scheme: dark)">
<meta name="color-scheme" content="light dark">
<link rel="canonical" href="https://playhorizon.dev{{DOC_PATH}}">
<link rel="icon" href="/favicon.svg" type="image/svg+xml">
<link rel="icon" href="/favicon-32.png" sizes="32x32" type="image/png">
<link rel="apple-touch-icon" href="/apple-touch-icon.png">
<meta property="og:type" content="article">
<meta property="og:site_name" content="Horizon">
<meta property="og:title" content="{{DOC_TITLE}} · Horizon docs">
<meta property="og:description" content="{{DOC_DESC}}">
<meta property="og:url" content="https://playhorizon.dev{{DOC_PATH}}">
<meta property="og:image" content="https://playhorizon.dev/og.png">
<link rel="stylesheet" href="{{CSS}}">
<script>try { const t = localStorage.getItem("theme"); if (t === "light" || t === "dark") document.documentElement.dataset.theme = t } catch {}</script>
</head>
<body class="docs-page">
<a class="skip" href="#main">Skip to the content</a>
<header class="docs-bar">
<div class="docs-bar-inner">
<a class="nav-mark" href="/" aria-label="Horizon, home"><svg class="mark" viewBox="0 0 16 16" aria-hidden="true"><path class="mark-stem" d="M4 3h2v4H4zM10 3h2v4h-2z"/><path class="mark-low" d="M4 8h2v4H4zM10 8h2v4h-2z"/><path class="mark-line" d="M1 7h14v1H1z"/></svg>Horizon</a>
<a class="docs-bar-title" href="/docs/">Docs</a>
<span class="docs-bar-end">
<a class="docs-bar-link" href="https://github.com/ludovic111/horizon">GitHub</a>
<a class="button primary small" href="/docs/install">Download</a>
</span>
</div>
</header>
<div class="docs">
<details class="docs-nav-wrap" open>
<summary>Docs menu</summary>
<nav class="docs-nav" aria-label="Documentation">
{{DOC_NAV}}
</nav>
</details>
<script>if (matchMedia("(max-width: 900px)").matches) document.querySelector(".docs-nav-wrap").removeAttribute("open")</script>
<main id="main" class="docs-main">
<p class="kicker"><span>{{DOC_GROUP}}</span></p>
<h1 class="title">{{DOC_TITLE}}</h1>
<p class="lede">{{DOC_LEDE}}</p>
{{DOC_TOC}}
<div class="prose docs-prose">
{{DOC_BODY}}
</div>
<nav class="docs-pager" aria-label="Next and previous pages">
{{DOC_PAGER}}
</nav>
<p class="docs-edit"><a href="https://github.com/ludovic111/horizon/blob/main/website/docs/{{DOC_FILE}}">Edit this page on GitHub</a> · Spotted something wrong? <a href="https://github.com/ludovic111/horizon/issues">Open an issue</a> or ask on <a href="{{DISCORD}}">Discord</a>.</p>
<p class="disclaimer">Not an official Minecraft product. Not approved by or associated with Mojang or Microsoft.</p>
</main>
</div>
<p class="footer-word" aria-hidden="true">horizon</p>
</body>
</html>