Add account auth with websocket login/register and sessions

This commit is contained in:
Jage9
2026-02-24 22:03:10 -05:00
parent 1938f239e6
commit bf3bc90f2a
21 changed files with 1053 additions and 24 deletions

View File

@@ -79,6 +79,44 @@ body {
margin-bottom: 0.75rem;
}
.auth-panel {
width: min(460px, 95vw);
margin: 0 auto 0.75rem;
padding: 0.65rem;
border: 1px solid #334155;
border-radius: 0.6rem;
background: rgb(17 24 39 / 60%);
}
.auth-panel h2 {
margin: 0 0 0.5rem;
font-size: 1rem;
color: #cbd5e1;
}
.auth-row {
display: flex;
align-items: center;
justify-content: center;
gap: 0.5rem;
margin: 0.35rem 0;
}
.auth-row label {
color: #cbd5e1;
min-width: 135px;
text-align: right;
}
.auth-row input {
background: #111827;
color: #e5e7eb;
border: 1px solid #334155;
border-radius: 0.5rem;
padding: 0.4rem 0.6rem;
width: min(280px, 60vw);
}
.nickname-row {
display: flex;
justify-content: center;