From: Ardis Lu Date: Mon, 15 Sep 2025 00:41:00 +0000 (-0700) Subject: Improve styling in README X-Git-Url: https://git.ardis.lu/?a=commitdiff_plain;h=5d0045b2a40961b6da82189620b347afe1bed28b;p=git.ardis.lu Improve styling in README --- 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;