-
Notifications
You must be signed in to change notification settings - Fork 0
/
game.css
71 lines (71 loc) · 1.23 KB
/
game.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
.container-choice {
display: flex;
margin-bottom: 0.5rem;
width: 100%;
border: 0.1rem solid rgb(86, 165, 235, 0.25);
background-color: white;
font-size: 1.7rem;
}
.container-choice:hover {
cursor: pointer;
box-shadow: 0 0.4rem 1.4rem 0 teal;
transition: transform 150ms;
transform: translateY(-0.25rem);
}
.choice-prefix {
padding: 1.5rem 2.5rem;
background-color: lightseagreen;
}
.choice-text {
padding: 1.5rem 2.5rem;
background-color: white;
width: 100%;
}
.correct {
background-color: lime;
}
.incorrect {
background-color: red;
}
#hud {
display: flex;
justify-content: space-between;
}
.hud-prefix {
text-align: center;
font-size: 2rem;
}
.hud-main-text {
text-align: center;
}
#progress_Bar {
width: 20rem;
height: 4rem;
border: 0.4rem solid yellowgreen;
margin-top: 2.5rem;
}
#progressBarFull {
height: 3.4rem;
width: 0;
background-color: yellowgreen;
}
.hidden {
display: none;
}
#loader {
border: 1.6rem solid black;
border-radius: 50%;
border-top: 1.6rem solid red;
border-bottom: 1.6rem solid yellow;
width: 12rem;
height: 12rem;
animation: spin 1s linear infinite;
}
@keyframes spin {
0% {
transform: rotate(0deg);
}
100% {
transform: rotate(360deg);
}
}