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