From: Ben Sherratt Date: Sun, 19 Nov 2023 16:45:40 +0000 (+0000) Subject: coding css blocks X-Git-Url: https://git.bts.cx/cx.git/commitdiff_plain/d4ec97e97b01a12a8fdf6d473b05e6c496842e85?ds=inline coding css blocks --- diff --git a/public/design/css/style.css b/public/design/css/style.css index 8393d4a..8fb9544 100644 --- a/public/design/css/style.css +++ b/public/design/css/style.css @@ -175,6 +175,16 @@ code:not([class*="language"]) { padding-left: 0.15em; } +pre code { + margin: 2rem 0; + padding: 0.5em 1rem; + display: block; + border-left: 3px solid rgba(0, 0, 0, 0.35); + background-color: rgba(0, 0, 0, 0.05); + border-radius: 0 0.25rem 0.25rem 0; + overflow-x: auto; +} + blockquote { margin: 2rem 0; padding: 0.5em 1rem;