From 03b7ae45a97a75738146ee2678de2e0a2864e85a Mon Sep 17 00:00:00 2001 From: Vincent Douillet Date: Sat, 11 Sep 2021 14:41:04 +0200 Subject: Add style for code blocks --- static/css/style.css | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/static/css/style.css b/static/css/style.css index 2e26b99..7404523 100644 --- a/static/css/style.css +++ b/static/css/style.css @@ -49,6 +49,12 @@ footer.copyright { content: " | "; } +pre { + border: 2px solid gray; + padding: 0.5em; + background: white; +} + @media(prefers-color-scheme: light) { html { background: #efeee3; @@ -81,4 +87,8 @@ footer.copyright { footer.copyright { color: #b0b0b0; } + + pre { + background: black; + } } -- cgit v1.2.3