diff --git a/src/project/static/css/dark-style.css b/src/project/static/css/dark-style.css index ebafa9b..da95fbd 100644 --- a/src/project/static/css/dark-style.css +++ b/src/project/static/css/dark-style.css @@ -65,3 +65,8 @@ html.dark input[type="email"] { width: 100%; color: var(--light-dust); } + +html.dark div.services>div, +html.dark div.infobox { + background: var(--dark); +} \ No newline at end of file diff --git a/src/project/static/css/style.css b/src/project/static/css/style.css index d845d2c..769f07e 100644 --- a/src/project/static/css/style.css +++ b/src/project/static/css/style.css @@ -51,7 +51,6 @@ h6 { --light-dust: #fefef9; --dust: #f4f1ef; --medium-dust: #dadada; - --medium-dust : #dadada; --dark-dust: #bfbfbf; --fade: #878787; --twilight: #4a4a4a; @@ -72,16 +71,24 @@ h6 { --outer-space: var(--double-space); } +/* Media queries */ @media (min-width: 1380px) { :root { --outer-space: 15%; } } +@media (max-width: 720px) { + body header h1 { + font-size: 1em; + } +} + html, body { height: 100%; - font-size: 1.05em; + /* font-size: 1.05em; */ + font-size: 16px; } h1, @@ -375,6 +382,12 @@ article table#user_email_table tbody tr td:first-child { text-align: center; } +article table tbody td input[type="radio"] { + width: var(--double-space); + height: var(--double-space); + vertical-align: middle; +} + form>div { margin: 0 0 var(--double-space); } @@ -386,9 +399,9 @@ form>div>label { form>div>input[type="text"], form>div>input[type="password"], -input[type="email"] { +form>div>input[type="email"] { border: 2px solid var(--twilight); - border-radius: 6px; + border-radius: var(--quarter-space); padding: 8px; background: var(--light-dust); width: 100%; @@ -423,7 +436,7 @@ form div.buttonHolder button { padding: var(--double-space); } -#email-add-overlay .content-view p { +#email-add-overlay .panel-body div { margin: var(--double-space) 0; } @@ -505,7 +518,9 @@ footer { opacity: 0.8; } -footer a, footer a:visited, footer a:active { +footer a, +footer a:visited, +footer a:active { color: var(--dust); text-decoration: underline; } @@ -562,4 +577,4 @@ span.time_remaining { .pagination .page-item.disabled .page-link { cursor: default; -} +} \ No newline at end of file diff --git a/src/project/templates/account/email.html b/src/project/templates/account/email.html index 7900a34..0b33a71 100644 --- a/src/project/templates/account/email.html +++ b/src/project/templates/account/email.html @@ -81,14 +81,13 @@

{% trans "Add E-mail" %}

-
+ {% csrf_token %} - {{ form.as_p }} + {{ form.as_div }} - +
diff --git a/src/project/templates/account/login.html b/src/project/templates/account/login.html index 523d32b..60aa982 100644 --- a/src/project/templates/account/login.html +++ b/src/project/templates/account/login.html @@ -3,7 +3,6 @@ {% load static %} {% block non_login_content %} -
{% if form.non_field_errors %} @@ -13,7 +12,7 @@
{% endfor %} {% endif %} -

Login

+

{% trans "Login "%}

{% csrf_token %} @@ -46,8 +45,7 @@
- + {% trans "Forgot password?" %}
@@ -60,5 +58,4 @@ - {% endblock %} diff --git a/src/project/templates/account/password_reset.html b/src/project/templates/account/password_reset.html index ce8be80..138c6de 100644 --- a/src/project/templates/account/password_reset.html +++ b/src/project/templates/account/password_reset.html @@ -6,44 +6,51 @@ {% block head_title %}{% trans "Password Reset" %}{% endblock %} {% block non_login_content %} +
+
+

{% trans "Password Reset" %}

-

{% trans "Password Reset" %}

+ {% if user.is_authenticated %} + {% include "account/snippets/already_logged_in.html" %} + {% endif %} - {% if user.is_authenticated %} - {% include "account/snippets/already_logged_in.html" %} - {% endif %} +

{% trans "Enter your e-mail address below, and we'll send you an e-mail allowing you to reset your password." %}

-

{% trans "Forgotten your password? Enter your e-mail address below, and we'll send you an e-mail allowing you to reset it." %}

- -
- {% csrf_token %} - - - {% if form.email.errors %} - {% for error in form.email.errors %} -
- {{ error }} + + {% csrf_token %} +
+ + + {% if form.email.errors %} + {% for error in form.email.errors %} +
+ {{ error }} +
+ {% endfor %} + {% endif %}
- {% endfor %} - {% endif %} + + - - +

{% blocktrans %}Please contact us if you have any trouble resetting your password.{% endblocktrans %}

-

{% blocktrans %}Please contact us if you have any trouble resetting your password.{% endblocktrans %}

- -
- - {% trans "To login" %} - + + {% trans "To login" %} + +
+ +
{% endblock %} diff --git a/src/project/templates/account/password_reset_done.html b/src/project/templates/account/password_reset_done.html index 6a9ac20..2e1be72 100644 --- a/src/project/templates/account/password_reset_done.html +++ b/src/project/templates/account/password_reset_done.html @@ -6,11 +6,30 @@ {% block head_title %}{% trans "Password Reset" %}{% endblock %} {% block non_login_content %} -

{% trans "Password Reset" %}

+
+ + +
{% endblock %} diff --git a/src/project/templates/account/signup.html b/src/project/templates/account/signup.html index 27eb870..554190d 100644 --- a/src/project/templates/account/signup.html +++ b/src/project/templates/account/signup.html @@ -3,73 +3,85 @@ {% load static %} {% block non_login_content %} -

{% trans "Become a member" %}

+
+ {% endblock %}