css: Fix code highlighting

This commit is contained in:
Jan Kremer 2026-01-13 10:02:58 +01:00
parent 988507af98
commit d264f49233
No known key found for this signature in database
2 changed files with 3 additions and 3 deletions

View file

@ -354,10 +354,10 @@ code {
.highlight { .highlight {
font-family: var(--mono); font-family: var(--mono);
background: light-dark(var(--uchu-gray), var(--uchu-dark-gray)); border: 1px solid light-dark(var(--uchu-gray), var(--uchu-dark-gray));
border-radius: 0.3rem; border-radius: 0.3rem;
padding: 0.5rem 0rem;
margin: 1rem 0; margin: 1rem 0;
padding: 0 1rem;
overflow: auto; overflow: auto;
pre { pre {

View file

@ -11,7 +11,7 @@ unsafe = true
[markup.goldmark.parser] [markup.goldmark.parser]
wrapStandAloneImageWithinParagraph = false wrapStandAloneImageWithinParagraph = false
[markup.highlight] [markup.highlight]
style = "rose-pine-dawn" style = "github"
[params] [params]
[params.author] [params.author]