Treffer-Toleranz, 2 Ranglisten, Anti-Cheat, CLI-Modi & Icons
- Treffer-Toleranz: Ziel wird geometrisch + bevorzugt getroffen, auch wenn verdeckt - Zwei Ranglisten: Hall of Fame (Allzeit-Top-5) + Heute (Top-10) - Anti-Cheat: server-autoritative Sessions (start/hit), Score = Server-Zahl, Mindestabstand gegen Auto-Klicker, Deckelung nach Spielzeit; Score ohne Session -> 400 - CLI (server/admin.js): list / delete <name> / clear-today / clear-all - Zwei Betriebsmodi per CLI (live, ohne Neustart): public (/ = Spiel) und private (/ gesperrt, Spiel unter geheimem /pfad) + "not allowed to play"-Seite - Board-Icons von Emojis auf echte SVG-Icons, Board heisst "Hall of Fame" Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
@@ -38,14 +38,22 @@ button { font-family: inherit; cursor: pointer; }
|
||||
|
||||
/* ===== Startseite ===== */
|
||||
#home { display: flex; align-items: center; justify-content: center; padding: 24px; overflow: auto; }
|
||||
.home-inner { width: 100%; max-width: 460px; margin: auto; text-align: center; display: flex; flex-direction: column; gap: 16px; align-items: center; }
|
||||
.home-inner { width: 100%; max-width: 560px; margin: auto; text-align: center; display: flex; flex-direction: column; gap: 16px; align-items: center; }
|
||||
.blocked-card { width: 100%; background: var(--panel); border: 1px solid var(--border); border-radius: 18px; padding: 34px 24px; text-align: center; }
|
||||
.blocked-emoji { font-size: 52px; }
|
||||
.blocked-card h2 { margin: 10px 0 8px; color: var(--pink-soft); }
|
||||
.blocked-card p { margin: 0; color: var(--muted); }
|
||||
.boards { width: 100%; display: flex; gap: 12px; align-items: flex-start; }
|
||||
.boards .board { flex: 1; min-width: 0; }
|
||||
@media (max-width: 440px) { .boards { flex-direction: column; } }
|
||||
.brand { font-size: 42px; font-weight: 900; letter-spacing: -1px; color: var(--pink); margin: 6px 0 0; }
|
||||
.brand-dot { color: var(--pink-soft); }
|
||||
.tagline { color: var(--muted); margin: 0; font-size: 15px; line-height: 1.4; }
|
||||
|
||||
.board { width: 100%; background: var(--panel); border: 1px solid var(--border); border-radius: 18px; padding: 14px 16px; }
|
||||
.board.tight { padding: 10px 14px; }
|
||||
.board h2 { margin: 2px 0 10px; font-size: 18px; }
|
||||
.board h2 { margin: 2px 0 10px; font-size: 18px; display: flex; align-items: center; justify-content: center; gap: 8px; }
|
||||
.ico { width: 18px; height: 18px; flex: 0 0 auto; color: var(--pink-soft); }
|
||||
.leaderboard { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
|
||||
.leaderboard li { display: flex; align-items: center; gap: 10px; padding: 7px 10px; border-radius: 10px; background: var(--card); font-size: 15px; min-width: 0; }
|
||||
.leaderboard li.top3 { background: #2f2a1a; }
|
||||
@@ -114,7 +122,7 @@ button { font-family: inherit; cursor: pointer; }
|
||||
/* ===== Game Over ===== */
|
||||
#gameover { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(0,0,0,0.7); z-index: 10; padding: 16px; overflow-y: auto; }
|
||||
.go-card {
|
||||
width: 100%; max-width: 420px; background: var(--panel); border: 1px solid var(--border);
|
||||
width: 100%; max-width: 520px; background: var(--panel); border: 1px solid var(--border);
|
||||
border-radius: 22px; padding: 24px; text-align: center; box-shadow: 0 20px 60px rgba(0,0,0,0.6);
|
||||
display: flex; flex-direction: column; gap: 14px; animation: pop 0.3s ease;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user