nova-ai-games / static /css /games /math.css
himu1780's picture
Upload static/css/games/math.css with huggingface_hub
c454c65 verified
Raw
History Blame Contribute Delete
1.42 kB
/* ========================================
NOVA AI GAMES - Math Game Styles
Problem Display & Answer Options
======================================== */
.math-container {
text-align: center;
max-width: 320px;
width: 100%;
}
.math-problem {
font-size: 48px;
font-weight: 800;
margin-bottom: var(--spacing-xl);
min-height: 60px;
}
.math-options {
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: var(--spacing-md);
}
.math-option {
padding: var(--spacing-lg);
background: var(--bg-glass);
border: 2px solid transparent;
border-radius: var(--radius-md);
font-size: 24px;
font-weight: 600;
color: var(--text-primary);
cursor: pointer;
transition: all var(--transition-fast);
}
.math-option:active {
transform: scale(0.95);
}
.math-option.correct {
background: rgba(34, 197, 94, 0.2);
border-color: var(--success);
}
.math-option.wrong {
background: rgba(239, 68, 68, 0.2);
border-color: var(--error);
}
.math-stats {
display: flex;
justify-content: center;
gap: var(--spacing-xl);
margin-top: var(--spacing-xl);
}
.math-stat {
text-align: center;
}
.math-stat-label {
display: block;
font-size: 12px;
color: var(--text-secondary);
}
.math-stat-value {
font-size: 24px;
font-weight: 700;
}