Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: font-size changing for code in headings #1456

Merged
merged 8 commits into from
Feb 5, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion src/themes/dark.styl
Original file line number Diff line number Diff line change
Expand Up @@ -99,11 +99,13 @@ body
border-radius 2px
color #657b83
font-family 'Roboto Mono', Monaco, courier, monospace
font-size 0.8rem
margin 0 2px
padding 3px 5px
white-space pre-wrap

.markdown-section > :not(h1):not(h2):not(h3):not(h4):not(h5):not(h6) code
font-size 0.8rem

.markdown-section pre
-moz-osx-font-smoothing initial
-webkit-font-smoothing initial
Expand Down
4 changes: 3 additions & 1 deletion src/themes/dolphin.styl
Original file line number Diff line number Diff line change
Expand Up @@ -111,11 +111,13 @@ body
border-radius 2px
color #e96900
font-family 'Roboto Mono', Monaco, courier, monospace
font-size 0.8rem
margin 0 2px
padding 3px 5px
white-space pre-wrap

.markdown-section > :not(h1):not(h2):not(h3):not(h4):not(h5):not(h6) code
font-size 0.8rem

.markdown-section pre
-moz-osx-font-smoothing initial
-webkit-font-smoothing initial
Expand Down
4 changes: 3 additions & 1 deletion src/themes/vue.styl
Original file line number Diff line number Diff line change
Expand Up @@ -130,11 +130,13 @@ body
.markdown-section code
border-radius 2px
color #e96900
font-size 0.8rem
margin 0 2px
padding 3px 5px
white-space pre-wrap

.markdown-section > :not(h1):not(h2):not(h3):not(h4):not(h5):not(h6) code
font-size 0.8rem

.markdown-section pre
padding 0 1.4rem
line-height 1.5rem
Expand Down