From f7e4cfb020ea7230714b87c1a285d5c21d570649 Mon Sep 17 00:00:00 2001 From: scragly <29337040+scragly@users.noreply.github.com> Date: Mon, 9 Dec 2019 23:28:18 +1000 Subject: Add 1em bottom margin to wiki markdown codeblocks. Any text following the end of a codeblock in the wiki would very closely hug the codeblock, impacting readability and giving poor structure to page content. This adds in an appropriate margin to the bottom of codeblocks to give a fair buffer that matches typical paragraph spacing. --- pydis_site/static/css/base/base.css | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pydis_site/static/css/base/base.css b/pydis_site/static/css/base/base.css index 75702d47..dc7c504d 100644 --- a/pydis_site/static/css/base/base.css +++ b/pydis_site/static/css/base/base.css @@ -106,3 +106,8 @@ button.is-size-navbar-menu, a.is-size-navbar-menu { .modal-background { z-index: 1010; } + +/* Wiki style tweaks */ +.codehilite-wrap { + margin-bottom: 1em; +} -- cgit v1.2.3