-
Notifications
You must be signed in to change notification settings - Fork 0
/
style2.css
61 lines (59 loc) · 1.21 KB
/
style2.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
body {
color: white;
}
/* styles where the answers will be */
.choice-container {
display:flex;
margin-bottom: 0.8rem;
width: 100%;
border-radius: 4px;
background: rgb(118, 118, 163);
font-size: 3rem;
min-width: 80rem;
}
/* makes the answer containers grow and have a shadow behind them */
.choice-container:hover {
cursor: pointer;
box-shadow: 0 0.4rem 1.4rem 0 rgb(91, 91, 155);
transform: scale(1.02);
transform: transform 100ms;
}
.choice-prefix {
padding: 2rem 2.5rem;
color: rgb(0, 0, 0);
}
.choice-text {
padding: 2rem;
width: 100%;
color:white;
text-shadow:
0.07em 0 black,
0 0.07em black,
-0.07em 0 black,
0 -0.07em black;
}
/* correct answers will be represented by green color change */
.correct {
background: green;
}
/* incorrect answers will be represented by a red color change */
.incorrect {
background: red;
}
/* styles the score and timer */
#hud {
display:flex;
justify-content: space-between;
}
.hud-prefix {
text-align:center;
font-size: 2rem;
}
.hud-main-text {
text-align: center;
}
@media screen and (max-width: 768px) {
.choice-container {
min-width: 40rem;
}
}