From 234565b9235f11052867f6d4993890bea595fa8e Mon Sep 17 00:00:00 2001 From: Sage Vaillancourt Date: Sun, 2 Oct 2022 09:45:40 -0400 Subject: [PATCH] Tweak some login-related spacing. --- undercover/static/styles.css | 11 +++++-- undercover/templates/_formhelpers.jinja2 | 40 +++++++++++++----------- undercover/templates/base.jinja2 | 4 +-- 3 files changed, 31 insertions(+), 24 deletions(-) diff --git a/undercover/static/styles.css b/undercover/static/styles.css index 26c774d..962d44f 100644 --- a/undercover/static/styles.css +++ b/undercover/static/styles.css @@ -119,7 +119,7 @@ select { div.user { line-height: 125%; - margin-bottom: 2em; + margin-bottom: 1em; } div.user form { @@ -303,10 +303,11 @@ textarea { position: absolute; background: none; border: none; - font-size: 2rem; + font-size: 3rem; font-weight: bold; color: #444; margin: 0.25em; + line-height: 100%; top: 0; right: 0; } @@ -328,7 +329,7 @@ textarea { } input { font-size: 115%; - width: 100%; + flex-grow: 1; padding: 0.3em; } .letter-form { @@ -410,6 +411,10 @@ textarea { opacity: 0; } +#create-account-form { + display: flex; + flex-direction: column; +} #create-account-form div { display: flex; flex-direction: column; diff --git a/undercover/templates/_formhelpers.jinja2 b/undercover/templates/_formhelpers.jinja2 index 72dcbf0..715e1fa 100644 --- a/undercover/templates/_formhelpers.jinja2 +++ b/undercover/templates/_formhelpers.jinja2 @@ -26,7 +26,7 @@ {% macro modal() %} diff --git a/undercover/templates/base.jinja2 b/undercover/templates/base.jinja2 index a6cb32f..974de2f 100644 --- a/undercover/templates/base.jinja2 +++ b/undercover/templates/base.jinja2 @@ -43,8 +43,8 @@ {% else %}
-
Create account
-
Log in
+
Create account
+
Log in
{% endif %}