From 5d0045b2a40961b6da82189620b347afe1bed28b Mon Sep 17 00:00:00 2001 From: Ardis Lu Date: Sun, 14 Sep 2025 17:41:00 -0700 Subject: [PATCH] Improve styling in README --- usr/share/gitweb/static/custom.css | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/usr/share/gitweb/static/custom.css b/usr/share/gitweb/static/custom.css index 814c422..b84ea9a 100644 --- a/usr/share/gitweb/static/custom.css +++ b/usr/share/gitweb/static/custom.css @@ -57,6 +57,20 @@ div.readme { max-inline-size: min(100dvi - 38px, 1440px); } +div.readme { + & :not(pre) code { + border: 1px solid transparent; + border-radius: 4px; + background: hsl(0deg 0% 95%); + padding: 1px 3px 2px; + hyphens: none; + } + + & pre { + padding: 8px 12px; + } +} + div.title_text { display: flex; align-items: center; -- 2.47.3