Fix HTML background image size
authorChristian Weiske <cweiske@cweiske.de>
Sun, 17 May 2020 09:08:47 +0000 (11:08 +0200)
committerChristian Weiske <cweiske@cweiske.de>
Sun, 17 May 2020 09:08:47 +0000 (11:08 +0200)
www/ouya-discover.css
www/ouya-game.css

index 26fd0832be170e89913ed8b388587d0fae118839..baf3104950112cf89bc6b6b44c1f8db9ddfed6ee 100644 (file)
@@ -1,7 +1,11 @@
+html {
+    height: 100%;
+}
 body {
+    min-height: 100%;
     background-color: #333;
     background-image: url("bg.jpg");
-    background-size: 100vw auto;
+    background-size: cover;
     background-attachment: fixed;
     color: #CCC;
     font-family: sans;
index 5f3f2f948c2d5cb61915d0da4a7c1370d84873d6..22560e0822e1aff97c4a4fb34ad39d32eff02cd2 100644 (file)
@@ -1,7 +1,12 @@
+html {
+    height: 100%;
+}
 body {
+    min-height: 100%;
     background-color: #333;
     background-image: url("bg_details.jpg");
     background-size: cover;
+    background-attachment: fixed;
     color: #CCC;
     font-family: sans;
     margin: 0;