fix: update code font (#4)
This commit is contained in:
parent
239c546d5f
commit
8d2d2de9b8
|
@ -38,9 +38,10 @@ const className = Astro.props.class;
|
||||||
/*&:after*/
|
/*&:after*/
|
||||||
/* background: var(--link-active)*/
|
/* background: var(--link-active)*/
|
||||||
code
|
code
|
||||||
font-family: monospace
|
font-family: ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace
|
||||||
background: var(--inline-code-bg)
|
background: var(--inline-code-bg)
|
||||||
color: var(--inline-code-color)
|
color: var(--inline-code-color)
|
||||||
|
font-size: 0.875rem
|
||||||
padding: 2px 4px
|
padding: 2px 4px
|
||||||
border-radius: 4px
|
border-radius: 4px
|
||||||
overflow: hidden
|
overflow: hidden
|
||||||
|
@ -98,4 +99,4 @@ const className = Astro.props.class;
|
||||||
margin-left: auto
|
margin-left: auto
|
||||||
margin-right: auto
|
margin-right: auto
|
||||||
max-width: 100%
|
max-width: 100%
|
||||||
</style>
|
</style>
|
||||||
|
|
Loading…
Reference in New Issue