Files
GameList/wwwroot/styles.css

119 lines
2.3 KiB
CSS

:root {
font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
background: radial-gradient(circle at 20% 20%, #1f2937, #0b1224);
color: #e5e7eb;
}
body {
margin: 0;
padding: 24px;
}
.hero {
display: flex;
justify-content: space-between;
align-items: center;
background: linear-gradient(135deg, #111827, #0f172a);
border: 1px solid #1f2937;
border-radius: 12px;
padding: 16px 20px;
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}
.subtitle {
margin: 4px 0 0;
color: #9ca3af;
}
.phase-pill {
padding: 8px 12px;
background: #1d4ed8;
color: white;
border-radius: 999px;
font-weight: 600;
min-width: 96px;
text-align: center;
}
.grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
gap: 16px;
margin-top: 16px;
}
.card {
background: rgba(17, 24, 39, 0.9);
border: 1px solid #1f2937;
border-radius: 12px;
padding: 16px;
box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}
.card h2 {
margin-top: 0;
margin-bottom: 8px;
}
.stack {
display: flex;
flex-direction: column;
gap: 8px;
}
.stack.horizontal {
flex-direction: row;
flex-wrap: wrap;
}
input, textarea, select, button {
font: inherit;
border-radius: 8px;
border: 1px solid #374151;
background: #0f172a;
color: #e5e7eb;
padding: 10px 12px;
min-width: 0;
}
textarea { min-height: 80px; resize: vertical; }
button {
cursor: pointer;
background: #2563eb;
border-color: #1d4ed8;
font-weight: 600;
}
button:hover { background: #1d4ed8; }
button.danger {
background: #dc2626;
border-color: #b91c1c;
}
.label { color: #9ca3af; font-size: 12px; }
.hint { color: #9ca3af; font-size: 12px; margin: 8px 0 0; }
.list { list-style: none; padding: 0; margin: 8px 0 0; display: flex; flex-direction: column; gap: 10px; }
.list li { padding: 12px; border: 1px solid #1f2937; border-radius: 8px; background: #0b1224; }
.vote-row { display: flex; justify-content: space-between; gap: 12px; align-items: center; }
.vote-controls { display: flex; gap: 10px; align-items: center; min-width: 180px; }
.score { font-weight: 700; }
.hidden { display: none !important; }
.toast {
position: fixed;
bottom: 16px;
right: 16px;
background: #2563eb;
color: white;
padding: 10px 14px;
border-radius: 8px;
box-shadow: 0 10px 24px rgba(0,0,0,0.35);
max-width: 320px;
}
.toast.error { background: #dc2626; }