Modify markdown styles.

This commit is contained in:
jaywcjlove 2018-10-08 16:06:51 +08:00
parent 22926dcf09
commit 64ad089c95
1 changed files with 9 additions and 2 deletions

View File

@ -2,7 +2,7 @@
.markdown-body { .markdown-body {
padding 70px 35px 30px 35px padding 70px 35px 30px 35px
word-wrap break-word word-wrap break-word
font-family "Helvetica Neue", Helvetica, "Segoe UI", Arial, freesans, sans-serif font-family: "SFMono-Regular",Consolas,"Liberation Mono",Menlo,Courier,monospace;
font-size 14px font-size 14px
line-height 1.6 line-height 1.6
color #333 color #333
@ -47,7 +47,6 @@
position: relative position: relative
background-color: #f7f7f9 background-color: #f7f7f9
border-radius: 3px border-radius: 3px
font: "Source Code Pro", Consolas, Menlo, Monaco, "Courier New", monospace
font-size: 0.93em font-size: 0.93em
-webkit-overflow-scrolling: touch -webkit-overflow-scrolling: touch
code { code {
@ -64,6 +63,7 @@
white-space: inherit white-space: inherit
overflow-wrap: normal overflow-wrap: normal
word-wrap: normal!important word-wrap: normal!important
font-family: "SFMono-Regular",Consolas,"Liberation Mono",Menlo,Courier,monospace;
} }
} }
.class-name { .class-name {
@ -209,4 +209,11 @@
.shebang, .important { .shebang, .important {
color: #FF1717; color: #FF1717;
} }
ul, ol {
padding-left: 2em;
}
p, blockquote, ul, ol, dl, table, pre {
margin-top: 0;
margin-bottom: 16px;
}
} }