-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
150 lines (137 loc) · 3.61 KB
/
style.css
File metadata and controls
150 lines (137 loc) · 3.61 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
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
window {
background-image: url("background.jpg");
background-size: cover;
background-repeat: no-repeat;
color: white;
min-width: 800px;
min-height: 400px;
padding: 20px;
}
#entry {
color: black;
opacity: 100%;
font-size: 20px;
padding: 10px;
margin-top: 10px;
background-color: rgba(255, 255, 255, 0.7);
border-radius: 10px;
border: 2px solid #fff;
}
#progress_bar {
border: none;
border-radius: 25px;
background: black;
box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
min-height: 50px;
min-width: 800px;
}
#progress_bar > trough {
background: none;
border-radius: 25px;
min-height: 50px;
min-width: 800px;
}
#progress_bar > trough > progress {
background: linear-gradient(45deg, #ff5500, #ff9900, #ffcc00, #ff0000);
border-radius: 25px;
box-shadow: 0 0 15px #ff3300, 0 0 25px #ff9900, 0 0 35px #ffcc00;
border: none;
transition: width 0.3s ease-in-out;
min-height: 50px;
animation: fireAnimation 1.5s infinite alternate, flickerAnimation 1.2s infinite linear;
}
@keyframes fireAnimation {
0% {
background: linear-gradient(45deg, #ff5500, #ff9900, #ffcc00, #ff0000);
box-shadow: 0 0 20px #ff3300, 0 0 30px #ff9900, 0 0 40px #ffcc00;
}
40% {
background: linear-gradient(45deg, #ff3300, #ff6600, #ff9933, #ff0000);
box-shadow: 0 0 30px #ff6600, 0 0 40px #ff3300, 0 0 50px #ff9933;
}
100% {
background: linear-gradient(45deg, #ff5500, #ff9900, #ffcc00, #ff0000);
box-shadow: 0 0 20px #ff3300, 0 0 30px #ff9900, 0 0 40px #ffcc00;
}
}
@keyframes flickerAnimation {
0% {
transform: scale(1.01);
box-shadow: 0 0 10px #ff3300, 0 0 15px #ff6600, 0 0 30px #ffcc00;
}
20% {
transform: scale(1.05);
box-shadow: 0 0 25px #ff3300, 0 0 40px #ff6600, 0 0 50px #ffcc00;
}
40% {
transform: scale(1.03);
box-shadow: 0 0 15px #ff6600, 0 0 30px #ff3300, 0 0 35px #ff9933;
}
60% {
transform: scale(1.02);
box-shadow: 0 0 20px #ff3300, 0 0 25px #ff9900, 0 0 40px #ffcc00;
}
80% {
transform: scale(1.04);
box-shadow: 0 0 25px #ff3300, 0 0 45px #ff6600, 0 0 60px #ffcc00;
}
100% {
transform: scale(1.01);
box-shadow: 0 0 10px #ff3300, 0 0 20px #ff9900, 0 0 30px #ffcc00;
}
}
#sentence_label {
font-stretch: ultra-expanded;
padding: 15px;
font-size: 24px;
background-color: rgba(0, 0, 0, 0.5);
border-radius: 10px;
margin-top: 20px;
box-shadow: 0 0 15px rgba(255, 255, 255, 0.5);
}
#race_label {
font-size: 30px;
font-weight: bold;
color: #FFFFFF;
margin-top: 20px;
text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
}
#timer {
font-size: 30px;
font-weight: bold;
color: #FFFFFF;
margin-top: 10px;
text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
}
#wpm_label {
font-weight: bold;
color: #FFFFFF;
}
#close_button {
font-stretch: ultra-expanded;
padding: 15px;
font-size: 24px;
background-color: rgba(0, 0, 0, 0.5);
border-radius: 10px;
margin-top: 20px;
box-shadow: 0 0 25px rgba(255, 255, 255, 0.5);
transition: all 0.3s ease-in-out;
}
#close_button:hover {
background-color: rgba(255, 255, 255, 0.2);
color: white;
transform: scale(1.1);
box-shadow: 0 0 25px rgba(255, 255, 255, 1);
animation: pulse 0.5s infinite;
}
@keyframes pulse {
0% {
box-shadow: 0 0 25px rgba(255, 255, 255, 0.5);
}
50% {
box-shadow: 0 0 25px rgba(255, 255, 255, 1);
}
100% {
box-shadow: 0 0 25px rgba(255, 255, 255, 0.5);
}
}