From c14297bd8abcee3d6ec8fc58bdb5c885bf003f72 Mon Sep 17 00:00:00 2001 From: cubefoo Date: Sat, 15 Apr 2017 20:32:04 +0200 Subject: [PATCH] update style.css next to previous patch (issue 21) this patch makes background image responsive as outlines here: https://github.com/nextcloud/weather/issues/31 --- css/style.css | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/css/style.css b/css/style.css index 12835ec..0edcd78 100644 --- a/css/style.css +++ b/css/style.css @@ -3,7 +3,7 @@ height: 100%; float: left; -moz-box-sizing: border-box; box-sizing: border-box; - background-color: #f5f5f5; + background-color: #fff; padding-bottom: 44px; border-left: 1px solid #ddd; border-right: 1px solid #ddd; @@ -67,7 +67,11 @@ bottom: 0; right: 0; left: 250px; - background: black; + background: black no-repeat center center fixed; + background-size: cover; + -webkit-background-size: cover; + -moz-background-size: cover; + -o-background-size: cover; color: #EEE; }