-
Notifications
You must be signed in to change notification settings - Fork 0
/
styling.css
142 lines (127 loc) · 2.62 KB
/
styling.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
139
140
141
142
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 0px 0px #009de4;
position :relative;
}
#score{
background-color: #F1FF92;
color : #888E5F;
padding : 10px;
position: absolute;
left: 500px;
box-shadow: 0px 4px #9da853;
}
#correct{
position: absolute;
left: 260px;
background-color:rgb(70, 202, 70) ;
padding: 11px;
display: none;
}
#wrong{
position: absolute;
left: 250px;
background-color:rgb(228, 75, 75) ;
padding: 11px;
display: none;
}
#question{
width: 450px;
height: 150px;
margin: 50px auto 10px auto;
background-color: #9DA0EA;
box-shadow: 0px 4px#535aa8;
font-size: 100px;
text-align: center;
font-family: cursive, sans-serif;
color: black;
}
#instruction{
width: 450px;
height: 50px;
background-color: #8481D9;
margin: 10px auto;
text-align: center;
line-height: 45px;
box-shadow: 0px 4px #8153a8;
}
#choices{
height: 100px;
width: 450px;
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 rgpa( 0, 0, 0, 0.2);
text-align: center;
line-height: 80px;
position: relative;
transition: all 0.2s;
-webkit-transition: all 0.2s;
}
.box:hover, #startreset:hover{
background-color:#9C89F6;
color: white;
box-shadow: 0px 4px #6b54d3;
}
.box:active, #startreset:active{
box-shadow: 0px 0px #6b54d3;
top: 4px;
}
#box4{
margin-right: 0;
}
#startreset{
text-align: center;
margin: 0 auto;
padding: 10px;
background-color: rgba(255, 255, 255, 0.5);
width: 80px;
border-radius: 3px;
cursor: pointer;
box-shadow: rgba(0, 0, 0, 0.2);
position: relative;
transition: all 0.2;
-webkit-transition: all 0.2;
}
#timeremaining{
width: 155px;
padding: 10px;
position: absolute;
top: 390px;
left: 400px;
background-color: rgba(181, 235, 36, 0.78);
border-radius: 3px;
box-shadow: 0px 4px rgba(0, 0, 0, 0.2);
/* visibility: hidden; */
display: none;
}
#gameover{
height: 200px;
width: 500px;
background: radial-gradient(#F3CA6B, #F3706C) ;
color: white;
font-size: 2.5em;
text-transform: uppercase;
text-align: center;
position: absolute;
top: 100px;
left: 45px;
display: none;
text-transform: uppercase;
}