From 62153af8b1b34b09fb020759c86e82a308ec6f19 Mon Sep 17 00:00:00 2001 From: Ofer Lehr Date: Mon, 9 Feb 2015 21:43:40 +0200 Subject: Improved styling of login screen background image now covers the whole background --- res/client/css/partials/login.scss | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) (limited to 'res/client/css/partials') diff --git a/res/client/css/partials/login.scss b/res/client/css/partials/login.scss index c58396b2..986a511e 100644 --- a/res/client/css/partials/login.scss +++ b/res/client/css/partials/login.scss @@ -12,15 +12,19 @@ background: url(../img/login-background.jpg); background-repeat: no-repeat; background-position: center; + background-size: cover; + width: 100%; + height: 100%; + padding: 50px; + overflow-y: hidden; } .welcome-box { margin-left: auto; margin-right: auto; - margin-top: 50px; - padding-bottom: 10px; - width: 445px; - height: auto; + padding-bottom: $three-baselines; + margin-bottom: 400px; + width: 470px; background: white; } -- cgit v1.3.1