diff options
author | 2019-12-09 23:28:18 +1000 | |
---|---|---|
committer | 2019-12-09 23:28:18 +1000 | |
commit | f7e4cfb020ea7230714b87c1a285d5c21d570649 (patch) | |
tree | 26dd9866ba091410d123cafdf52b1ab01ad4976a | |
parent | Merge pull request #313 from python-discord/fix-discord-tos (diff) |
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.
-rw-r--r-- | pydis_site/static/css/base/base.css | 5 |
1 files changed, 5 insertions, 0 deletions
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; +} |