diff --git a/assets/css/custom.css b/assets/css/custom.css index 2ba4a9e..f2ac57d 100644 --- a/assets/css/custom.css +++ b/assets/css/custom.css @@ -160,8 +160,8 @@ a:hover { .site-header { background: var(--color-dark-panel); color: var(--color-dark-panel-text); - /* oben etwas Luft über dem Logo, unten nur 1–2px unter dem Menü */ - padding: 0.4rem 0 2px; + /* oben Luft über dem Logo, unten knapp unter dem Menü (+20%) */ + padding: 0.48rem 0 2.4px; border-bottom: none; margin-bottom: 0; /* inner 3-col grid matches body so wordmark/nav align with content column */ @@ -192,7 +192,7 @@ a:hover { padding: 0; display: block; justify-self: center; - width: clamp(140px, 18vw, 200px); + width: clamp(154px, 19.8vw, 220px); aspect-ratio: 1412 / 231; height: auto; background-image: url("/logo/logo.svg"); @@ -211,8 +211,8 @@ a:hover { .site-header .site-nav { justify-self: center; - /* etwas Luft zwischen Logo und Menü. */ - margin-top: 0.1em; + /* Luft zwischen Logo und Menü (+20%). */ + margin-top: 0.12em; } .wordmark-link:focus-visible { outline: 2px dotted var(--color-text-muted); outline-offset: 4px; } diff --git a/layouts/archiv/list.html b/layouts/archiv/list.html index 0bc67df..2bb93e7 100644 --- a/layouts/archiv/list.html +++ b/layouts/archiv/list.html @@ -1,9 +1,8 @@ {{ define "main" }} - {{ .Content }} - - {{ if .IsSection }} - {{ if eq .Path "/archiv" }} - {{/* Archiv root: Atlas — gruppiert nach Untersection */}} + {{ if eq .Path "/archiv" }} + {{/* Archiv root: Titel + Intro + Atlas (je Kategorie die letzten 10) */}} +

{{ .Title }}

+ {{ .Content }}
{{ range .Sections.ByWeight }} {{ $section := path.Base .RelPermalink }} @@ -11,14 +10,14 @@

{{ .Title }}

{{ with .Params.description }}

{{ . }}

{{ end }} - {{ if gt (len .RegularPages) 6 }} + {{ if gt (len .RegularPages) 10 }}

alle in {{ .Title }} →

{{ end }} @@ -45,6 +44,8 @@ {{ with .Params.description }}

{{ . }}

{{ end }} + {{ .Content }} + {{ $tools := where .RegularPages "Params.external" "!=" nil }} {{ $texts := where .RegularPages "Params.external" nil }} @@ -91,6 +92,7 @@

{{ .Title }}

{{ with .Params.description }}

{{ . }}

{{ end }} + {{ .Content }}
{{ end }} - {{ end }} {{ end }} diff --git a/layouts/library/list.html b/layouts/library/list.html index 8c86768..ee9c26d 100644 --- a/layouts/library/list.html +++ b/layouts/library/list.html @@ -1,4 +1,5 @@ {{ define "main" }} +

{{ .Title }}

{{ .Content }} {{ $pages := where site.RegularPages "Section" "library" }}