diff options
author | 2021-03-23 16:00:07 +0800 | |
---|---|---|
committer | 2021-03-23 16:00:07 +0800 | |
commit | 3d32585d8433252cc78115a744a8117c7210f3ad (patch) | |
tree | 1d1ab890aaa4dbc6e3508d20e1ce8b54a3d349a3 /pydis_site/static | |
parent | Update highlight.js script and use one dark style. (diff) |
Style <pre> tag backgrounds 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/content/articles.css | 9 |
1 files changed, 9 insertions, 0 deletions
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 <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; +} |