Base font size 15.5 -> 18 (maybe 17?)

This commit is contained in:
Simon Martens
2025-09-21 23:54:03 +02:00
parent 163cf5fb34
commit cfa5221de0
9 changed files with 24 additions and 24 deletions

File diff suppressed because one or more lines are too long

View File

@@ -1,7 +1,7 @@
{{ if ne (len .model.Search) 1 }} {{ if ne (len .model.Search) 1 }}
{{ $agent := index $.model.Agents .model.Search }} {{ $agent := index $.model.Agents .model.Search }}
{{ if not $agent }} {{ 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="bg-red-50 border border-red-200 rounded-lg p-6">
<div class="flex items-center"> <div class="flex items-center">
<i class="ri-error-warning-line text-red-600 text-2xl mr-3"></i> <i class="ri-error-warning-line text-red-600 text-2xl mr-3"></i>
@@ -10,7 +10,7 @@
</div> </div>
</div> </div>
{{ else }} {{ 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="bg-white px-6 py-6 rounded">
<div class="mb-6"> <div class="mb-6">
{{ $letter := Upper (FirstLetter $agent.ID) }} {{ $letter := Upper (FirstLetter $agent.ID) }}
@@ -25,16 +25,16 @@
{{ end }} {{ end }}
{{ else }} {{ 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"> <div class="mb-10 2xl:mb-0">
<!-- Main header - hidden on 2xl+ screens when scrollspy is visible --> <!-- Main header - hidden on 2xl+ screens when scrollspy is visible -->
<div class="bg-white px-6 py-4 rounded mb-6 2xl:hidden"> <div class="bg-white px-6 py-4 rounded mb-6 2xl:hidden">
{{ if eq .model.Search "autoren" }} {{ if eq .model.Search "autoren" }}
<h1 class="text-4xl font-bold text-gray-900 mb-2">Autor:innen</h1> <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 }} {{ else }}
<h1 class="text-4xl font-bold text-gray-900 mb-2">Personen & Körperschaften</h1> <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 }} {{ end }}
<!-- Integrated checkbox into header --> <!-- Integrated checkbox into header -->
@@ -47,7 +47,7 @@
hx-get="{{ if eq .model.Search "autoren" }}/akteure/a{{ else }}/akteure/autoren{{ end }}" hx-get="{{ if eq .model.Search "autoren" }}/akteure/a{{ else }}/akteure/autoren{{ end }}"
hx-target="body" hx-target="body"
hx-push-url="true"> 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> </label>
</div> </div>
</div> </div>

View File

@@ -6,7 +6,7 @@
<!-- Three-column layout --> <!-- Three-column layout -->
<div class="flex flex-col lg:flex-row gap-6 w-full min-h-screen"> <div class="flex flex-col lg:flex-row gap-6 w-full min-h-screen">
<!-- Column 1: Sticky Inhaltsverzeichnis --> <!-- 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="lg:sticky lg:top-8 lg:overflow-y-auto">
<div class="bg-slate-50"> <div class="bg-slate-50">
{{ template "_title_nav" . }} {{ template "_title_nav" . }}
@@ -18,7 +18,7 @@
</div> </div>
<!-- Column 2: Newspaper pages --> <!-- 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" . }} {{ template "_newspaper_layout" . }}
</div> </div>

View File

@@ -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"> <div class="mb-10 2xl:mb-0">
<!-- Main header - hidden on 2xl+ screens when scrollspy is visible --> <!-- Main header - hidden on 2xl+ screens when scrollspy is visible -->
<div class="bg-white px-6 py-4 rounded mb-6 2xl:hidden"> <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> <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 --> <!-- Integrated checkbox into header -->
<div class="flex items-center gap-4 mt-4"> <div class="flex items-center gap-4 mt-4">
@@ -15,7 +15,7 @@
hx-get="/akteure/a" hx-get="/akteure/a"
hx-target="body" hx-target="body"
hx-push-url="true"> 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> </label>
</div> </div>
</div> </div>

View File

@@ -3,7 +3,7 @@
{{ if ne (len $pieces) 0 }} {{ if ne (len $pieces) 0 }}
<div class="mt-4 akteur-beitraege-section"> <div class="mt-4 akteur-beitraege-section">
<div class="py-1 rounded-lg mb-1"> <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> <i class="ri-newspaper-line mr-2"></i><u class="decoration underline-offset-3">Beiträge</u>
</h2> </h2>
</div> </div>
@@ -40,7 +40,7 @@
{{- /* Display grouped pieces */ -}} {{- /* Display grouped pieces */ -}}
{{- range $groupKey, $groupedItems := $groupedPieces -}} {{- range $groupKey, $groupedItems := $groupedPieces -}}
<div class="break-inside-avoid pl-4"> <div class="break-inside-avoid pl-4">
<div class="text-lg pb-1"> <div class="pb-1">
{{- /* Use first piece for display text */ -}} {{- /* Use first piece for display text */ -}}
{{ template "_piece_summary" (dict "Piece" (index $groupedItems 0).Item "CurrentActorID" $a.ID) }} {{ template "_piece_summary" (dict "Piece" (index $groupedItems 0).Item "CurrentActorID" $a.ID) }}

View File

@@ -8,7 +8,7 @@
<!-- Large serif name - bold with inline permalink icon --> <!-- Large serif name - bold with inline permalink icon -->
<div class="text-xl font-serif font-bold mb-1 flex items-center gap-2"> <div class="text-xl font-serif font-bold mb-1 flex items-center gap-2">
<span>{{ index $a.Names 0 }}</span> <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> <i class="ri-link text-base"></i>
</a> </a>
</div> </div>
@@ -16,7 +16,7 @@
<!-- Years ONLY below name --> <!-- Years ONLY below name -->
{{ if ne $gnd nil }} {{ if ne $gnd nil }}
{{- if or (ne (len $gnd.DateOfBirth) 0) (ne (len $gnd.DateOfDeath) 0) -}} {{- 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 -}} {{- if ne (len $gnd.DateOfBirth) 0 -}}
{{ HRDateYear (index $gnd.DateOfBirth 0) }} {{ HRDateYear (index $gnd.DateOfBirth 0) }}
{{- end -}} {{- end -}}
@@ -30,7 +30,7 @@
<!-- First three professions --> <!-- First three professions -->
{{ if ne $gnd nil }} {{ if ne $gnd nil }}
{{- if ne (len $gnd.ProfessionOrOccupation) 0 -}} {{- if ne (len $gnd.ProfessionOrOccupation) 0 -}}
<div class="text-gray-800 text-lg"> <div class="text-gray-800">
{{ range $i, $prof := $gnd.ProfessionOrOccupation }} {{ range $i, $prof := $gnd.ProfessionOrOccupation }}
{{ if lt $i 3 }} {{ if lt $i 3 }}
{{ if gt $i 0 }} · {{ end }}{{ $prof.Label }} {{ if gt $i 0 }} · {{ end }}{{ $prof.Label }}
@@ -61,7 +61,7 @@
{{- if ne (len $gnd.SameAs) 0 -}} {{- if ne (len $gnd.SameAs) 0 -}}
{{ range $_, $ref := $gnd.SameAs }} {{ range $_, $ref := $gnd.SameAs }}
{{- if ne $ref.ID "" -}} {{- 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> <i class="ri-global-line"></i>
</a> </a>
{{- end -}} {{- end -}}

View File

@@ -14,7 +14,7 @@
{{- if or (ne (len $works) 0) (ne (len $workPieces) 0) -}} {{- if or (ne (len $works) 0) (ne (len $workPieces) 0) -}}
<div class="mt-4 akteur-werke-section"> <div class="mt-4 akteur-werke-section">
<div class="py-1 rounded-lg mb-1"> <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> <i class="ri-book-line mr-2"></i><u class="decoration underline-offset-3">Werke</u>
</h2> </h2>
</div> </div>
@@ -22,7 +22,7 @@
{{ range $_, $w := $works }} {{ range $_, $w := $works }}
<div class="mb-1.5 break-inside-avoid max-w-[95ch]"> <div class="mb-1.5 break-inside-avoid max-w-[95ch]">
{{- if ne (len $w.Item.Citation.InnerXML ) 0 -}} {{- if ne (len $w.Item.Citation.InnerXML ) 0 -}}
<div class="text-lg indent-6"> <div class="indent-6">
{{- Safe $w.Item.Citation.HTML -}} {{- Safe $w.Item.Citation.HTML -}}
{{- range $_, $url := $w.Item.URLs -}} {{- range $_, $url := $w.Item.URLs -}}
<span class="ml-1 whitespace-nowrap"> <span class="ml-1 whitespace-nowrap">
@@ -35,7 +35,7 @@
{{- end -}} {{- end -}}
{{ $workPieces := LookupPieces $w.Item }} {{ $workPieces := LookupPieces $w.Item }}
{{ if len $workPieces }} {{ 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 */ -}} {{- /* Group pieces by piece ID first to combine all categories per piece, then by additional authors */ -}}
{{- $pieceData := dict -}} {{- $pieceData := dict -}}
{{- range $_, $p := $workPieces -}} {{- range $_, $p := $workPieces -}}
@@ -296,7 +296,7 @@
{{- /* Display standalone work pieces */ -}} {{- /* Display standalone work pieces */ -}}
{{- range $groupKey, $categoryPieces := $standaloneGrouped -}} {{- range $groupKey, $categoryPieces := $standaloneGrouped -}}
<div class="mb-1.5 break-inside-avoid max-w-[95ch]"> <div class="mb-1.5 break-inside-avoid max-w-[95ch]">
<div class="text-lg"> <div class="">
<span class="inline-block"> <span class="inline-block">
{{- /* Extract category and additional authors from group key */ -}} {{- /* Extract category and additional authors from group key */ -}}
{{- $keyParts := split $groupKey "|" -}} {{- $keyParts := split $groupKey "|" -}}

View File

@@ -53,7 +53,7 @@
{{ $a := index $agents $id }} {{ $a := index $agents $id }}
<div class="mx-3"> <div class="mx-3">
<a href="#author-{{ $id }}" <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 }}"> data-target="author-{{ $id }}">
{{ index $a.Names 0 }} {{ index $a.Names 0 }}
</a> </a>

View File

@@ -88,7 +88,7 @@ body.page-edition::before {
@layer components { @layer components {
html { html {
font-size: 15.5px; font-size: 18px;
} }
body { body {