From 78c97d88f3bad4bb26b8dc892a13e62dd45ddfc2 Mon Sep 17 00:00:00 2001 From: dav1312 <63931154+dav1312@users.noreply.github.com> Date: Sat, 6 Aug 2022 11:16:18 +0200 Subject: [PATCH] Monospace font fallback Add a fallback to monospace in case the device or browser doesn't support consolas --- css/light.css | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/css/light.css b/css/light.css index b9261995..04e40d40 100644 --- a/css/light.css +++ b/css/light.css @@ -577,7 +577,7 @@ input.multi2 { width: 100%; } .xnote { - font-family: consolas; + font-family: consolas, monospace; font-size: 0.3em; left: 0; pointer-events: none; @@ -937,7 +937,7 @@ hsub { color: #07f; } .mono { - font-family: consolas; + font-family: consolas, monospace; font-size: large; text-align: left; } @@ -1233,7 +1233,7 @@ hsub { outline: 0; } #live-log { - font-family: consolas; + font-family: consolas, monospace; font-size: 12px; max-height: 80vh; width: 100%; @@ -1585,7 +1585,7 @@ hsub { background: rgba(0, 0, 0, 0.8); bottom: 0; color: #0d0; - font-family: consolas; + font-family: consolas, monospace; font-size: 14px; padding: 1em; position: fixed;