From d0f42bbe575fbbef11b516aabc7b23cd5af1c4c1 Mon Sep 17 00:00:00 2001 From: Ardis Lu Date: Sun, 14 Sep 2025 18:20:21 -0700 Subject: [PATCH] Tweak inline code styling --- usr/share/gitweb/static/custom.css | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) 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; } -- 2.47.3