Skip to content

Commit 64b6599

Browse files
committed
代码高亮pre样式调整
1 parent d262d44 commit 64b6599

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

template/styl/index.styl

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -272,7 +272,4 @@ a.github-corner {
272272
color #a3a3a3
273273
}
274274
}
275-
div.markdown-body pre{
276-
padding: 0.6em;
277-
}
278275
}

template/styl/mixins/markdown.styl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,8 +90,6 @@ div.markdown-body
9090
ul ul ol, ul ol ol, ol ul ol, ol ol ol
9191
list-style-type lower-alpha
9292
pre
93-
overflow: auto
94-
padding: 1em
9593
margin-top: 1.5em
9694
margin-bottom: 1.5em
9795
line-height: 1.3
@@ -107,6 +105,8 @@ div.markdown-body
107105
font-size 0.93em
108106
-webkit-overflow-scrolling touch
109107
code
108+
padding: 0.7em
109+
overflow: auto
110110
background-color transparent
111111
color inherit
112112
line-height 1.4

0 commit comments

Comments
 (0)