From 7a4a4b8d28222c1fa3d1ed342643d4c562bd4017 Mon Sep 17 00:00:00 2001 From: Tobias Bengfort Date: Wed, 27 Jan 2021 15:05:19 +0100 Subject: [PATCH 1/5] rm inline styles from login page --- static/css/main.css | 8 ++++++++ templates/base.html | 3 +-- templates/registration/login.html | 19 ++----------------- 3 files changed, 11 insertions(+), 19 deletions(-) diff --git a/static/css/main.css b/static/css/main.css index b00e7ac2..76a84412 100644 --- a/static/css/main.css +++ b/static/css/main.css @@ -122,3 +122,11 @@ table tr th, table tr td { 0 0 0 2.1em #212529, 0 0 0 2.6em #95a5a6; } + +.login { + background-color: var(--light, #eee); +} +.login main { + max-width: 330px; + margin: 40px auto; +} diff --git a/templates/base.html b/templates/base.html index 33bf069c..e93d2717 100644 --- a/templates/base.html +++ b/templates/base.html @@ -21,10 +21,9 @@ - {% block extracss %}{% endblock %} - + {% if not nochrome %}