From 3831be92ed64950df0b2c2e97cc96a455f9149d0 Mon Sep 17 00:00:00 2001 From: Roman Reiss Date: Wed, 30 May 2018 17:03:04 +0200 Subject: [PATCH] doc: better font stack for monospace in docs There appear to be rendering issues with inconsistent glyph width when using the Monaco font on non-macOS machines. This change updates the native CSS font stack to use the same font stack as Boostrap does, minus the Monaco font. --- doc/api_assets/style.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/api_assets/style.css b/doc/api_assets/style.css index 97ef2a5b892ac4..b4da3375d5b521 100644 --- a/doc/api_assets/style.css +++ b/doc/api_assets/style.css @@ -35,7 +35,7 @@ h1, h2, h3, h4, h5, h6 { } pre, tt, code, .pre, span.type, a.type { - font-family: Monaco, Consolas, "Lucida Console", monospace; + font-family: SFMono-Regular, Menlo, Consolas, "Liberation Mono", "Courier New", monospace; font-size: .9em; }