-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathstyles.css
More file actions
57 lines (48 loc) · 1.51 KB
/
Copy pathstyles.css
File metadata and controls
57 lines (48 loc) · 1.51 KB
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
body {
font-family: 'Inter', sans-serif;
}
.category-card {
transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}
.category-card:hover {
transform: translateY(-5px);
box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}
/* Style to highlight the selected category card */
.category-card.selected {
transform: translateY(-5px);
box-shadow: 0 0 0 3px #4f46e5; /* Indigo ring */
outline: none;
}
.answer-btn {
transition: background-color 0.2s ease-in-out, border-color 0.2s ease-in-out, color 0.2s ease-in-out;
}
.answer-btn.selected {
background-color: #e0e7ff;
border-color: #4f46e5;
color: #4f46e5;
}
.answer-btn.correct {
background-color: #d1fae5;
border-color: #10b981;
color: #065f46;
}
.answer-btn.incorrect {
background-color: #fee2e2;
border-color: #ef4444;
color: #991b1b;
}
#timer-bar {
transition: width 0.5s linear;
}
/* Custom styles for the dropdown */
#difficulty-select {
-webkit-appearance: none;
-moz-appearance: none;
appearance: none;
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3E%3Cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3E%3C/svg%3E");
background-position: right 0.5rem center;
background-repeat: no-repeat;
background-size: 1.5em 1.5em;
padding-right: 2.5rem;
}