-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
57 lines (49 loc) · 1.18 KB
/
style.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
/* Hover effect for statistic cards */
.hover-card:hover {
transform: scale(1.05);
transition: transform 0.3s ease-in-out;
box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}
/* Custom styling for the year selector buttons */
#year-selector-stats input[type="radio"] + label {
transition: all 0.3s ease-in-out;
}
#year-selector-stats input[type="radio"]:checked + label {
background-color: #007bff; /* Active color */
color: white;
border: 1px solid #007bff;
transform: scale(1.1);
font-weight: bold;
}
/* Center alignment for icons */
.stat-card-icon {
font-size: 3rem;
color: #007bff;
margin-bottom: 10px;
}
/* Spacing and alignment for card content */
.card-title {
font-size: 1rem;
font-weight: bold;
color: #333;
margin-bottom: 5px;
}
.card-text {
font-size: 2rem;
font-weight: bold;
color: #007bff;
}
/* Add shadow for year selector card */
.shadow-sm {
box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
}
/* Responsive adjustments for smaller screens */
@media (max-width: 768px) {
.hover-card {
width: 100%;
margin-bottom: 10px;
}
#year-selector-stats {
flex-direction: column;
}
}