diff options
author | Daniel Schadt <kingdread@gmx.de> | 2023-12-01 21:01:27 +0100 |
---|---|---|
committer | Daniel Schadt <kingdread@gmx.de> | 2023-12-01 21:01:27 +0100 |
commit | a00e54cc66614bb650ed34ef664a54feae66d9ad (patch) | |
tree | 9e54ce238ca7cf15ad36be55de2afa56346339d7 /static/sass | |
parent | f4ef516fb3a49a1f9fd7853fbece87005a6d0d30 (diff) | |
download | moeka-a00e54cc66614bb650ed34ef664a54feae66d9ad.tar.gz moeka-a00e54cc66614bb650ed34ef664a54feae66d9ad.tar.bz2 moeka-a00e54cc66614bb650ed34ef664a54feae66d9ad.zip |
only hyphenate article content, not headings
Diffstat (limited to 'static/sass')
-rw-r--r-- | static/sass/main.scss | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/static/sass/main.scss b/static/sass/main.scss index 23622b6..346c0f0 100644 --- a/static/sass/main.scss +++ b/static/sass/main.scss @@ -43,7 +43,7 @@ a { } } body { - hyphens: auto; + hyphens: none; } /* Font selection */ @@ -95,6 +95,9 @@ h1.topmost { article { margin-bottom: 100px; + p { + hyphens: auto; + } } } @@ -114,8 +117,9 @@ h1.topmost { margin-bottom: 10px; } - .content { + .content p { line-height: 1.4; + hyphens: auto; } code, tt { |