summaryrefslogtreecommitdiffstats
path: root/theme/stylesheets
diff options
context:
space:
mode:
Diffstat (limited to 'theme/stylesheets')
-rw-r--r--theme/stylesheets/base/markdown.less2
-rwxr-xr-xtheme/stylesheets/website/markdown.less4
2 files changed, 4 insertions, 2 deletions
diff --git a/theme/stylesheets/base/markdown.less b/theme/stylesheets/base/markdown.less
index 46d6953..68194f7 100644
--- a/theme/stylesheets/base/markdown.less
+++ b/theme/stylesheets/base/markdown.less
@@ -358,8 +358,6 @@
background-color: #f7f7f7;
border: none;
border-radius: 3px;
-
- @import "./highlight/white.less";
}
pre {
diff --git a/theme/stylesheets/website/markdown.less b/theme/stylesheets/website/markdown.less
index 3e4e866..9ebcd51 100755
--- a/theme/stylesheets/website/markdown.less
+++ b/theme/stylesheets/website/markdown.less
@@ -4,6 +4,10 @@
.book .book-body .page-wrapper .page-inner section.normal {
.markdown-content(@content-color, @content-line-height);
+
+ pre, code {
+ @import "./highlight/white.less";
+ }
}
.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal {