From edd6988a11b3adadf80b812f8a2218cad28c5949 Mon Sep 17 00:00:00 2001 From: Jakub Klinkovský Date: Thu, 10 Sep 2020 09:34:00 +0200 Subject: Fix rendering of headings inside news previews --- sitestatic/archweb.css | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) 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; -- cgit v1.2.3-55-g3dc8