-
Notifications
You must be signed in to change notification settings - Fork 0
/
game.css
139 lines (117 loc) · 2.14 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
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
.choice-container {
display: flex;
margin-bottom: 0.5rem;
width: 100%;
font-size: 1.8rem;
border: 0.1rem solid rgba(86, 165, 235, 0.25);
background-color: white;
}
.choice-container:hover {
cursor: pointer;
box-shadow: 0 0.4rem 1.4rem 0 rgba(86, 185, 235, 0.5);
transform: translateY(-0.1rem);
transition: transform 150ms;
}
.choice-prefix {
padding: 1.5rem 2.5rem;
background-color: #56a5eb;
color: white;
}
.choice-text {
padding: 1.5rem;
width: 100%;
}
.select_choice {
background-color: rgb(17, 139, 196);
border: none;
}
.correct {
background-color: rgb(27, 173, 27);
border: none;
}
.incorrect {
background-color: rgb(236, 57, 57);
border: none;
}
#hud {
display: flex;
justify-content: space-between;
margin-bottom: 5rem;
}
.hud-prefix {
text-align: center;
font-size: 2rem;
}
.hud-main-text {
text-align: center;
}
#progressBar {
width: 25rem;
height: 4.4rem;
border: 0.3rem solid #56a5eb;
margin-top: 1.5rem;
}
#progressBarFull {
width: 1%;
height: 100%;
text-align: center;
font-size: 1.5rem;
line-height: 40px;
color: rgb(13, 24, 29);
background-color: #56a5eb;
}
.saveAndNext {
display: flex;
margin-top: 1rem;
justify-content: center;
gap: 10px;
}
.nextBtn,
.saveBtn {
font-size: 1.8rem;
padding: 1rem 0;
width: 12rem;
text-align: center;
border: 0.1rem solid white;
color: white;
background-color: #56a5eb;
}
.nextBtn:hover,
.saveBtn:hover {
cursor: pointer;
box-shadow: 0 0.4rem 1.4rem 0 rgba(86, 185, 235, 0.5);
transform: translateY(0.1rem);
transition: transform 150ms;
}
@media only screen and (max-width: 768px) {
.choice-prefix {
padding: 1.2rem 2rem;
font-size: 1.6rem;
}
.choice-text {
padding: 1.2rem;
}
#hud {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
margin-bottom: 2rem;
}
.hud-prefix {
font-size: 2rem;
}
.hud-main-text {
font-size: 1.8rem;
margin-top: 1rem;
}
#progressBar {
max-width: 28rem;
height: 3.4rem;
margin: 1rem;
}
#progressBarFull {
font-size: 1.4rem;
line-height: 3.1rem;
}
}