From 99b14dd1d84684a22e645f95d08c113399c119a3 Mon Sep 17 00:00:00 2001 From: fynnfeldpausch Date: Fri, 20 Oct 2023 19:50:06 +0000 Subject: [PATCH] =?UTF-8?q?Deploying=20to=20gh-pages=20from=20@=20haiilo/c?= =?UTF-8?q?atalyst@edd709270351c6c596bebf382abee2385e986397=20=F0=9F=9A=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- build/catalyst.css | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/build/catalyst.css b/build/catalyst.css index 09ce8625..647cd23b 100644 --- a/build/catalyst.css +++ b/build/catalyst.css @@ -2063,26 +2063,30 @@ code { padding: 0.0625rem 0.25rem; } +.cat-article { + word-wrap: break-word; + word-break: break-word; +} .cat-article :where(h1, h2, h3), .cat-article :is(.cat-h1, .cat-h2, .cat-h3) { color: rgb(var(--cat-font-color-head)); - margin-bottom: 1rem; + margin-bottom: calc(1rem * var(--cat-article-spacer, 1)); } .cat-article :where(h1, h2, h3):has(+ h1, + h2, + h3, + h4, + h5, + h6, + .cat-h1, + .cat-h2, + .cat-h3, + .cat-h4, + .cat-h5, + .cat-h6), .cat-article :is(.cat-h1, .cat-h2, .cat-h3):has(+ h1, + h2, + h3, + h4, + h5, + h6, + .cat-h1, + .cat-h2, + .cat-h3, + .cat-h4, + .cat-h5, + .cat-h6) { - margin-bottom: 0.5rem; + margin-bottom: calc(0.5rem * var(--cat-article-spacer, 1)); } .cat-article :where(h4, h5, h6), .cat-article :is(.cat-h4, .cat-h5, .cat-h6) { color: rgb(var(--cat-font-color-head)); - margin-bottom: 0.5rem; + margin-bottom: calc(0.5rem * var(--cat-article-spacer, 1)); } .cat-article :where(p, ol, ul, dl, blockquote, figure, pre, cat-alert, cat-card) { - margin-bottom: 2rem; + margin-bottom: calc(2rem * var(--cat-article-spacer, 1)); } .cat-article hr, .cat-article .cat-hr { - margin: 2rem; + margin: calc(2rem * var(--cat-article-spacer, 1)) 0; } /**