mirror of
https://github.com/docsifyjs/docsify.git
synced 2025-12-08 19:55:52 +00:00
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:
parent
716a7fa777
commit
c7f4c7cf9b
@ -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
|
||||
|
||||
@ -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
|
||||
|
||||
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user