Skip to content

Commit

Permalink
调整预览界面样式
Browse files Browse the repository at this point in the history
  • Loading branch information
jaywcjlove committed Jul 4, 2015
1 parent 0e02227 commit e81a210
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
5 changes: 3 additions & 2 deletions themes/default/css/MDEditor.min.css
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
}
.mdeditor .mde_preview {
margin: 0;
padding: 5px;
padding: 15px;
background-color: #fff;
position: relative;
overflow: auto;
Expand Down Expand Up @@ -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;
Expand Down Expand Up @@ -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 {
Expand Down
5 changes: 3 additions & 2 deletions themes/default/stylus/MDEditor.styl
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ min-height=200px
color: #999
.mde_preview
margin:0
padding:5px
padding:15px
background-color:#fff
position:relative
overflow: auto
Expand Down Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit e81a210

Please sign in to comment.