Highlight inline code snippets better
This commit is contained in:
parent
01a8743034
commit
84d2ecabe5
2 changed files with 4 additions and 2 deletions
|
@ -34,10 +34,10 @@ body
|
|||
> h1, > h2, > h3, > h4, > h5, > h6 { color: var(--heading-fg) }
|
||||
*:first-child { margin-top: 0 }
|
||||
|
||||
&> p > code
|
||||
> p code
|
||||
padding 0.1em 0.25em
|
||||
border-radius 0.25em
|
||||
background-color rgba(255, 255, 255, 0.03)
|
||||
background-color var(--inline-code-bg)
|
||||
|
||||
&> header
|
||||
font-family var(--msff), monospace
|
||||
|
|
|
@ -52,6 +52,7 @@ light-theme =
|
|||
--bg #fff
|
||||
--header-bg #eee
|
||||
--fg #111
|
||||
--inline-code-bg #ddd
|
||||
|
||||
dark-theme =
|
||||
for k, v in dark-syntax
|
||||
|
@ -62,6 +63,7 @@ dark-theme =
|
|||
--header-bg #191919
|
||||
--fg #fff
|
||||
--link-visited-fg #aaa
|
||||
--inline-code-bg #222
|
||||
|
||||
:root, body.light-theme
|
||||
{light-theme}
|
||||
|
|
Loading…
Reference in a new issue