feature: Wiki — verlinktes Werkstattwissen mit Gruppen-Navigation
Neue Hugo-Sektion /wiki als 'effektives Wiki' im KISS-Sinn: - Zweispaltiges Layout: gruppierte Seitenleiste (nach Frontmatter 'group') mit Live-Filter + Inhalt mit TOC und 'zuletzt bearbeitet'/bearbeiten-Link - Übersichtsseite gruppiert alle Einträge; WIKI im Hauptmenü - Seiten ohne group landen unter 'Allgemein' (robust) - Start-Inhalte: Meta-Seite (wie es funktioniert), Typus (→ Bibliothek), Dateiablage/Benennung; Archetype setzt group/summary - Bewusst dateibasiert: jede Seite verlinkt zur Bearbeitung ins Repo Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
@@ -719,6 +719,38 @@ a.byline-author:hover, a.journal-author:hover { color: var(--accent); }
|
||||
.dialog-hint { font-size: var(--font-size-small); color: var(--color-text-muted); align-self: center; opacity: 0.7; }
|
||||
.dialog-spacer { flex: 1; }
|
||||
|
||||
/* ── Wiki: zweispaltig (Seitenleiste + Inhalt), schlicht ── */
|
||||
.wiki { display: grid; grid-template-columns: 220px 1fr; gap: 2.6em; align-items: start; width: 100%; }
|
||||
@media (max-width: 760px) { .wiki { grid-template-columns: 1fr; gap: 1.4em; } .wiki-side { position: static; } }
|
||||
.wiki-side { position: sticky; top: 1em; align-self: start; }
|
||||
.wiki-nav { display: flex; flex-direction: column; gap: 0.35em; font-size: var(--font-size-small); }
|
||||
.wiki-nav-home { text-decoration: none; color: var(--color-text-primary); font-weight: 600; }
|
||||
.wiki-nav-home:hover { color: var(--accent); }
|
||||
.wiki-nav-home.is-current { color: var(--accent); }
|
||||
.wiki-filter { width: 100%; padding: 0.4em 0.7em; margin: 0.3em 0 0.4em; font: inherit; font-size: var(--font-size-small);
|
||||
border: 1px solid var(--color-border); border-radius: 8px; background: var(--color-bg-primary); }
|
||||
.wiki-filter:focus { outline: none; border-color: var(--accent); }
|
||||
.wiki-nav-title { text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.7rem; color: var(--color-text-muted); margin: 0.8em 0 0.25em; }
|
||||
.wiki-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.1em; }
|
||||
.wiki-nav li a { display: block; text-decoration: none; color: var(--color-text-muted);
|
||||
padding: 0.18em 0 0.18em 0.7em; border-left: 2px solid transparent; }
|
||||
.wiki-nav li a:hover { color: var(--accent); }
|
||||
.wiki-nav li a.is-current { color: var(--color-text-primary); font-weight: 600; border-left-color: var(--accent); }
|
||||
|
||||
.wiki-page { min-width: 0; }
|
||||
.wiki-rubric { text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.72rem; color: var(--color-text-muted); margin: 0 0 0.2em; }
|
||||
.wiki-head h1 { margin: 0 0 0.2em; }
|
||||
.wiki-index { margin-top: var(--spacing-md); }
|
||||
.wiki-group { margin-bottom: var(--spacing-md); }
|
||||
.wiki-group h2 { font-family: var(--font-family-serif); font-size: 1.1rem; margin: 0 0 0.4em; }
|
||||
.wiki-group ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.4em; }
|
||||
.wiki-group li a { font-weight: 600; text-decoration: none; }
|
||||
.wiki-group li a:hover { color: var(--accent); }
|
||||
.wiki-foot { margin-top: var(--spacing-lg); padding-top: var(--spacing-sm); border-top: 1px solid var(--color-border);
|
||||
display: flex; gap: 1.2em; flex-wrap: wrap; font-size: var(--font-size-small); color: var(--color-text-muted); }
|
||||
.wiki-foot a { color: var(--color-text-muted); text-decoration: none; }
|
||||
.wiki-foot a:hover { color: var(--accent); }
|
||||
|
||||
/* ------------------------------------------------------------------------
|
||||
Journal entries — three Republik-style layouts (set in front matter
|
||||
via `layout: image|icon|text`). Every entry is a full-bleed coloured
|
||||
|
||||
Reference in New Issue
Block a user