diff options
Diffstat (limited to 'source')
-rw-r--r-- | source/css/theme.css | 7 | ||||
-rw-r--r-- | source/css/theme.scss | 6 |
2 files changed, 12 insertions, 1 deletions
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.*/ 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 |