From ee7e33ee5927e505e4b099793ab25aae34cc8b44 Mon Sep 17 00:00:00 2001 From: Daniel Schadt Date: Fri, 1 Dec 2023 21:17:28 +0100 Subject: apply text formatting also to
  • elements --- static/sass/main.scss | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'static/sass/main.scss') diff --git a/static/sass/main.scss b/static/sass/main.scss index e8c2407..767663f 100644 --- a/static/sass/main.scss +++ b/static/sass/main.scss @@ -27,6 +27,8 @@ $tag-background-color: #CBE6FA; $tag-background-hover-color: #CC3948; $tag-hover-color: #CBE6FA; +$line-height: 1.4; + $spacing: 30px; $social-icon-size: 32px; @@ -95,7 +97,8 @@ h1.topmost { article { margin-bottom: 100px; - p { + .description { + line-height: $line-height; hyphens: auto; } } @@ -117,8 +120,8 @@ h1.topmost { margin-bottom: 10px; } - .content p { - line-height: 1.4; + .content p, .content li { + line-height: $line-height; hyphens: auto; } -- cgit v1.2.3