-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.scss
More file actions
107 lines (93 loc) · 1.81 KB
/
style.scss
File metadata and controls
107 lines (93 loc) · 1.81 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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: 'Fira Code', monospace;
}
body {
background-color: #1a1a1a;
color: #fff;
min-height: 100vh;
display: flex;
justify-content: center;
align-items: center;
}
.container {
width: 90%;
max-width: 800px;
padding: 2rem;
background-color: #2a2a2a;
border-radius: 10px;
box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
}
.stats {
display: flex;
justify-content: space-between;
margin-bottom: 2rem;
padding: 1rem;
background-color: #333;
border-radius: 5px;
}
.stat {
text-align: center;
.stat-label {
display: block;
font-size: 0.9rem;
color: #888;
margin-bottom: 0.5rem;
}
.stat-value {
font-size: 1.5rem;
font-weight: bold;
color: #fff;
}
}
.text-display {
font-size: 1.2rem;
line-height: 1.6;
margin-bottom: 1rem;
padding: 1rem;
background-color: #333;
border-radius: 5px;
min-height: 100px;
.correct {
color: #4caf50;
}
.incorrect {
color: #f44336;
text-decoration: underline;
}
.current {
background-color: #4a4a4a;
}
}
#text-input {
width: 100%;
padding: 1rem;
font-size: 1.2rem;
background-color: #333;
border: none;
border-radius: 5px;
color: #fff;
margin-bottom: 1rem;
resize: none;
&:focus {
outline: none;
box-shadow: 0 0 0 2px #4a4a4a;
}
}
#restart-btn {
display: block;
width: 100%;
padding: 1rem;
font-size: 1.1rem;
background-color: #4caf50;
color: #fff;
border: none;
border-radius: 5px;
cursor: pointer;
transition: background-color 0.3s;
&:hover {
background-color: #45a049;
}
}