Skip to content

Commit 64ad089

Browse files
committed
Modify markdown styles.
1 parent 22926dc commit 64ad089

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

template/styl/mixins/markdown.styl

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
.markdown-body {
33
padding 70px 35px 30px 35px
44
word-wrap break-word
5-
font-family "Helvetica Neue", Helvetica, "Segoe UI", Arial, freesans, sans-serif
5+
font-family: "SFMono-Regular",Consolas,"Liberation Mono",Menlo,Courier,monospace;
66
font-size 14px
77
line-height 1.6
88
color #333
@@ -47,7 +47,6 @@
4747
position: relative
4848
background-color: #f7f7f9
4949
border-radius: 3px
50-
font: "Source Code Pro", Consolas, Menlo, Monaco, "Courier New", monospace
5150
font-size: 0.93em
5251
-webkit-overflow-scrolling: touch
5352
code {
@@ -64,6 +63,7 @@
6463
white-space: inherit
6564
overflow-wrap: normal
6665
word-wrap: normal!important
66+
font-family: "SFMono-Regular",Consolas,"Liberation Mono",Menlo,Courier,monospace;
6767
}
6868
}
6969
.class-name {
@@ -209,4 +209,11 @@
209209
.shebang, .important {
210210
color: #FF1717;
211211
}
212+
ul, ol {
213+
padding-left: 2em;
214+
}
215+
p, blockquote, ul, ol, dl, table, pre {
216+
margin-top: 0;
217+
margin-bottom: 16px;
218+
}
212219
}

0 commit comments

Comments
 (0)