From e81a210460460f8bbff9b80544115699d93c02b7 Mon Sep 17 00:00:00 2001 From: jaywcjlove <398188662@qq.com> Date: Sun, 5 Jul 2015 03:27:28 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4=E9=A2=84=E8=A7=88=E7=95=8C?= =?UTF-8?q?=E9=9D=A2=E6=A0=B7=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- themes/default/css/MDEditor.min.css | 5 +++-- themes/default/stylus/MDEditor.styl | 5 +++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/themes/default/css/MDEditor.min.css b/themes/default/css/MDEditor.min.css index a2031e8..82383cb 100644 --- a/themes/default/css/MDEditor.min.css +++ b/themes/default/css/MDEditor.min.css @@ -52,7 +52,7 @@ } .mdeditor .mde_preview { margin: 0; - padding: 5px; + padding: 15px; background-color: #fff; position: relative; overflow: auto; @@ -110,6 +110,7 @@ .markdown_body h1 { font-size: 2.25em; line-height: 1.2; + padding-bottom: 0.3em; } .markdown_body h2 { padding-bottom: 0.3em; @@ -148,7 +149,7 @@ overflow: auto; font-size: 85%; line-height: 1.45; - background-color: #f7f7f7; + background-color: #eee; border-radius: 3px; } .markdown_body pre code { diff --git a/themes/default/stylus/MDEditor.styl b/themes/default/stylus/MDEditor.styl index df1ffed..8bfd453 100644 --- a/themes/default/stylus/MDEditor.styl +++ b/themes/default/stylus/MDEditor.styl @@ -44,7 +44,7 @@ min-height=200px color: #999 .mde_preview margin:0 - padding:5px + padding:15px background-color:#fff position:relative overflow: auto @@ -90,6 +90,7 @@ min-height=200px h1 font-size: 2.25em line-height: 1.2 + padding-bottom: 0.3em h2 padding-bottom: 0.3em font-size: 1.75em @@ -114,7 +115,7 @@ min-height=200px overflow: auto font-size: 85% line-height: 1.45 - background-color: #f7f7f7 + background-color: #EEEEEE border-radius: 3px code background-color:transparent