fix: CSS tweaks

This commit is contained in:
Ginger
2026-05-07 16:52:28 -04:00
parent 6a9123baf1
commit 6c54f592ee
3 changed files with 8 additions and 8 deletions
+2 -1
View File
@@ -184,6 +184,7 @@ h1 a.back {
label { label {
display: block; display: block;
margin-bottom: 0.2em;
} }
a, a:visited { a, a:visited {
@@ -203,7 +204,6 @@ pre {
input, button, a.button { input, button, a.button {
display: inline-block; display: inline-block;
padding: 0.5em; padding: 0.5em;
margin-bottom: 0.5em;
font-size: inherit; font-size: inherit;
font-family: inherit; font-family: inherit;
@@ -236,6 +236,7 @@ button, a.button {
background-color: var(--c1); background-color: var(--c1);
transition: opacity .2s; transition: opacity .2s;
text-align: center; text-align: center;
margin: 0.5rem 0;
&:enabled:hover { &:enabled:hover {
opacity: 0.8; opacity: 0.8;
-1
View File
@@ -12,7 +12,6 @@
align-items: center; align-items: center;
text-align: center; text-align: center;
color: var(--secondary); color: var(--secondary);
margin-bottom: 0.5em;
} }
.text-rule::before, .text-rule::after { .text-rule::before, .text-rule::after {
+6 -6
View File
@@ -78,6 +78,11 @@ Sign up
<button type="submit" name="flow" value="trusted">Continue with a registration token</button> <button type="submit" name="flow" value="trusted">Continue with a registration token</button>
{% endif %} {% endif %}
</form> </form>
{% if !is_first_run %}
<div class="centered-links">
<a href="{{ crate::ROUTE_PREFIX }}/account/login">I already have an account</a>
</div>
{% endif %}
{% when RegisterBody::DetailsPrompt { username, require_email, flow, terms, validation_errors } %} {% when RegisterBody::DetailsPrompt { username, require_email, flow, terms, validation_errors } %}
{% let validation_errors = validation_errors.clone() %} {% let validation_errors = validation_errors.clone() %}
{% let field_errors = validation_errors.field_errors() %} {% let field_errors = validation_errors.field_errors() %}
@@ -99,7 +104,7 @@ Sign up
<span>:{{ server_name }}</span> <span>:{{ server_name }}</span>
</span> </span>
{{ form::errors(field_errors, std::borrow::Cow::Borrowed("username")) }} {{ form::errors(field_errors, std::borrow::Cow::Borrowed("username")) }}
<small><b>Note:</b> Your username cannot be changed after you create your account.</small> <small>Your username cannot be changed after you create your account.</small>
</p> </p>
{% if !is_first_run %} {% if !is_first_run %}
<p> <p>
@@ -175,10 +180,5 @@ Sign up
<button type="submit">Continue</button> <button type="submit">Continue</button>
</form> </form>
{% endmatch %} {% endmatch %}
{% if !is_first_run %}
<div class="centered-links">
<a href="{{ crate::ROUTE_PREFIX }}/account/login">I already have an account</a>
</div>
{% endif %}
</div> </div>
{%- endblock -%} {%- endblock -%}