From 42064630942a788e65068c9fcc38bc0de925a64f Mon Sep 17 00:00:00 2001 From: Ardis Lu Date: Tue, 14 Oct 2025 23:43:29 -0700 Subject: [PATCH] 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. --- usr/share/gitweb/static/custom.css | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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 { -- 2.47.3