Layout/whitespace: - Hero: gate min-h-[75vh] + vertical-centering on hasImage so the text-only masthead no longer floats in ~800px of dead space; large display headline via CSS class (was collapsed to 0.72rem by editorial-caps clobbering text-6xl). - Restore heading hierarchy: swap editorial-caps -> editorial-heading on every title/headline element (hero, card, newsletter, contact-form, cta, countdown, feature-grid, team, featured-posts, post-hero, menu-list, hours-location, author-bio-hero, password-reset-form). Masthead wordmarks (navbar/footer) keep editorial-caps by design. - Home "river": constrain to a 48rem reading measure and add vertical rhythm (editorial-river/editorial-flow CSS) so stacked essay cards stop fusing into one seam-y block and body text no longer runs full-bleed wide. - Newsletter: remove stray empty double-hairline artifact (single centered rule). - Image: guard empty src so absent media no longer renders an empty muted box. Mobile / JIT-safety: - New width/spacing/hero-title behavior defined as theme CSS in manifest input_css_append (not JIT-scanned Tailwind), so it always compiles. - Marginalia stack breakpoint widened 768px -> 1023px to match the article grid collapse, so the rail always gets its separator when stacked. Build + check-safety green (32 checks: 19 ok 13 skip). No version bump. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
31 lines
2.9 KiB
Plaintext
31 lines
2.9 KiB
Plaintext
{# menu-list override — editorial menu: Playfair section titles, hairline leader rules, generous columns. Fields mirror builtin: heading, intro, columns, sections[].title/.note/.items[].name/.badges/.description/.price, currency, footnote. #}
|
|
<section data-block-override="editorial:menu-list" class="py-16 md:py-24 bg-background text-foreground{% if class %} {{ class }}{% endif %}">
|
|
<div class="mx-auto max-w-5xl px-4 text-center">
|
|
{% if heading %}<h2 class="editorial-heading text-3xl md:text-4xl" style="font-family:var(--font-heading, 'Playfair Display', Georgia, serif);color:hsl(var(--foreground));">{{ heading }}</h2>{% endif %}
|
|
{% if intro %}<p class="mx-auto mt-3 max-w-2xl text-lg italic" style="color:hsl(var(--muted-foreground));font-family:var(--font-body, 'Source Serif 4', 'Source Serif Pro', Georgia, serif);">{{ intro }}</p>{% endif %}
|
|
<span class="editorial-rule w-16 mx-auto mt-6 mb-4 block" aria-hidden="true"></span>
|
|
<div class="mt-6 grid grid-cols-1 gap-x-14 gap-y-12 text-left {% if columns == 2 %}md:grid-cols-2{% endif %}">
|
|
{% for section in sections %}
|
|
<div class="menu-section">
|
|
{% if section.title %}<h3 class="editorial-caps editorial-underline pb-2 text-center text-xl" style="font-family:var(--font-heading, 'Playfair Display', Georgia, serif);color:hsl(var(--accent));">{{ section.title }}</h3>{% endif %}
|
|
{% if section.note %}<p class="mt-2 text-center text-sm italic" style="color:hsl(var(--muted-foreground));">{{ section.note }}</p>{% endif %}
|
|
<ul class="mt-5 space-y-5">
|
|
{% for item in section.items %}
|
|
<li>
|
|
<div class="flex items-baseline gap-3">
|
|
<span class="shrink-0 font-medium" style="color:hsl(var(--foreground));">{{ item.name }}</span>
|
|
<span class="min-w-6 flex-1 translate-y-[-2px] border-b border-dotted border-[hsl(var(--border))]" aria-hidden="true"></span>
|
|
{% if item.price %}<span class="shrink-0 tabular-nums" style="color:hsl(var(--accent));font-family:var(--font-heading, 'Playfair Display', Georgia, serif);">{% if currency %}{{ currency }}{% endif %}{{ item.price }}</span>{% endif %}
|
|
</div>
|
|
{% if item.badges %}<div class="mt-1 flex flex-wrap gap-1.5">{% for badge in item.badges %}{% if badge.label %}<span class="editorial-caps inline-block border border-[hsl(var(--border))] px-2 py-0.5 text-[0.65rem]" style="color:hsl(var(--muted-foreground));">{{ badge.label }}</span>{% endif %}{% endfor %}</div>{% endif %}
|
|
{% if item.description %}<p class="mt-1 text-sm italic" style="color:hsl(var(--muted-foreground));font-family:var(--font-body, 'Source Serif 4', 'Source Serif Pro', Georgia, serif);">{{ item.description }}</p>{% endif %}
|
|
</li>
|
|
{% endfor %}
|
|
</ul>
|
|
</div>
|
|
{% endfor %}
|
|
</div>
|
|
{% if footnote %}<p class="mt-12 text-xs" style="color:hsl(var(--muted-foreground));">{{ footnote }}</p>{% endif %}
|
|
</div>
|
|
</section>
|