diff --git a/nonpacks/static/Logo.png b/nonpacks/static/Logo.png index 9b9bbf3..59818e6 100644 Binary files a/nonpacks/static/Logo.png and b/nonpacks/static/Logo.png differ diff --git a/nonpacks/static/css/style.css b/nonpacks/static/css/style.css index 2126eec..29f32a5 100644 --- a/nonpacks/static/css/style.css +++ b/nonpacks/static/css/style.css @@ -3678,6 +3678,37 @@ a.deletelink { background: var(--md-sys-color-surface, #1e1e2e); color: var(--md-sys-color-on-surface, #cdd6f4); } +.gate-card form p { + margin: 0; + display: flex; + flex-direction: column; + gap: 0.3rem; + text-align: left; +} +.gate-card form label { + color: var(--md-sys-color-on-surface-variant, #a6adc8); + font-size: 0.8rem; +} +.gate-card form input[type="text"], +.gate-card form input[type="email"], +.gate-card form input[type="password"] { + width: 100%; + padding: 0.55rem 0.7rem; + border-radius: 8px; + border: 1px solid var(--md-sys-color-outline-variant, #45475a); + background: var(--md-sys-color-surface, #1e1e2e); + color: var(--md-sys-color-on-surface, #cdd6f4); + box-sizing: border-box; +} +.gate-card form .errorlist { + list-style: none; + margin: 0.1rem 0 0; + padding: 0; + color: #f38ba8; + font-size: 0.75rem; +} +.gate-card-alt { margin-top: 0.9rem; } +.gate-card-wide { max-width: 600px; } .gate-card button { padding: 0.55rem; border-radius: 8px; @@ -3938,3 +3969,14 @@ a.deletelink { .pack-card-row-author { margin: 0.1rem 0 0; color: var(--md-sys-color-on-surface-variant, #a6adc8); font-size: 0.72rem; } .pack-card-row-meta { display: flex; gap: 0.6rem; margin: 0.15rem 0 0; color: var(--md-sys-color-on-surface-variant, #a6adc8); font-size: 0.72rem; flex-wrap: wrap; } .pack-card-row-meta span { white-space: nowrap; } + +/* Distinct accent button for auth-page cross links (differs from primary). */ +.btn-accent { + background: var(--ctp-mocha-blue, #1e66f5); + color: #fff; + border: none; +} +.btn-accent:hover { + background: var(--ctp-mocha-sapphire, #209fb5); + color: #fff; +} diff --git a/nonpacks/templates/profiles/login.html b/nonpacks/templates/profiles/login.html index b643a32..9038f36 100644 --- a/nonpacks/templates/profiles/login.html +++ b/nonpacks/templates/profiles/login.html @@ -3,11 +3,19 @@ {% block title %}Login - Packs{% endblock %} {% block content %} -

Login

-
- {% csrf_token %} - {{ form.as_p }} - -
-

No account? Register

-{% endblock %} \ No newline at end of file +
+
+

Log in

+

Enter your account details to continue.

+ {% if form.non_field_errors %} + {% for error in form.non_field_errors %}

{{ error }}

{% endfor %} + {% endif %} +
+ {% csrf_token %} + {{ form.as_p }} + +
+

No account? Register

+
+
+{% endblock %} diff --git a/nonpacks/templates/profiles/register.html b/nonpacks/templates/profiles/register.html index 014eed6..c841073 100644 --- a/nonpacks/templates/profiles/register.html +++ b/nonpacks/templates/profiles/register.html @@ -3,11 +3,19 @@ {% block title %}Register - Packs{% endblock %} {% block content %} -

Register

-
- {% csrf_token %} - {{ form.as_p }} - -
-

Already have an account? Log in

-{% endblock %} \ No newline at end of file +
+
+

Register

+

Create an account to upload and manage packs.

+ {% if form.non_field_errors %} + {% for error in form.non_field_errors %}

{{ error }}

{% endfor %} + {% endif %} +
+ {% csrf_token %} + {{ form.as_p }} + +
+

Already have an account? Log in

+
+
+{% endblock %}