From d264f49233c1a493927ab72bc74b2716237fe8f0 Mon Sep 17 00:00:00 2001 From: Jan Kremer Date: Tue, 13 Jan 2026 10:02:58 +0100 Subject: [PATCH] css: Fix code highlighting --- assets/css/main.css | 4 ++-- hugo.toml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/assets/css/main.css b/assets/css/main.css index 8025ab4..38bcdcd 100644 --- a/assets/css/main.css +++ b/assets/css/main.css @@ -354,10 +354,10 @@ code { .highlight { 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; - padding: 0.5rem 0rem; margin: 1rem 0; + padding: 0 1rem; overflow: auto; pre { diff --git a/hugo.toml b/hugo.toml index be2d353..272ce06 100644 --- a/hugo.toml +++ b/hugo.toml @@ -11,7 +11,7 @@ unsafe = true [markup.goldmark.parser] wrapStandAloneImageWithinParagraph = false [markup.highlight] -style = "rose-pine-dawn" +style = "github" [params] [params.author]