-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
129 lines (129 loc) · 2.52 KB
/
Copy pathstyle.css
File metadata and controls
129 lines (129 loc) · 2.52 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
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
html {
height: 100%;
background: radial-gradient(circle, #fff, #ccc);
}
.container {
height: 400px;
width: 550px;
background-color: #9dd2ea;
margin: 100px auto;
padding: 20px;
border-radius: 10px;
box-shadow: 0px 4px 2px 0px #009de4;
position: relative;
}
#score {
background-color: #f1ff92;
color: #868e5f;
padding: 11px;
position: absolute;
left: 500px;
box-shadow: 0px 4px 2px 0px #9da853;
}
#correct {
position: absolute;
left: 260px;
background-color: #42e252;
color: white;
padding: 11px;
display: none;
}
#wrong {
position: absolute;
left: 250px;
background-color: #de401a;
color: white;
padding: 11px;
display: none;
}
#question {
width: 450px;
height: 150px;
margin: 50px auto 10px auto;
background-color: #9da0ea;
box-shadow: 0px 4px #539aa8;
font-size: 100px;
text-align: center;
font-family: cursive, sans-serif;
color: black;
}
#instruction {
width: 450px;
height: 50px;
background-color: #b481d9;
margin: 10px auto;
text-align: center;
line-height: 45px;
box-shadow: 0px 4px #8153a8;
}
#choices {
width: 450px;
height: 100px;
margin: 5px auto;
}
.box {
width: 85px;
height: 85px;
background-color: white;
float: left;
margin-right: 36px;
border-radius: 3px;
cursor: pointer;
box-shadow: 0px 4px 2px 0px rgba(0, 0, 0, 0.2);
text-align: center;
line-height: 80px;
transition: all 0.5s ease-in-out;
position: relative;
}
.box:hover,
#startreset:hover {
background-color: #9c89f6;
color: white;
box-shadow: 0px 4px #6b54d3;
}
.box:active,
#startreset:active {
box-shadow: 0px 6px #6b54d3;
top: 4px;
}
#box4 {
margin-right: 0px;
}
#startreset {
width: 78px;
padding: 10px;
background-color: rgba(255, 255, 255, 0.5);
margin: 0px auto;
border-radius: 3px;
cursor: pointer;
box-shadow: 0px 4px rgba(0, 0, 0, 0.2);
text-align: center;
position: relative;
transition: all 0.2s;
}
#timeremaining {
width: 152px;
padding: 10px;
position: absolute;
top: 395px;
left: 400px;
background-color: rgba(181, 235, 36, 0.8);
border-radius: 3px;
box-shadow: 0px 4px rgba(0, 0, 0, 0.2);
/* visibility: hidden; */
display: none;
}
#gameover {
height: 200px;
width: 500px;
background: linear-gradient(#f3ca6b, #9dd2ea);
color: white;
font-size: 2.5em;
text-align: center;
text-transform: uppercase;
position: absolute;
top: 100px;
left: 45px;
z-index: 2;
display: none;
}