mirror of
https://github.com/TheRealOwenRees/chess-endgame-trainer.git
synced 2026-11-18 03:32:06 +00:00
change header and paragraph sizes
This commit is contained in:
@@ -40,10 +40,9 @@ h1 em { color: var(--color-coral); font-weight: 400; }
|
||||
|
||||
.settings-subtitle {
|
||||
font-size: 1rem;;
|
||||
color: var(--color-base-content);
|
||||
opacity: 0.7;
|
||||
color: var(--color-muted);
|
||||
}
|
||||
|
||||
@media (max-width: 650px) {
|
||||
h1 { font-size: clamp(51px, 15vw, 68px); }
|
||||
}
|
||||
}
|
||||
|
||||
@@ -7,20 +7,18 @@ defmodule ChesstrainerWeb.UserLive.Login do
|
||||
<Layouts.app flash={@flash} current_scope={@current_scope}>
|
||||
<div class="mx-auto max-w-sm space-y-4">
|
||||
<div class="text-center">
|
||||
<.header>
|
||||
<p>Log in</p>
|
||||
<:subtitle>
|
||||
<%= if @current_scope do %>
|
||||
You need to reauthenticate to perform sensitive actions on your account.
|
||||
<% else %>
|
||||
Don't have an account? <.link
|
||||
navigate={~p"/users/register"}
|
||||
class="font-semibold text-primary hover:underline"
|
||||
phx-no-format
|
||||
>Sign up</.link> for an account now.
|
||||
<% end %>
|
||||
</:subtitle>
|
||||
</.header>
|
||||
<h1 class="settings-header">Log in</h1>
|
||||
<%= if @current_scope do %>
|
||||
You need to reauthenticate to perform sensitive actions on your account.
|
||||
<% else %>
|
||||
<p class="settings-subtitle my-4">
|
||||
Don't have an account? <.link
|
||||
navigate={~p"/users/register"}
|
||||
class="font-semibold text-primary hover:underline"
|
||||
phx-no-format
|
||||
>Sign up</.link> for an account now.
|
||||
</p>
|
||||
<% end %>
|
||||
</div>
|
||||
|
||||
<.form
|
||||
|
||||
@@ -11,16 +11,14 @@ defmodule ChesstrainerWeb.UserLive.Registration do
|
||||
<Layouts.app flash={@flash} current_scope={@current_scope}>
|
||||
<div class="mx-auto max-w-sm">
|
||||
<div class="text-center">
|
||||
<.header>
|
||||
Register for an account
|
||||
<:subtitle>
|
||||
Already registered?
|
||||
<.link navigate={~p"/users/log-in"} class="font-semibold text-primary hover:underline">
|
||||
Log in
|
||||
</.link>
|
||||
to your account now.
|
||||
</:subtitle>
|
||||
</.header>
|
||||
<h1 class="settings-header">Register for an account</h1>
|
||||
<p class="settings-subtitle my-4">
|
||||
Already registered?
|
||||
<.link navigate={~p"/users/log-in"} class="font-semibold text-primary hover:underline">
|
||||
Log in
|
||||
</.link>
|
||||
to your account now
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<.form for={@form} id="registration_form" phx-submit="save" phx-change="validate">
|
||||
|
||||
Reference in New Issue
Block a user