fix: update code font (#4)

This commit is contained in:
EveSunMaple 2023-11-10 18:09:32 +08:00 committed by GitHub
parent 239c546d5f
commit 8d2d2de9b8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 2 deletions

View File

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