From: Ardis Lu Date: Wed, 15 Oct 2025 06:43:29 +0000 (-0700) Subject: Remove Source Code Pro font X-Git-Url: https://git.ardis.lu/?a=commitdiff_plain;h=42064630942a788e65068c9fcc38bc0de925a64f;p=git.ardis.lu Remove Source Code Pro font Fixes inconsistent whitespace collapsing in plaintext tables that use box-drawing characters (e.g., the `transcriber` repo). The `padding` adjustment is needed because Source Code Pro uses above average spacing compared to other monospaced fonts. --- diff --git a/usr/share/gitweb/static/custom.css b/usr/share/gitweb/static/custom.css index e001516..699a914 100644 --- a/usr/share/gitweb/static/custom.css +++ b/usr/share/gitweb/static/custom.css @@ -1,4 +1,4 @@ -@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Source+Code+Pro:ital,wght@0,200..900;1,200..900&display=swap'); +@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap'); body, div.log_link, @@ -18,7 +18,7 @@ div.diff, td.mode, td.size, div.readme code { - font-family: "Source Code Pro", ui-monospace, monospace; + font-family: ui-monospace, monospace; } body { @@ -77,7 +77,7 @@ div.readme { } & pre { - padding: 8px 12px; + padding: 16px; } & table {