implemented optional authentification app and stricter password and user rules.

Also against brute force.
This commit is contained in:
2026-04-01 10:38:29 +02:00
parent f2de165c55
commit 9cc1a22232
21 changed files with 1124 additions and 170 deletions
+69
View File
@@ -24,6 +24,29 @@ body {
text-decoration: underline;
}
.nav-right {
display: flex;
align-items: center;
flex-wrap: wrap;
}
.nav-logout-form {
margin: 0 0 0 15px;
}
.nav-link-button {
padding: 0;
border: none;
background: none;
color: white;
font: inherit;
cursor: pointer;
}
.nav-link-button:hover {
text-decoration: underline;
}
/* 📦 Layout */
.container {
max-width: 900px;
@@ -40,6 +63,33 @@ body {
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}
.flash-stack {
display: grid;
gap: 12px;
margin-bottom: 18px;
}
.flash-message {
margin: 0;
padding: 12px 14px;
border-radius: 10px;
}
.flash-message.success {
color: #166534;
background: #dcfce7;
}
.flash-message.info {
color: #1d4ed8;
background: #dbeafe;
}
.flash-message.error {
color: #b91c1c;
background: #fee2e2;
}
.game-card {
text-align: center;
}
@@ -305,6 +355,21 @@ body {
margin: 0;
}
.inline-actions {
display: flex;
flex-wrap: wrap;
align-items: center;
gap: 10px;
}
.inline-actions form {
margin: 0;
}
.inline-actions .btn {
margin: 0;
}
.btn.ghost {
background: #e2e8f0;
color: #1e293b;
@@ -337,4 +402,8 @@ body {
.navbar {
padding: 15px 18px;
}
.nav-logout-form {
margin-left: 0;
}
}