Fix font-size changing for code in headings (#1456)

Co-authored-by: Koy <koy@ko8e24.top>
Co-authored-by: Anix <anik220798@gmail.com>
Co-authored-by: 沈唁 <52o@qq52o.cn>
This commit is contained in:
Yash Singh 2021-02-04 20:51:22 -08:00 committed by GitHub
parent 716a7fa777
commit c7f4c7cf9b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 9 additions and 3 deletions

View File

@ -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

View File

@ -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

View File

@ -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