From d262d44933cca2934591fb53b619ae76a66219eb Mon Sep 17 00:00:00 2001 From: jaywcjlove <398188662@qq.com> Date: Sat, 3 Dec 2016 11:59:34 +0800 Subject: [PATCH] =?UTF-8?q?=E6=A0=B7=E5=BC=8F=E8=B0=83=E6=95=B4=E4=BB=A3?= =?UTF-8?q?=E7=A0=81=E5=BC=BA=E5=88=B6=E6=8D=A2=E8=A1=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- template/styl/mixins/markdown.styl | 20 ++++++++++++++++---- 1 file changed, 16 insertions(+), 4 deletions(-) diff --git a/template/styl/mixins/markdown.styl b/template/styl/mixins/markdown.styl index b002a68c38..9d00a6e591 100644 --- a/template/styl/mixins/markdown.styl +++ b/template/styl/mixins/markdown.styl @@ -90,12 +90,19 @@ div.markdown-body ul ul ol, ul ol ol, ol ul ol, ol ol ol list-style-type lower-alpha pre - padding 1em - overflow auto + overflow: auto + padding: 1em + margin-top: 1.5em + margin-bottom: 1.5em + line-height: 1.3 + word-break: break-all + word-wrap: break-word + color: rgb(51, 51, 51) + border: none + max-height: 35em + position: relative background-color #f7f7f9 border-radius 3px - word-break break-all - word-wrap break-word font "Source Code Pro", Consolas, Menlo, Monaco, "Courier New", monospace font-size 0.93em -webkit-overflow-scrolling touch @@ -105,6 +112,11 @@ div.markdown-body line-height 1.4 display block font-size 1em + box-sizing: border-box + border-radius: 0px + white-space: inherit + overflow-wrap: normal + word-wrap:normal!important // code:before,code:after,tt:before,tt:after // letter-spacing 0 // content ""