WinslowFan's picture
Widen stat cards to full width, reduce height
c422cbb
Raw
History Blame Contribute Delete
974 Bytes
.stats-panel {
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 15px;
padding: 0;
}
.stat-card {
background: white;
padding: 10px 20px;
border-radius: 8px;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
text-align: center;
transition: transform 0.2s, box-shadow 0.2s;
}
.stat-card:hover {
transform: translateY(-2px);
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}
.stat-value {
font-size: 1.6rem;
font-weight: 700;
color: #2196f3;
margin-bottom: 2px;
}
.stat-label {
font-size: 0.9rem;
color: #666;
text-transform: uppercase;
letter-spacing: 0.5px;
}
.stats-loading {
display: flex;
align-items: center;
justify-content: center;
height: 100px;
color: #888;
font-size: 1.1rem;
background: white;
border-radius: 8px;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
@media (max-width: 768px) {
.stats-panel {
grid-template-columns: repeat(2, 1fr);
}
}