From c41f323be72f35d3269fb688ba1cc5b11e619852 Mon Sep 17 00:00:00 2001 From: ycjcl868 <45808948@qq.com> Date: Sat, 28 Dec 2019 23:49:35 +0800 Subject: [PATCH] fix: form dark theme --- site/theme/static/dark.less | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/site/theme/static/dark.less b/site/theme/static/dark.less index bb2c5a61df..6cda7d9892 100644 --- a/site/theme/static/dark.less +++ b/site/theme/static/dark.less @@ -23,6 +23,16 @@ .code-box { border: 1px solid @border-color-split; + .markdown { + pre { + margin: 0.5em 0; + padding: 6px 12px; + } + pre code { + margin: 0; + background: #262626; + } + } .code-box-title { &, a {