-
Notifications
You must be signed in to change notification settings - Fork 0
/
game.css
105 lines (92 loc) · 2.05 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
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
.choice-container {
display: -webkit-box;
display: -ms-flexbox;
display: flex;
margin-bottom: 0.5rem;
width: 100%;
font-size: 1.8rem;
border: 0.1rem solid rgba(141, 169, 196, 0.5);
background-color: white;
}
.choice-container:hover {
cursor: pointer;
-webkit-box-shadow: 0 0.4rem 1.4rem 0 rgba(141, 169, 196, 0.5);
box-shadow: 0 0.4rem 1.4rem 0 rgba(141, 169, 196, 0.5);
-webkit-transform: translateY(-0.1rem);
transform: translateY(-0.1rem);
-webkit-transition: -webkit-transform 150ms;
transition: -webkit-transform 150ms;
transition: transform 150ms;
transition: transform 150ms, -webkit-transform 150ms;
}
.choice-container .choice-prefix {
padding: 1.5rem 2.5rem;
background-color: #134074;
color: #fdca40;
}
.choice-container .choice-text {
padding: 1.5rem;
width: 100%;
background-color: transparent;
}
.correct {
background-color: #28a745 !important;
}
.incorrect {
background-color: #dc3545 !important;
}
#hud {
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-pack: justify;
-ms-flex-pack: justify;
justify-content: space-between;
}
#hud .hud-prefix {
text-align: center;
font-size: 2rem;
}
#hud .hud-main-text {
text-align: center;
}
#hud #progressBar {
width: 20rem;
height: 4rem;
border: 0.3rem solid #134074;
margin-top: 1.5rem;
}
#hud #progressBarFull {
height: 3.4rem;
background-color: #134074;
width: 0%;
}
#loader {
border: 1.6rem solid #134074;
border-radius: 50%;
border-top: 1.6rem solid #fdca40;
width: 12rem;
height: 12rem;
animation: spinning 2s alternate-reverse infinite;
}
@-webkit-keyframes spinning {
0% {
-webkit-transform: rotate(0deg);
transform: rotate(0deg);
}
100% {
-webkit-transform: rotate(360deg);
transform: rotate(360deg);
}
}
@keyframes spinning {
0% {
-webkit-transform: rotate(0deg);
transform: rotate(0deg);
}
100% {
-webkit-transform: rotate(360deg);
transform: rotate(360deg);
}
}
/*# sourceMappingURL=game.css.map */