-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathgame.css
More file actions
96 lines (82 loc) · 1.6 KB
/
Copy pathgame.css
File metadata and controls
96 lines (82 loc) · 1.6 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
body {
color: #fff;
}
.choice-container{
display: flex;
margin-bottom: 0.8rem;
width: 100%;
border-radius: 4px;
background: rgb(5, 74, 233);
font-size: 2rem;
min-width: 80rem;
}
.choice-container:hover{
cursor: pointer;
box-shadow: 0 0.4rem 1.4rem 0 rgba(50, 96, 167, 0.29);
transform: scale(1.02);
transform: transform 100ms;
}
.choice-prefix{
padding: 2rem 2.5rem;
color: white;
font-size: large;
}
.choice-text{
padding: 2rem;
width: 100%;
font-size: 1.5rem;
}
.correct{
background: linear-gradient(32deg, rgba(11,223,36) 0%, rgb(41,232,111) 100% );
}
.incorrect{
background: linear-gradient(32deg, rgba(230, 29, 29, 1) 0%, rgb(224, 11, 11, 1) 100% );
}
/* HEADS UP DISPLAY! */
#hud{
display: flex;
justify-content: space-between;
}
.hud-prefix{
text-align: center;
font-size: 2rem;
}
.hud-main-text{
text-align: center;
}
#progressBar{
width: 20rem;
height: 3rem;
border: 0.2rem solid rgb(11,223, 36);
margin-top: 1rem;
border-radius: 50px;
overflow:hidden;
}
#progressBarFull{
height: 100%;
background: rgb(11,223, 36);
width:0%;
}
@media screen and (max-width: 768px) {
.choice-container{
min-width: 40rem;
}
}
#progressText.hud-prefix{
text-align: left;
}
.hud-prefix{
text-align: right;
}
#score.hud-main-text{
text-align: right;
font-size: large;
}
h1 {
font-size: 2.5rem;
}
.explanation {
margin-top: 10px;
color: white;
font-size: 13px;
}