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:
parent
c469e69750
commit
fa9190abe1
2 changed files with 25 additions and 1 deletions
|
|
@ -1,3 +1,5 @@
|
|||
{{ define "content" }}
|
||||
<main data-landing>
|
||||
{{ .Content }}
|
||||
</main>
|
||||
{{ end }}
|
||||
|
|
|
|||
|
|
@ -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">
|
||||
─────────────────────────────────────────────────────────────────────── */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue