aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar scragly <[email protected]>2019-12-09 23:28:18 +1000
committerGravatar GitHub <[email protected]>2019-12-09 23:28:18 +1000
commitf7e4cfb020ea7230714b87c1a285d5c21d570649 (patch)
tree26dd9866ba091410d123cafdf52b1ab01ad4976a
parentMerge 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.css5
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;
+}