From a906252380a9c041a4c2b78790506412ffd40f75 Mon Sep 17 00:00:00 2001 From: Andrew Lee Date: Sat, 13 Dec 2025 20:41:40 -0500 Subject: font changed to be more accurate from game; removed margin and padding on body --- src/styles/style.css | 3 +++ src/styles/window.css | 15 +++++++++++++-- 2 files changed, 16 insertions(+), 2 deletions(-) (limited to 'src/styles') diff --git a/src/styles/style.css b/src/styles/style.css index dc1ea6d..80f49c5 100644 --- a/src/styles/style.css +++ b/src/styles/style.css @@ -41,6 +41,8 @@ } body { + margin: 0; + padding: 0; font-family: "JetBrains Mono", monospace; } @@ -67,6 +69,7 @@ footer { } img.logo { + padding: 1em; width: 50%; height: auto; } diff --git a/src/styles/window.css b/src/styles/window.css index 97862af..77c917a 100644 --- a/src/styles/window.css +++ b/src/styles/window.css @@ -6,12 +6,23 @@ font-display: swap; } +@font-face { + font-family: 'Microsoft Sans Serif'; + src: url('/assets/fonts/micross.woff') format('woff'); + font-style: normal; + font-weight: 400; +} + + :root { --titlebar-colour: #808080; --titlebar-text-colour: #ffffff; --titlebar-control-colour: #000000; --titlebar-control-link: #c4c4c4; + --window-font: 'Microsoft Sans Serif', sans-serif; + --titlebar-font: 'Felix Tilting', serif; + --dark-window: #000000; --light-window: #ffffff; @@ -73,7 +84,7 @@ } .titlebar-text { - font-family: 'Felix Tilting', serif; + font-family: var(--titlebar-font); color: var(--titlebar-text-colour); margin: 0; padding: 0.2em; @@ -97,7 +108,7 @@ } .window { - font-family: Arial, Helvetica, sans-serif; + font-family: var(--window-font); margin: 1em 2%; box-shadow: inset -2px -2px var(--titlebar-colour), -- cgit v1.2.3