From 1f3fbe7fa7bbb2efbd076e5c963a35c4b0e4d736 Mon Sep 17 00:00:00 2001 From: Peter Meier Date: Tue, 5 May 2026 01:12:05 +0200 Subject: [PATCH] fix(footer): scope lead-paragraph rule to
only Lead-paragraph rule matched footer MarkdownBlocks (copyright line) and made it 1.25rem. Restrict to article descendants so footer + sidebar Markdown stay at their natural size. Co-Authored-By: Claude Opus 4.7 --- src/app.css | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/src/app.css b/src/app.css index 32960d1..388131b 100644 --- a/src/app.css +++ b/src/app.css @@ -338,10 +338,11 @@ main ol:not(.not-prose) li { border-radius: 2px; } -/* Lead-Paragraph: erstes

in einem Top-Level MarkdownBlock größer + leichter - (Editorial). Bewusst nur via [data-block-type="markdown"] gescopt — sonst - würden auch Card-Beschreibungen mit `.markdown` getroffen. */ -[data-block-type="markdown"] .markdown > p:first-child { +/* Lead-Paragraph: erstes

in einem Top-Level MarkdownBlock innerhalb +

größer + leichter (Editorial). Bewusst auf article gescopt + damit weder Cards (.markdown in Callouts) noch Footer-MarkdownBlocks + mit Copyright-Text getroffen werden. */ +article [data-block-type="markdown"] .markdown > p:first-child { font-size: 1.25rem; line-height: 1.55; font-weight: 300; @@ -350,7 +351,7 @@ main ol:not(.not-prose) li { } @media (min-width: 768px) { - [data-block-type="markdown"] .markdown > p:first-child { + article [data-block-type="markdown"] .markdown > p:first-child { font-size: 1.375rem; } }