mirror of
https://github.com/Theodor-Springmann-Stiftung/kgpz_web.git
synced 2025-10-29 17:15:31 +00:00
Base font size 15.5 -> 18 (maybe 17?)
This commit is contained in:
File diff suppressed because one or more lines are too long
@@ -1,7 +1,7 @@
|
||||
{{ if ne (len .model.Search) 1 }}
|
||||
{{ $agent := index $.model.Agents .model.Search }}
|
||||
{{ if not $agent }}
|
||||
<div class="max-w-6xl mx-auto px-8 py-8">
|
||||
<div class="max-w-7xl mx-auto px-8 py-8">
|
||||
<div class="bg-red-50 border border-red-200 rounded-lg p-6">
|
||||
<div class="flex items-center">
|
||||
<i class="ri-error-warning-line text-red-600 text-2xl mr-3"></i>
|
||||
@@ -10,7 +10,7 @@
|
||||
</div>
|
||||
</div>
|
||||
{{ else }}
|
||||
<div class="max-w-6xl mx-auto px-8 py-8">
|
||||
<div class="max-w-7xl mx-auto px-8 py-8">
|
||||
<div class="bg-white px-6 py-6 rounded">
|
||||
<div class="mb-6">
|
||||
{{ $letter := Upper (FirstLetter $agent.ID) }}
|
||||
@@ -25,16 +25,16 @@
|
||||
{{ end }}
|
||||
|
||||
{{ else }}
|
||||
<div class="max-w-full mx-auto px-8 py-8">
|
||||
<div class="max-w-7xl mx-auto px-8 py-8">
|
||||
<div class="mb-10 2xl:mb-0">
|
||||
<!-- Main header - hidden on 2xl+ screens when scrollspy is visible -->
|
||||
<div class="bg-white px-6 py-4 rounded mb-6 2xl:hidden">
|
||||
{{ if eq .model.Search "autoren" }}
|
||||
<h1 class="text-4xl font-bold text-gray-900 mb-2">Autor:innen</h1>
|
||||
<p class="text-gray-700 text-lg">Personen, die Beiträge in der Zeitung verfasst haben</p>
|
||||
<p class="text-gray-700">Personen, die Beiträge in der Zeitung verfasst haben</p>
|
||||
{{ else }}
|
||||
<h1 class="text-4xl font-bold text-gray-900 mb-2">Personen & Körperschaften</h1>
|
||||
<p class="text-gray-700 text-lg">Verzeichnis aller in der Zeitung erwähnten Personen und Institutionen</p>
|
||||
<p class="text-gray-700">Verzeichnis aller in der Zeitung erwähnten Personen und Institutionen</p>
|
||||
{{ end }}
|
||||
|
||||
<!-- Integrated checkbox into header -->
|
||||
@@ -47,7 +47,7 @@
|
||||
hx-get="{{ if eq .model.Search "autoren" }}/akteure/a{{ else }}/akteure/autoren{{ end }}"
|
||||
hx-target="body"
|
||||
hx-push-url="true">
|
||||
<span class="ml-2 text-lg text-gray-700">Nur Autor:innen anzeigen</span>
|
||||
<span class="ml-2 text-gray-700">Nur Autor:innen anzeigen</span>
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
<!-- Three-column layout -->
|
||||
<div class="flex flex-col lg:flex-row gap-6 w-full min-h-screen">
|
||||
<!-- Column 1: Sticky Inhaltsverzeichnis -->
|
||||
<div class="lg:w-1/4 xl:w-1/5 flex-shrink-0 bg-slate-50 px-8 py-4">
|
||||
<div class="lg:w-1/4 xl:w-1/4 flex-shrink-0 bg-slate-50 px-8 py-4">
|
||||
<div class="lg:sticky lg:top-8 lg:overflow-y-auto">
|
||||
<div class="bg-slate-50">
|
||||
{{ template "_title_nav" . }}
|
||||
@@ -18,7 +18,7 @@
|
||||
</div>
|
||||
|
||||
<!-- Column 2: Newspaper pages -->
|
||||
<div class="lg:w-3/5 xl:w-3/5 flex-1 py-4">
|
||||
<div class="flex-1 py-4">
|
||||
{{ template "_newspaper_layout" . }}
|
||||
</div>
|
||||
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
<div class="max-w-full mx-auto px-8 py-8">
|
||||
<div class="max-w-7xl mx-auto px-8 py-8">
|
||||
<div class="mb-10 2xl:mb-0">
|
||||
<!-- Main header - hidden on 2xl+ screens when scrollspy is visible -->
|
||||
<div class="bg-white px-6 py-4 rounded mb-6 2xl:hidden">
|
||||
<h1 class="text-4xl font-bold text-gray-900 mb-2">Autor:innen</h1>
|
||||
<p class="text-gray-700 text-lg">Personen, die Beiträge in der Zeitung verfasst haben</p>
|
||||
<p class="text-gray-700">Personen, die Beiträge in der Zeitung verfasst haben</p>
|
||||
|
||||
<!-- Integrated checkbox into header -->
|
||||
<div class="flex items-center gap-4 mt-4">
|
||||
@@ -15,7 +15,7 @@
|
||||
hx-get="/akteure/a"
|
||||
hx-target="body"
|
||||
hx-push-url="true">
|
||||
<span class="ml-2 text-lg text-gray-700">Nur Autor:innen anzeigen</span>
|
||||
<span class="ml-2 text-gray-700">Nur Autor:innen anzeigen</span>
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
{{ if ne (len $pieces) 0 }}
|
||||
<div class="mt-4 akteur-beitraege-section">
|
||||
<div class="py-1 rounded-lg mb-1">
|
||||
<h2 class="text-lg font-bold">
|
||||
<h2 class="font-bold">
|
||||
<i class="ri-newspaper-line mr-2"></i><u class="decoration underline-offset-3">Beiträge</u>
|
||||
</h2>
|
||||
</div>
|
||||
@@ -40,7 +40,7 @@
|
||||
{{- /* Display grouped pieces */ -}}
|
||||
{{- range $groupKey, $groupedItems := $groupedPieces -}}
|
||||
<div class="break-inside-avoid pl-4">
|
||||
<div class="text-lg pb-1">
|
||||
<div class="pb-1">
|
||||
{{- /* Use first piece for display text */ -}}
|
||||
{{ template "_piece_summary" (dict "Piece" (index $groupedItems 0).Item "CurrentActorID" $a.ID) }}
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
<!-- Large serif name - bold with inline permalink icon -->
|
||||
<div class="text-xl font-serif font-bold mb-1 flex items-center gap-2">
|
||||
<span>{{ index $a.Names 0 }}</span>
|
||||
<a href="/akteure/{{ $a.ID }}" class="text-gray-500 hover:text-blue-600 transition-colors text-lg no-underline" title="Permalink zu {{ index $a.Names 0 }}">
|
||||
<a href="/akteure/{{ $a.ID }}" class="text-gray-500 hover:text-blue-600 transition-colors no-underline" title="Permalink zu {{ index $a.Names 0 }}">
|
||||
<i class="ri-link text-base"></i>
|
||||
</a>
|
||||
</div>
|
||||
@@ -16,7 +16,7 @@
|
||||
<!-- Years ONLY below name -->
|
||||
{{ if ne $gnd nil }}
|
||||
{{- if or (ne (len $gnd.DateOfBirth) 0) (ne (len $gnd.DateOfDeath) 0) -}}
|
||||
<div class="text-gray-800 text-lg">
|
||||
<div class="text-gray-800">
|
||||
{{- if ne (len $gnd.DateOfBirth) 0 -}}
|
||||
{{ HRDateYear (index $gnd.DateOfBirth 0) }}
|
||||
{{- end -}}
|
||||
@@ -30,7 +30,7 @@
|
||||
<!-- First three professions -->
|
||||
{{ if ne $gnd nil }}
|
||||
{{- if ne (len $gnd.ProfessionOrOccupation) 0 -}}
|
||||
<div class="text-gray-800 text-lg">
|
||||
<div class="text-gray-800">
|
||||
{{ range $i, $prof := $gnd.ProfessionOrOccupation }}
|
||||
{{ if lt $i 3 }}
|
||||
{{ if gt $i 0 }} · {{ end }}{{ $prof.Label }}
|
||||
@@ -61,7 +61,7 @@
|
||||
{{- if ne (len $gnd.SameAs) 0 -}}
|
||||
{{ range $_, $ref := $gnd.SameAs }}
|
||||
{{- if ne $ref.ID "" -}}
|
||||
<a href="{{ $ref.ID }}" target="_blank" class="text-gray-500 hover:text-blue-600 transition-colors text-lg" title="External Link">
|
||||
<a href="{{ $ref.ID }}" target="_blank" class="text-gray-500 hover:text-blue-600 transition-colors" title="External Link">
|
||||
<i class="ri-global-line"></i>
|
||||
</a>
|
||||
{{- end -}}
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
{{- if or (ne (len $works) 0) (ne (len $workPieces) 0) -}}
|
||||
<div class="mt-4 akteur-werke-section">
|
||||
<div class="py-1 rounded-lg mb-1">
|
||||
<h2 class="text-lg font-bold">
|
||||
<h2 class="font-bold">
|
||||
<i class="ri-book-line mr-2"></i><u class="decoration underline-offset-3">Werke</u>
|
||||
</h2>
|
||||
</div>
|
||||
@@ -22,7 +22,7 @@
|
||||
{{ range $_, $w := $works }}
|
||||
<div class="mb-1.5 break-inside-avoid max-w-[95ch]">
|
||||
{{- if ne (len $w.Item.Citation.InnerXML ) 0 -}}
|
||||
<div class="text-lg indent-6">
|
||||
<div class="indent-6">
|
||||
{{- Safe $w.Item.Citation.HTML -}}
|
||||
{{- range $_, $url := $w.Item.URLs -}}
|
||||
<span class="ml-1 whitespace-nowrap">
|
||||
@@ -35,7 +35,7 @@
|
||||
{{- end -}}
|
||||
{{ $workPieces := LookupPieces $w.Item }}
|
||||
{{ if len $workPieces }}
|
||||
<div class="mt-1 text-lg">
|
||||
<div class="mt-1">
|
||||
{{- /* Group pieces by piece ID first to combine all categories per piece, then by additional authors */ -}}
|
||||
{{- $pieceData := dict -}}
|
||||
{{- range $_, $p := $workPieces -}}
|
||||
@@ -296,7 +296,7 @@
|
||||
{{- /* Display standalone work pieces */ -}}
|
||||
{{- range $groupKey, $categoryPieces := $standaloneGrouped -}}
|
||||
<div class="mb-1.5 break-inside-avoid max-w-[95ch]">
|
||||
<div class="text-lg">
|
||||
<div class="">
|
||||
<span class="inline-block">
|
||||
{{- /* Extract category and additional authors from group key */ -}}
|
||||
{{- $keyParts := split $groupKey "|" -}}
|
||||
|
||||
@@ -53,7 +53,7 @@
|
||||
{{ $a := index $agents $id }}
|
||||
<div class="mx-3">
|
||||
<a href="#author-{{ $id }}"
|
||||
class="block px-2 py-0.5 text-lg text-gray-900 scrollspy-link no-underline box-content relative z-10 scrollspy-hover"
|
||||
class="block px-2 py-0.5 text-gray-900 scrollspy-link no-underline box-content relative z-10 scrollspy-hover"
|
||||
data-target="author-{{ $id }}">
|
||||
{{ index $a.Names 0 }}
|
||||
</a>
|
||||
|
||||
@@ -88,7 +88,7 @@ body.page-edition::before {
|
||||
|
||||
@layer components {
|
||||
html {
|
||||
font-size: 15.5px;
|
||||
font-size: 18px;
|
||||
}
|
||||
|
||||
body {
|
||||
|
||||
Reference in New Issue
Block a user