diff options
author | Jakub Klinkovský <j.l.k@gmx.com> | 2020-09-10 09:34:00 +0200 |
---|---|---|
committer | jelle van der Waa <jelle@vdwaa.nl> | 2020-09-11 21:10:51 +0200 |
commit | edd6988a11b3adadf80b812f8a2218cad28c5949 (patch) | |
tree | 3e30c261ad129fdd60fde8a0ea2cd2fe41b7ad7d | |
parent | 774f47815350b21f7fa5a79fdbe61fd64204e947 (diff) | |
download | archweb-edd6988a11b3adadf80b812f8a2218cad28c5949.tar.gz archweb-edd6988a11b3adadf80b812f8a2218cad28c5949.zip |
Fix rendering of headings inside news previews
-rw-r--r-- | sitestatic/archweb.css | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/sitestatic/archweb.css b/sitestatic/archweb.css index f2496052..5d36dbc3 100644 --- a/sitestatic/archweb.css +++ b/sitestatic/archweb.css @@ -494,6 +494,24 @@ h3 span.arrow { line-height: 0px; } +/* home: headings inside news previews */ +#news div.article-content h1, +#news div.article-content h2, +#news div.article-content h3, +#news div.article-content h4, +#news div.article-content h5 { + /* cancel styling for #news h3 */ + float: none; + padding-bottom: 0em; + /* cancel styling for #news h4 */ + clear: none; + border-bottom: none; + /* force the style of normal h5 */ + font-size: 1em; + margin-top: 1em; + margin-bottom: 0em; +} + /* planet: posts */ #planet { margin-top: 1.5em; |