diff --git a/app/static/css/login.css b/app/static/css/login.css new file mode 100644 index 0000000..09eb27a --- /dev/null +++ b/app/static/css/login.css @@ -0,0 +1,4 @@ +.card { + width: 500px; + max-width: 100%; +} diff --git a/app/static/css/style.css b/app/static/css/style.css index 344dd30..762c0d4 100644 --- a/app/static/css/style.css +++ b/app/static/css/style.css @@ -1,48 +1,46 @@ h1 { - margin-bottom: 2rem; - color: #0068b4; - font-weight: bold; + margin-bottom: 2rem; + color: #0068b4; + font-weight: bold; } .logowvh { - display: block; - margin-left: auto; - margin-right: auto; - max-height: 15rem; - aspect-ratio: 1/1; - margin-top: 2rem; - margin-bottom: 2rem; + display: block; + margin-left: auto; + margin-right: auto; + max-height: 15rem; + aspect-ratio: 1/1; + margin-top: 0.6rem; + margin-bottom: 0.6rem; } -#loginMain{ - color: #0068b4; - font-weight: bold; - font-size: 1.5rem; - text-decoration: none; +#loginMain { + color: #0068b4; + font-weight: bold; + font-size: 1.5rem; + text-decoration: none; } .rounded-pill { - margin-left: 5px; + margin-left: 5px; } .footer { - font-size: small; + font-size: small; } -#wfvmainsquare{ - width: 100px; - height: 100px; - background-color: #0068b4; - rotate: 70deg; - margin: 3%; - border: 3px solid #b1b2b3; +#wfvmainsquare { + width: 100px; + height: 100px; + background-color: #0068b4; + rotate: 70deg; + margin: 3%; + border: 3px solid #b1b2b3; } -.wfvwhitesquare{ - width: 20%; - height: 50%; - background-color: white; - position: absolute; - margin-left: 15%; +.wfvwhitesquare { + width: 20%; + height: 50%; + background-color: white; + position: absolute; + margin-left: 15%; } - - diff --git a/app/templates/account/login.html b/app/templates/account/login.html index 889e0ec..4032846 100644 --- a/app/templates/account/login.html +++ b/app/templates/account/login.html @@ -1,48 +1,31 @@ -{% extends "base.html" %} - -{% load i18n %} +{% extends "base.html" %} +{% load i18n %} +{% load static %} {% load crispy_forms_tags %} - -{% load account socialaccount %} - -{% block head_title %}{% trans "Sign In" %}{% endblock %} - +{% block header %} + +{% endblock header %} +{% block head_title %}{% trans "Sign In" %}{% endblock head_title %} {% block content %}
{% blocktrans with site.name as site_name %}Please sign in with one -of your existing third party accounts. Or, sign up -for a {{ site_name }} account and sign in below:{% endblocktrans %}
- - - -{% include "socialaccount/snippets/login_extra.html" %} - -{% else %} -{% blocktrans %}If you have not created an account yet, then please -sign up first.{% endblocktrans %}
-{% endif %} {% endcomment %} - - -