diff --git a/assets/css/custom.css b/assets/css/custom.css index 01c8e47..49a09e6 100644 --- a/assets/css/custom.css +++ b/assets/css/custom.css @@ -554,19 +554,21 @@ a.byline-author:hover, a.journal-author:hover { color: var(--accent); } /* ── Dialog ───────────────────────────────────────────────────────────────── */ /* Link am Ende des Beitrags (der Beitrag selbst bleibt sauber) */ -.dialog-link { +/* Dialog-Pill in der Provenance-Reihe: gleiche Form wie die anderen, sticht + aber durch Pfeil-Symbol + Akzentfarbe (Rahmen/Text) hervor. */ +.prov-dialog { display: inline-block; - margin-top: var(--spacing-md); - font-family: var(--font-family-display); - font-weight: 500; - font-size: 0.82rem; + font-family: var(--font-family-mono); + font-size: var(--font-size-small); + font-weight: 600; color: var(--accent); text-decoration: none; + background: none; border: 1px solid var(--accent); border-radius: 999px; - padding: 0.28em 0.85em; + padding: 0.12em 0.7em; } -.dialog-link:hover { background: var(--accent); color: #fff; } +.prov-dialog:hover { background: var(--accent); color: #fff; } /* Eigene Dialog-Seite (/dialog/?thread=…) */ /* Füllt die normale Inhaltsspalte (kein eigenes max-width/Seiten-Padding → gleiche Breite wie andere Seiten) */ diff --git a/layouts/_default/single.html b/layouts/_default/single.html index 65b3ad2..34518ac 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -76,25 +76,11 @@ {{- end }} - {{/* Herkunft/Zitieren — nur bei Library-Beiträgen (lebendes Dokument). */}} + {{/* Herkunft/Zitieren/Dialog — nur bei Library-Beiträgen (lebendes Dokument). */}} {{ if eq .Section "library" }} {{ partial "provenance.html" . }} {{ end }} - - {{/* Dialog nur bei Artikeln (Library), nicht auf Seiten wie Spenden/Manifest. */}} - {{ if eq .Section "library" }} - → Dialog - - {{ end }} {{ end }} diff --git a/layouts/_partials/provenance.html b/layouts/_partials/provenance.html index e6da4fe..48c45d3 100644 --- a/layouts/_partials/provenance.html +++ b/layouts/_partials/provenance.html @@ -4,6 +4,8 @@ {{ $repo := site.Params.repoURL }} {{ $author := .Params.author | default site.Params.author.name }}