From: Christian Weiske Date: Sun, 17 May 2020 09:08:47 +0000 (+0200) Subject: Fix HTML background image size X-Git-Tag: v2.1.0~3 X-Git-Url: https://git.cweiske.de/stouyapi.git/commitdiff_plain/4f203e3eb94fcb899ad72da8fc9a6c3c85a3280f Fix HTML background image size --- 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;