From 0a6aef20a675a88630140299bcb2b300e41493bb Mon Sep 17 00:00:00 2001 From: Jcparkyn <51850908+Jcparkyn@users.noreply.github.com> Date: Sun, 24 Dec 2023 05:15:07 +0000 Subject: [PATCH] Improve font stack --- public/main.css | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/public/main.css b/public/main.css index b392850..0759518 100644 --- a/public/main.css +++ b/public/main.css @@ -16,6 +16,15 @@ background-color: var(--col-bg); } +@font-face { + font-family: 'System Mono'; + src: + local('Consolas'), + local('Lucida Sans Typewriter'), + local('monaco'), + local('monospace'); +} + main { display: grid; grid-template-columns: auto; @@ -123,7 +132,7 @@ dialog > form { .cell-selected::before { font-size: 35px; opacity: 0.6; - font-family: monospace; + font-family: 'System Mono'; text-align: center; position: absolute; width: var(--cell-size); @@ -253,7 +262,7 @@ dialog > form { } .score-header { - font-family: monospace; + font-family: 'System Mono'; font-size: 1.5em; } @@ -275,7 +284,7 @@ dialog > form { .bottom-action-buttons > button { font-size: 1.8em; - font-family: Consolas, monospace; + font-family: 'System Mono'; padding: 8px 12px; }