Skip to content

Commit

Permalink
style: Modify markdown styles.
Browse files Browse the repository at this point in the history
  • Loading branch information
jaywcjlove committed May 23, 2020
1 parent c8a9bf1 commit 2901df5
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/styles/markdown.less
@@ -1,7 +1,7 @@
.wmde-markdown {
font-size: 14px;
line-height: 1.5;
font-family: -apple-system,BlinkMacSystemFont,Segoe UI,Helvetica,Arial,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol;
font-family: SFMono-Regular,Consolas,Liberation Mono,Menlo,monospace;
> :first-child {
margin-top: 0 !important;
}
Expand All @@ -28,7 +28,6 @@
line-height: 1.5;
display: block;
text-shadow: 0 1px #fff;
font-family: SFMono-Regular, Consolas, Liberation Mono, Menlo, monospace;
}

pre {
Expand All @@ -47,6 +46,9 @@
margin: 0;
padding: .2em .4em;
}
pre, code, tt {
font-family: SFMono-Regular,Consolas,Liberation Mono,Menlo,monospace;
}
img {
max-width: 100%;
}
Expand Down

0 comments on commit 2901df5

Please sign in to comment.