- React frontend with Vite + TypeScript - Cloudflare Worker backend with Durable Objects - AI-powered chat moderation via OpenAI - WebSocket-based real-time messaging - XSS prevention, rate limiting, input validation Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
107 lines
1.7 KiB
CSS
107 lines
1.7 KiB
CSS
.join-container {
|
|
flex: 1;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
padding: 20px;
|
|
}
|
|
|
|
.join-card {
|
|
background: #16213e;
|
|
border-radius: 12px;
|
|
padding: 40px;
|
|
width: 100%;
|
|
max-width: 400px;
|
|
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
|
|
}
|
|
|
|
.join-card h1 {
|
|
text-align: center;
|
|
margin-bottom: 8px;
|
|
color: #e94560;
|
|
}
|
|
|
|
.join-card > p {
|
|
text-align: center;
|
|
color: #888;
|
|
margin-bottom: 30px;
|
|
}
|
|
|
|
.nickname-display {
|
|
margin-bottom: 24px;
|
|
}
|
|
|
|
.nickname-label {
|
|
display: block;
|
|
text-align: center;
|
|
font-size: 14px;
|
|
color: #888;
|
|
margin-bottom: 12px;
|
|
}
|
|
|
|
.nickname-box {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 12px;
|
|
background: linear-gradient(135deg, #1a1a2e 0%, #0f3460 100%);
|
|
border: 2px solid #e94560;
|
|
border-radius: 12px;
|
|
padding: 16px 20px;
|
|
}
|
|
|
|
.nickname {
|
|
font-size: 20px;
|
|
font-weight: 700;
|
|
color: #fff;
|
|
text-shadow: 0 0 10px rgba(233, 69, 96, 0.5);
|
|
}
|
|
|
|
.reroll-button {
|
|
background: rgba(233, 69, 96, 0.2);
|
|
border: none;
|
|
border-radius: 8px;
|
|
padding: 8px 12px;
|
|
font-size: 20px;
|
|
cursor: pointer;
|
|
transition: all 0.2s;
|
|
}
|
|
|
|
.reroll-button:hover {
|
|
background: rgba(233, 69, 96, 0.4);
|
|
transform: rotate(180deg);
|
|
}
|
|
|
|
.reroll-button:active {
|
|
transform: rotate(180deg) scale(0.9);
|
|
}
|
|
|
|
.join-button {
|
|
width: 100%;
|
|
padding: 14px;
|
|
border: none;
|
|
border-radius: 8px;
|
|
background: #e94560;
|
|
color: white;
|
|
font-size: 16px;
|
|
font-weight: 600;
|
|
cursor: pointer;
|
|
transition: background 0.2s, transform 0.1s;
|
|
}
|
|
|
|
.join-button:hover {
|
|
background: #d63a52;
|
|
}
|
|
|
|
.join-button:active {
|
|
transform: scale(0.98);
|
|
}
|
|
|
|
.powered-by {
|
|
text-align: center;
|
|
font-size: 12px;
|
|
color: #555;
|
|
margin-top: 20px;
|
|
margin-bottom: 0;
|
|
}
|