fixed buttons again

This commit is contained in:
kaipher7
2026-04-02 22:23:57 -06:00
parent f279e53bd0
commit f1c2968dce
3 changed files with 12 additions and 2 deletions
@@ -348,6 +348,10 @@ textarea {
background: var(--dusty-red-hover); background: var(--dusty-red-hover);
} }
.btn-create:hover {
transform: scale(1.03);
}
.btn-create { .btn-create {
width: 50%; width: 50%;
font-size: 20px; font-size: 20px;
@@ -355,6 +359,8 @@ textarea {
border-radius: 10px; border-radius: 10px;
padding: 0 20px; padding: 0 20px;
height: 46px; height: 46px;
transition: background-color 0.1s ease, transform 0.2s ease;
} }
/* small screens */ /* small screens */
@@ -129,6 +129,10 @@ html {
box-sizing: border-box; box-sizing: border-box;
} }
.alert {
color: var(--dusty-red);
}
/* ========================= /* =========================
Button Styles Button Styles
========================= */ ========================= */
+2 -2
View File
@@ -19,9 +19,9 @@
<main class="main-content"> <main class="main-content">
<div class="login-box"> <div class="login-box">
<h2>Log In</h2> <h2>Log In</h2>
<div th:if="${param.error}"> <div th:if="${param.error}" class="alert">
Invalid username and password.</div> Invalid username and password.</div>
<div th:if="${param.logout}"> <div th:if="${param.logout}" class="alert">
You have been logged out.</div> You have been logged out.</div>
<form th:action="@{/login}" method="post"> <form th:action="@{/login}" method="post">
<label for="username">Username</label> <label for="username">Username</label>