From 82b2e552b8e1907e26f3fb35d730492e0bb31f64 Mon Sep 17 00:00:00 2001 From: Sophie Axebane Date: Thu, 2 Nov 2023 13:55:35 -0500 Subject: [PATCH] fix background display on mobile --- styles/style_main.css | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/styles/style_main.css b/styles/style_main.css index e0de6cb..4f79b6a 100644 --- a/styles/style_main.css +++ b/styles/style_main.css @@ -4,8 +4,12 @@ @font-face { font-family: 'Bitter'; src: url(../fonts/Bitter/Bitter-VariableFont_wght.ttf) format('woff2'); } body { + width: 100vw; + height: 100vh; + background-image: url("/img/background.jpg"); + background-position: center; background-repeat: no-repeat; background-size: cover; } @@ -50,8 +54,7 @@ div.window_titlebar { } div.window { - position: relative - ; + position: relative; border-style: ridge; border-width: 5px; border-color: #c3c3c3;