From 3b2d69893d3b082856fd1252367efa9af20c9c61 Mon Sep 17 00:00:00 2001 From: Bat Date: Tue, 4 Sep 2018 14:32:20 +0100 Subject: [PATCH] Better style for code blocks --- static/main.css | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/static/main.css b/static/main.css index 0e65fa79..b1d72d6e 100644 --- a/static/main.css +++ b/static/main.css @@ -167,6 +167,13 @@ article img { max-width: 100%; } +article pre { + background: #DADADA; + padding: 1em; + overflow: auto; + border-radius: 5px; +} + /* Article.Meta */ main .article-meta, main .article-meta button {