From 4f203e3eb94fcb899ad72da8fc9a6c3c85a3280f Mon Sep 17 00:00:00 2001 From: Christian Weiske Date: Sun, 17 May 2020 11:08:47 +0200 Subject: [PATCH 1/1] Fix HTML background image size --- www/ouya-discover.css | 6 +++++- www/ouya-game.css | 5 +++++ 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/www/ouya-discover.css b/www/ouya-discover.css index 26fd083..baf3104 100644 --- a/www/ouya-discover.css +++ b/www/ouya-discover.css @@ -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; diff --git a/www/ouya-game.css b/www/ouya-game.css index 5f3f2f9..22560e0 100644 --- a/www/ouya-game.css +++ b/www/ouya-game.css @@ -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; -- 2.30.2