From 455583fb2e57ce434977de6221f10e144d8e1dce Mon Sep 17 00:00:00 2001 From: Luna D Date: Thu, 23 Sep 2021 15:53:20 +0200 Subject: [PATCH] better styling for code blocks --- assets/css/common/_base.scss | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/assets/css/common/_base.scss b/assets/css/common/_base.scss index 5193f740..d10a3cfc 100644 --- a/assets/css/common/_base.scss +++ b/assets/css/common/_base.scss @@ -309,6 +309,24 @@ img[alt=large] { @extend .table; } +.communication__body__text pre { + border: 1px solid $meta_border_color; + max-width: 100%; + + code { + overflow-y: scroll; + border: 0; + background: 0; + padding: 0; + } +} + +.communication__body__text code { + background-color: $meta_color; + border: 1px solid $meta_border_color; + padding: 0 4px; +} + //donations .donate-button { background: 0;