File size: 998 Bytes
993c9ec
c4ac914
 
 
 
 
 
af019c1
c4ac914
 
 
 
 
993c9ec
c4ac914
17ece03
 
993c9ec
 
 
17ece03
 
993c9ec
 
 
17ece03
 
993c9ec
 
 
 
17ece03
 
993c9ec
 
17ece03
993c9ec
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
/* Custom styles for code highlighting */
select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    padding: 0.25rem 0.5rem;
    cursor: pointer;
    min-width: 120px;
}
select:focus {
    outline: none;
}

.correct {
color: #a3e635; /* lime-400 */
}

.incorrect {
    color: #f87171; /* red-400 */
    text-decoration: underline;
}

.current {
    background-color: rgba(129, 140, 248, 0.3); /* indigo-400 with opacity */
    border-left: 2px solid #818cf8; /* indigo-400 */
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #1f2937; /* gray-800 */
}

::-webkit-scrollbar-thumb {
    background: #4b5563; /* gray-600 */
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #6b7280; /* gray-500 */
}

/* Animation for current character */
@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.current {
    animation: blink 1s infinite;
}