From 15c8fc99d430a2bdf14456cf41cd3738cc221d03 Mon Sep 17 00:00:00 2001 From: Peter Hill Date: Mon, 30 Jan 2023 16:51:22 +0000 Subject: [PATCH] Fix problem with monospace rendering in Vivaldi Fixes #98 --- python_docs_theme/static/pydoctheme.css | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/python_docs_theme/static/pydoctheme.css b/python_docs_theme/static/pydoctheme.css index 151f06e..4396e1b 100644 --- a/python_docs_theme/static/pydoctheme.css +++ b/python_docs_theme/static/pydoctheme.css @@ -151,7 +151,7 @@ div.body a:hover { } tt, code, pre { - font-family: "monospace", monospace; + font-family: ui-monospace, "Cascadia Mono", "Segoe UI Mono", "Liberation Mono", Menlo, Monaco, Consolas, monospace; font-size: 96.5%; } @@ -223,7 +223,7 @@ div.footer a:hover { } dl > dt span ~ em { - font-family: "monospace", monospace; + font-family: ui-monospace, "Cascadia Mono", "Segoe UI Mono", "Liberation Mono", Menlo, Monaco, Consolas, monospace; } .toctree-wrapper ul {