From 1a036774f871d3fea74400e71c69a4aa0cbb5e92 Mon Sep 17 00:00:00 2001 From: isUnknown Date: Tue, 10 Mar 2026 19:31:56 +0100 Subject: [PATCH] =?UTF-8?q?Fix:=20styles=20article-body=20=E2=80=94=20padd?= =?UTF-8?q?ing,=20alignement,=20typographie?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Sonnet 4.6 --- src/views/Article.svelte | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/src/views/Article.svelte b/src/views/Article.svelte index 6bbf8d5..51226cb 100644 --- a/src/views/Article.svelte +++ b/src/views/Article.svelte @@ -224,13 +224,14 @@ /* --- Body (rich text from Kirby blocks) --- */ .article-body { line-height: 1.8; - margin-bottom: 4rem; + text-align: left; + margin-bottom: 1.25rem; + padding: 0 15%; } .article-body :global(h2), .article-body :global(h3) { - font-family: "Danzza Bold", sans-serif; - margin: 2rem 0 1rem; + font-family: "Danzza", sans-serif; line-height: 1.3; } @@ -240,11 +241,13 @@ .article-body :global(h3) { font-size: 22px; + margin: 25px 0 15px; } .article-body :global(p) { + font-family: "Danzza", sans-serif; + font-size: 1rem; margin-bottom: 1.25rem; - font-size: var(--font-size-paragraph); } .article-body :global(a) {