-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
205 lines (176 loc) · 4.65 KB
/
styles.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
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
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
html, body{
font-family: Palatino;
background-image: url("images/math4.jpeg");
background-size:cover;
}
#countdown {
width: 180px;
height: 160px;
border-radius: 50%;
background-color: white;
margin: auto;
border-style:double
}
#seconds {
display: block;
width: 100%;
margin: auto;
text-align: center;
justify-content: center;
display:flex;
font-size: 100px;
color:black;
}
h1{
text-align:center;
margin:15px;
font-weight:bold;
color:white;
}
.container{
text-align:center;
justify-content:center;
margin:auto;
}
/* Neon style for Start button */
@import url(https://fonts.googleapis.com/css?family=Exo+2:200i);
:root {
/* Set neon color */
--neon-border-color:rgb(37, 179, 37);
}
@keyframes flicker {
0%,
19%,
21%,
23%,
25%,
54%,
56%,
100% {
text-shadow:
-0.2rem -0.2rem 1rem #fff,
0.2rem 0.2rem 1rem #fff,
0 0 2rem var(--neon-text-color),
0 0 4rem var(--neon-text-color),
0 0 6rem var(--neon-text-color),
0 0 8rem var(--neon-text-color),
0 0 10rem var(--neon-text-color);
box-shadow:
0 0 .5rem #fff,
inset 0 0 .5rem #fff,
0 0 2rem var(--neon-border-color),
inset 0 0 2rem var(--neon-border-color),
0 0 4rem var(--neon-border-color),
inset 0 0 4rem var(--neon-border-color);
}
20%,
24%,
55% {
text-shadow: none;
box-shadow: none;
}
}
.start-game{
animation: flicker 1.5s infinite alternate;
background-color:rgb(37, 179, 37);
width: 120px;
height:60px;
font-size:22px;
margin-top:5px;
border:none;
font-weight:bold;
color:rgb(65, 63, 63)
}
#submit-button{
background-color:white;
font-weight:bold;
}
.questions{
font-weight:bold;
font-size:60px;
color:white;
text-shadow:3px 3px 3px;
}
.user-answer{
margin-bottom:60px;
}
.score{
font-weight: bold;
font-size:25px;
float:left;
padding:25px;
border-style: double;
background-color:rgb(226, 223, 223);
}
.highest-score{
font-weight: bold;
font-size:25px;
float:right;
padding:25px;
border-style: double;
background-color:rgb(226, 223, 223);
}
/* Neon title */
:root {
--shadow-color: #FF9E9E;
--shadow-color-light: white;
}
.logo-1 {
font-size: 40px;
text-transform: uppercase;
font-family: palatino;
color: white;
animation: neon 3s infinite;
display: block;
height: auto;
text-align: center;
margin-top:20px;
}
@keyframes neon {
0% {
text-shadow: -1px -1px 1px var(--shadow-color-light), -1px 1px 1px var(--shadow-color-light), 1px -1px 1px var(--shadow-color-light), 1px 1px 1px var(--shadow-color-light),
0 0 3px var(--shadow-color-light), 0 0 10px var(--shadow-color-light), 0 0 20px var(--shadow-color-light),
0 0 30px var(--shadow-color), 0 0 40px var(--shadow-color), 0 0 50px var(--shadow-color), 0 0 70px var(--shadow-color), 0 0 100px var(--shadow-color), 0 0 200px var(--shadow-color);
}
50% {
text-shadow: -1px -1px 1px var(--shadow-color-light), -1px 1px 1px var(--shadow-color-light), 1px -1px 1px var(--shadow-color-light), 1px 1px 1px var(--shadow-color-light),
0 0 5px var(--shadow-color-light), 0 0 15px var(--shadow-color-light), 0 0 25px var(--shadow-color-light),
0 0 40px var(--shadow-color), 0 0 50px var(--shadow-color), 0 0 60px var(--shadow-color), 0 0 80px var(--shadow-color), 0 0 110px var(--shadow-color), 0 0 210px var(--shadow-color);
}
100% {
text-shadow: -1px -1px 1px var(--shadow-color-light), -1px 1px 1px var(--shadow-color-light), 1px -1px 1px var(--shadow-color-light), 1px 1px 1px var(--shadow-color-light),
0 0 3px var(--shadow-color-light), 0 0 10px var(--shadow-color-light), 0 0 20px var(--shadow-color-light),
0 0 30px var(--shadow-color), 0 0 40px var(--shadow-color), 0 0 50px var(--shadow-color), 0 0 70px var(--shadow-color), 0 0 100px var(--shadow-color), 0 0 200px var(--shadow-color);
}
}
.operator-options{
font-size:20px;
color:white;
padding-top:20px;
}
#textInput{
width:30px;
height:25px;
text-align:center;
}
.range-bar{
margin-top:15px;
}
.number-limit{
color:white;
font-size:25px;
}
.operator-options{
font-size:25px;
background-color:white;
color:black;
width:170px;
height: 75px;
justify-content:center;
border-radius:10px;
margin-top:20px;
text-align:center;
margin-left:auto;
margin-right:auto;
border-style:double
}