diff --git a/template/styl/index.styl b/template/styl/index.styl index bf698b4892..ef70fb5371 100644 --- a/template/styl/index.styl +++ b/template/styl/index.styl @@ -272,7 +272,4 @@ a.github-corner { color #a3a3a3 } } - div.markdown-body pre{ - padding: 0.6em; - } } \ No newline at end of file diff --git a/template/styl/mixins/markdown.styl b/template/styl/mixins/markdown.styl index 9d00a6e591..808d43b318 100644 --- a/template/styl/mixins/markdown.styl +++ b/template/styl/mixins/markdown.styl @@ -90,8 +90,6 @@ div.markdown-body ul ul ol, ul ol ol, ol ul ol, ol ol ol list-style-type lower-alpha pre - overflow: auto - padding: 1em margin-top: 1.5em margin-bottom: 1.5em line-height: 1.3 @@ -107,6 +105,8 @@ div.markdown-body font-size 0.93em -webkit-overflow-scrolling touch code + padding: 0.7em + overflow: auto background-color transparent color inherit line-height 1.4