From fa9190abe129c1372d03729734c92385992bea1b Mon Sep 17 00:00:00 2001 From: Ludo Date: Sat, 11 Apr 2026 21:29:20 +0200 Subject: [PATCH] =?UTF-8?q?fix:=20landing=20page=20layout=20=E2=80=94=20ce?= =?UTF-8?q?ntered=20h2s,=20constrained=20width,=20data-landing?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Opus 4.6 (1M context) --- site/layouts/index.html | 4 +++- src/layers/12-landing.css | 22 ++++++++++++++++++++++ 2 files changed, 25 insertions(+), 1 deletion(-) diff --git a/site/layouts/index.html b/site/layouts/index.html index 4fb044f..05e754d 100644 --- a/site/layouts/index.html +++ b/site/layouts/index.html @@ -1,3 +1,5 @@ {{ define "content" }} - {{ .Content }} +
+ {{ .Content }} +
{{ end }} diff --git a/src/layers/12-landing.css b/src/layers/12-landing.css index 0dfb170..39569a1 100644 --- a/src/layers/12-landing.css +++ b/src/layers/12-landing.css @@ -5,6 +5,28 @@ * Part of: Agentic Semantic Web */ +/* ── Landing page container ───────────────────────────────────────────── */ + +[data-landing] { + max-width: var(--width-xl); + margin-inline: auto; + padding-inline: var(--container-padding); +} + +[data-landing] > h2 { + text-align: center; + margin-top: var(--space-8); + margin-bottom: var(--space-5); +} + +[data-landing] > p { + text-align: center; + color: var(--text-2); + max-width: 50ch; + margin-inline: auto; + margin-bottom: var(--space-5); +} + /* ── [data-section] — horizontal-rule sections ────────────────────────── Usage:
or
─────────────────────────────────────────────────────────────────────── */