fix(footer): scope lead-paragraph rule to <article> 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 <noreply@anthropic.com>
This commit is contained in:
+6
-5
@@ -338,10 +338,11 @@ main ol:not(.not-prose) li {
|
|||||||
border-radius: 2px;
|
border-radius: 2px;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Lead-Paragraph: erstes <p> in einem Top-Level MarkdownBlock größer + leichter
|
/* Lead-Paragraph: erstes <p> in einem Top-Level MarkdownBlock innerhalb
|
||||||
(Editorial). Bewusst nur via [data-block-type="markdown"] gescopt — sonst
|
<article> größer + leichter (Editorial). Bewusst auf article gescopt
|
||||||
würden auch Card-Beschreibungen mit `.markdown` getroffen. */
|
damit weder Cards (.markdown in Callouts) noch Footer-MarkdownBlocks
|
||||||
[data-block-type="markdown"] .markdown > p:first-child {
|
mit Copyright-Text getroffen werden. */
|
||||||
|
article [data-block-type="markdown"] .markdown > p:first-child {
|
||||||
font-size: 1.25rem;
|
font-size: 1.25rem;
|
||||||
line-height: 1.55;
|
line-height: 1.55;
|
||||||
font-weight: 300;
|
font-weight: 300;
|
||||||
@@ -350,7 +351,7 @@ main ol:not(.not-prose) li {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@media (min-width: 768px) {
|
@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;
|
font-size: 1.375rem;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user