From 3d49222fd32b3dd8da8833b3e6e50620952ea59a Mon Sep 17 00:00:00 2001 From: steven-y-e Date: Tue, 16 Mar 2021 11:47:45 -0400 Subject: [PATCH] fix(body): background height --- public/css/flavour.css | 14 +++++++++++++- public/index.php | 4 ++++ 2 files changed, 17 insertions(+), 1 deletion(-) diff --git a/public/css/flavour.css b/public/css/flavour.css index 9433f41..aae01e6 100644 --- a/public/css/flavour.css +++ b/public/css/flavour.css @@ -1,10 +1,22 @@ /* background */ -body { +html, body, #background { + margin: 0; + height: 100%; +} +#background { background: url(../img/shirakawa.jpg); background-repeat: no-repeat; background-size: cover; background-position: center; background-color: #704214; + position: relative; + overflow: scroll; +} +#content { + position: absolute; + left: 0; + top: 0; + width: 100%; color: #fff; text-shadow: 1px 1px #000; diff --git a/public/index.php b/public/index.php index 5820aa1..ff7168a 100644 --- a/public/index.php +++ b/public/index.php @@ -22,6 +22,8 @@ +
+
' . $machine->name . ' @@ -54,5 +56,7 @@

';?> +
+