From 11f081ae1c10ac7a3bf7de2d2e2f005bc422be68 Mon Sep 17 00:00:00 2001 From: neodarz Date: Mon, 13 May 2019 09:03:09 +0200 Subject: Fix default theme for code block --- source/css/theme.css | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'source/css/theme.css') diff --git a/source/css/theme.css b/source/css/theme.css index 940aca95..1dbd7732 100644 --- a/source/css/theme.css +++ b/source/css/theme.css @@ -268,7 +268,12 @@ h1 code, h2 code { pre { padding: 1em; - background: #000; } + background: #000; + border: 1px solid; + overflow: auto; } + +pre[class*=title-header] { + border: none; } /* Pandoc wraps pre[class*=sourceCode] in a div tag, so it is necessary to eliminate the margins of such pre tags to avoid too much spacing.*/ -- cgit v1.2.1