aboutsummaryrefslogtreecommitdiffstats
path: root/pydis_site/static
diff options
context:
space:
mode:
authorGravatar kosayoda <[email protected]>2021-03-22 22:58:04 +0800
committerGravatar kosayoda <[email protected]>2021-03-22 22:58:04 +0800
commit15e301d7a539e15b473d896c24609bc10f6ff3d8 (patch)
tree5998559d1ff4e928cdd0e945616be24372f08e5e /pydis_site/static
parentFix event content columns when there is no sidebar. (diff)
Style <pre> tag backgrounds the same as <code>.
This makes it consistent with the django-wiki version of the code blocks, which looks neater.
Diffstat (limited to 'pydis_site/static')
-rw-r--r--pydis_site/static/css/events/base.css9
1 files changed, 9 insertions, 0 deletions
diff --git a/pydis_site/static/css/events/base.css b/pydis_site/static/css/events/base.css
index b4f233f7..266bca1d 100644
--- a/pydis_site/static/css/events/base.css
+++ b/pydis_site/static/css/events/base.css
@@ -1,3 +1,12 @@
.breadcrumb-section {
padding: 1rem;
}
+
+pre {
+ /*
+ * Style it the same as the <code> tag, since highlight.js does not style
+ * backgrounds of <pre> tags but bulma does, resulting in a weird off-white
+ * border.
+ */
+ background-color: #282c34;
+}