From 266319ab70a4b4e4e9a7fcab95678f30937ee3eb Mon Sep 17 00:00:00 2001 From: Shgck Date: Fri, 26 Feb 2016 15:20:37 +0100 Subject: [PATCH] Fix misplaced background on small windows --- static/css/base.css | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/static/css/base.css b/static/css/base.css index 65e06ac..50d0651 100644 --- a/static/css/base.css +++ b/static/css/base.css @@ -1,12 +1,9 @@ body { - font-family: 'Lato', sans-serif; - color: #393939; + background: url("/static/img/bg.png") no-repeat center center fixed; background-color: white; - background-image: url("/static/img/bg.png"); - background-repeat: no-repeat; - background-position: top center; - background-attachment: fixed; - background-size: 100%; + background-size: cover; + color: #393939; + font-family: "Lato", sans-serif; } #global {