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.scss | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'source/css/theme.scss') diff --git a/source/css/theme.scss b/source/css/theme.scss index dfa1f8cd..387b4f00 100644 --- a/source/css/theme.scss +++ b/source/css/theme.scss @@ -386,6 +386,12 @@ h1 code, h2 code { pre { padding: 1em; 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 -- cgit v1.2.1