commit 5a5d89149abaace84ad8f6f9d3d67843b625fa1e
parent 1eff9f774aaaf4a321f935ee9cd54f656c8505eb
Author: Henry Unite <unitehenry@gmail.com>
Date: Sat, 28 Nov 2026 21:24:16 +0000
fix(css): enable bold weight synthesis for Departure Mono
Departure Mono ships only a regular weight, and font-synthesis: none
prevented browsers from faking bold, so strong, b, and headings rendered
at regular weight on both the site and stagit pages.
Diffstat:
2 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/static/css/style.css b/static/css/style.css
@@ -3,7 +3,8 @@
font-family:
Departure Mono,
monospace;
- font-synthesis: none;
+ /* Departure Mono has no bold face, so allow weight synthesis */
+ font-synthesis: weight;
text-rendering: optimizeLegibility;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
diff --git a/static/git/style.css b/static/git/style.css
@@ -2,7 +2,8 @@
font-family:
Departure Mono,
monospace;
- font-synthesis: none;
+ /* Departure Mono has no bold face, so allow weight synthesis */
+ font-synthesis: weight;
text-rendering: optimizeLegibility;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;