diff options
author | 2021-03-22 22:58:04 +0800 | |
---|---|---|
committer | 2021-03-22 22:58:04 +0800 | |
commit | 15e301d7a539e15b473d896c24609bc10f6ff3d8 (patch) | |
tree | 5998559d1ff4e928cdd0e945616be24372f08e5e | |
parent | Fix 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.
-rw-r--r-- | pydis_site/static/css/events/base.css | 9 |
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; +} |