fix: landing page layout — centered h2s, constrained width, data-landing

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Ludo 2026-04-11 21:29:20 +02:00
parent c469e69750
commit fa9190abe1
Signed by: ludo
GPG key ID: F6E479DEFAB84D6E
2 changed files with 25 additions and 1 deletions

View file

@ -1,3 +1,5 @@
{{ define "content" }}
<main data-landing>
{{ .Content }}
</main>
{{ end }}

View file

@ -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: <section data-section> or <section data-section="demo">
*/