From: Ardis Lu Date: Mon, 15 Sep 2025 01:20:21 +0000 (-0700) Subject: Tweak inline code styling X-Git-Url: https://git.ardis.lu/?a=commitdiff_plain;h=d0f42bbe575fbbef11b516aabc7b23cd5af1c4c1;p=git.ardis.lu Tweak inline code styling --- diff --git a/usr/share/gitweb/static/custom.css b/usr/share/gitweb/static/custom.css index b84ea9a..8f13a9a 100644 --- a/usr/share/gitweb/static/custom.css +++ b/usr/share/gitweb/static/custom.css @@ -16,7 +16,8 @@ td.pre, div.pre, div.diff, td.mode, -td.size { +td.size, +div.readme code { font-family: "Source Code Pro", ui-monospace, monospace; } @@ -66,6 +67,14 @@ div.readme { hyphens: none; } + & li { + margin-block: 4px; + + & code { + font-size: 0.9rem; + } + } + & pre { padding: 8px 12px; }