diff --git a/assets/css/custom.css b/assets/css/custom.css index 39853d4..62b10c0 100644 --- a/assets/css/custom.css +++ b/assets/css/custom.css @@ -1116,14 +1116,13 @@ a.byline-author:hover, a.journal-author:hover { color: var(--accent); } max-width: 60ch; } -/* Übersichts-Titel (Archiv/Library): wie ein Artikel-Heading, aber mit Linie - darunter — im selben Stil wie die Kategorie-Überschriften. */ +/* Übersicht (Archiv/Library): wie eine Artikelseite — Inhalt in der Lesespalte + (≈55ch, zentriert), gleicher Oberabstand wie .single, Titel mit Linie darunter + in der Sektionsfarbe (Archiv grün, Library rot). */ +.collection { margin-top: var(--spacing-sm); } +.collection-title, +.collection-inner { max-width: 48.5rem; margin-inline: auto; } .collection-title { - width: 100%; - /* rem-basiert (nicht ch): die geerbte ch-max-width skaliert mit der grossen - Titelschrift und würde die Linie über die volle Viewport-Breite ziehen. - 52rem ≈ Inhaltsspalte → Titel + Linie fluchten mit Text/Kategorien. */ - max-width: 52rem !important; text-align: left; font-family: var(--font-family-serif); font-size: clamp(1.7rem, 3vw, 2.2rem); @@ -1131,7 +1130,7 @@ a.byline-author:hover, a.journal-author:hover { color: var(--accent); } letter-spacing: -0.015em; line-height: 1.12; color: var(--color-text-primary); - border-bottom: 3px solid var(--accent); + border-bottom: 3px solid var(--section-color, var(--accent)); padding-bottom: var(--spacing-xs); margin: 0 0 var(--spacing-md); } diff --git a/layouts/archiv/list.html b/layouts/archiv/list.html index d36bacd..52b9b1f 100644 --- a/layouts/archiv/list.html +++ b/layouts/archiv/list.html @@ -1,7 +1,9 @@ {{ define "main" }} {{ if eq .Path "/archiv" }} {{/* Archiv root: Titel + Intro + Atlas (je Kategorie die letzten 10) */}} +

{{ .Title }}

+
{{ .Content }}
{{ range .Sections.ByWeight }} @@ -35,6 +37,8 @@ {{ end }}
+
+
{{ else if eq .Path "/archiv/software" }} {{/* Software: kuratierte Landing — Werkzeuge (mit externem Link) getrennt von Texten & Anleitungen. */}} diff --git a/layouts/library/list.html b/layouts/library/list.html index 2518c18..850e3f4 100644 --- a/layouts/library/list.html +++ b/layouts/library/list.html @@ -1,32 +1,36 @@ {{ define "main" }} -

{{ .Title }}

- {{ .Content }} +
+

{{ .Title }}

+
+ {{ .Content }} - {{ $pages := where site.RegularPages "Section" "library" }} - {{ $groups := dict }} - {{ range $pages }} - {{ $g := .Params.group | default "Allgemein" }} - {{ $existing := index $groups $g | default slice }} - {{ $groups = merge $groups (dict $g ($existing | append .)) }} - {{ end }} - - {{ if $pages }} -
- {{ range $g, $ps := $groups }} -
-

{{ $g }}

-
    - {{ range sort $ps "Title" }} -
  • - {{ .LinkTitle }} - {{ with .Params.summary }} — {{ . }}{{ end }} -
  • - {{ end }} -
-
+ {{ $pages := where site.RegularPages "Section" "library" }} + {{ $groups := dict }} + {{ range $pages }} + {{ $g := .Params.group | default "Allgemein" }} + {{ $existing := index $groups $g | default slice }} + {{ $groups = merge $groups (dict $g ($existing | append .)) }} {{ end }} -
- {{ else }} -

Noch keine Einträge — der erste entsteht im Redaktions-Editor.

- {{ end }} + + {{ if $pages }} +
+ {{ range $g, $ps := $groups }} +
+

{{ $g }}

+
    + {{ range sort $ps "Title" }} +
  • + {{ .LinkTitle }} + {{ with .Params.summary }} — {{ . }}{{ end }} +
  • + {{ end }} +
+
+ {{ end }} +
+ {{ else }} +

Noch keine Einträge — der erste entsteht im Redaktions-Editor.

+ {{ end }} +
+
{{ end }}