From 3d32585d8433252cc78115a744a8117c7210f3ad Mon Sep 17 00:00:00 2001 From: kosayoda Date: Tue, 23 Mar 2021 16:00:07 +0800 Subject: Style
 tag backgrounds same as .

This makes it consistent with the django-wiki version of the code
blocks, which looks neater.
---
 pydis_site/static/css/content/articles.css | 9 +++++++++
 1 file changed, 9 insertions(+)

(limited to 'pydis_site')

diff --git a/pydis_site/static/css/content/articles.css b/pydis_site/static/css/content/articles.css
index fa7a0ba5..f46d6b15 100644
--- a/pydis_site/static/css/content/articles.css
+++ b/pydis_site/static/css/content/articles.css
@@ -5,3 +5,12 @@
 i.has-icon-padding {
     padding: 0 10px 25px 0;
 }
+
+pre {
+    /*
+     * Style it the same as the  tag, since highlight.js does not style
+     * backgrounds of 
 tags but bulma does, resulting in a weird off-white
+     * border.
+     */
+    background-color: #282c34;
+}
-- 
cgit v1.2.3