From 2eb5d43ebad98442646cc1200437262d3793a1f1 Mon Sep 17 00:00:00 2001 From: Donald Buczek Date: Tue, 4 Feb 2020 18:57:32 +0100 Subject: [PATCH] custom.css: Add vertical space after code The bulma style sets margin-bottom to 1em for several block-level elements (eg

). However the codehilite

s, generated by the codehilite Markdown extension don't have that. So we have 1em vertical space before a code block but not after, which just looks wrong. Add vertical space after codehilite
s. --- mpicms/static/css/custom.css | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/mpicms/static/css/custom.css b/mpicms/static/css/custom.css index 62ff3a4..323b80b 100644 --- a/mpicms/static/css/custom.css +++ b/mpicms/static/css/custom.css @@ -736,3 +736,7 @@ a.tag:hover { .modal-image:hover, .richtext-image:hover { cursor: pointer; } + +div.codehilite:not(:last-child) { + margin-bottom: 1em; +}