diff options
author | Daniel Schadt <kingdread@gmx.de> | 2023-12-01 21:17:28 +0100 |
---|---|---|
committer | Daniel Schadt <kingdread@gmx.de> | 2023-12-01 21:17:28 +0100 |
commit | ee7e33ee5927e505e4b099793ab25aae34cc8b44 (patch) | |
tree | adf0c0b655222e9a43de2e01506701a2be7ee641 /static/sass | |
parent | bed8eea4163bb5e1ee58fec810dccadc2f3dff17 (diff) | |
download | moeka-ee7e33ee5927e505e4b099793ab25aae34cc8b44.tar.gz moeka-ee7e33ee5927e505e4b099793ab25aae34cc8b44.tar.bz2 moeka-ee7e33ee5927e505e4b099793ab25aae34cc8b44.zip |
apply text formatting also to <li> elements
Diffstat (limited to 'static/sass')
-rw-r--r-- | static/sass/main.scss | 9 |
1 files changed, 6 insertions, 3 deletions
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; } |