From 1b33c20fd5f96cd6f775e1bb888a2a4588f3d4d5 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Sat, 25 Jul 2020 14:52:55 +0100 Subject: [PATCH] Background parameters --- epicyon-follow.css | 5 +++++ epicyon-login.css | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/epicyon-follow.css b/epicyon-follow.css index a9f8a5333..26a116c7a 100644 --- a/epicyon-follow.css +++ b/epicyon-follow.css @@ -76,6 +76,11 @@ a:link { .follow { background-image: url("follow-background.png"); + background-size: cover; + -webkit-background-size: cover; + -moz-background-size: cover; + background-repeat: no-repeat; + background-position: center; height: 100%; background-position: center; background-repeat: no-repeat; diff --git a/epicyon-login.css b/epicyon-login.css index bda7b678a..034b5dc88 100644 --- a/epicyon-login.css +++ b/epicyon-login.css @@ -34,6 +34,11 @@ body, html { color: var(--main-fg-color); background-image: url("/login-background.png"); + background-size: cover; + -webkit-background-size: cover; + -moz-background-size: cover; + background-repeat: no-repeat; + background-position: center; height: 100%; font-family: Arial, Helvetica, sans-serif; max-width: 60%;