diff --git a/InvenTree/InvenTree/static/css/inventree.css b/InvenTree/InvenTree/static/css/inventree.css index 34d3685a7e..22513b2d85 100644 --- a/InvenTree/InvenTree/static/css/inventree.css +++ b/InvenTree/InvenTree/static/css/inventree.css @@ -15,25 +15,23 @@ } .login-screen { - background-image: url("/static/img/paper_splash.jpg"); + background: url(/static/img/paper_splash.jpg) no-repeat center fixed; background-size: cover; - background-repeat: no-repeat; - height: 100%; + height: 100vh; font-family: 'Numans', sans-serif; color: #eee; } .login-container { - left: 50%; - position: fixed; - top: 50%; - transform: translate(-50%, -50%); - width: 30%; - align-content: center; + align-self: center; border-radius: 15px; padding: 20px; padding-bottom: 35px; background-color: rgba(50, 50, 50, 0.75); + + width: 100%; + max-width: 330px; + margin: auto; } .login-header { diff --git a/InvenTree/templates/account/base.html b/InvenTree/templates/account/base.html index 7ad0447cd5..048496c4a5 100644 --- a/InvenTree/templates/account/base.html +++ b/InvenTree/templates/account/base.html @@ -13,7 +13,7 @@ - + @@ -34,7 +34,7 @@ Background Image Attribution: https://unsplash.com/photos/Ixvv3YZkd7w --> -
+