-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
244 lines (228 loc) · 4.69 KB
/
style.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
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
*{
margin: 0px;
box-sizing: border-box;
}
/* applying linear gradient */
body{
background: #4b6cb7; /* fallback for old browsers */
background: -webkit-linear-gradient(to right, #182848, #4b6cb7); /* Chrome 10-25, Safari 5.1-6 */
background: linear-gradient(to right, #182848, #4b6cb7); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
}
.formwrapper{
margin-top: 10%;
animation: RGB 4s ease infinite forwards;
box-shadow: rgb(24 40 72 / 74%) 1px 17px 65px 19px, rgb(24 40 72 / 58%) 0px 0px 44px 6px;
border-radius: 5px;
border: 5px solid #182848;
/* display: none; */
}
h3{
font-size: 3vw;
color: white;
font-weight: bold;
text-align: center;
}
.sub-btn{
background-color: #4b6cb7;
color: white;
height: 50px;
border-radius: 10px;
font-size: 2vw;
border: none;
}
/* working on strat section */
.start{
display: none;
margin-top: 8%;
width: 50%;
animation: RGB 4s ease infinite forwards;
box-shadow: rgb(24 40 72 / 74%) 1px 17px 65px 19px, rgb(24 40 72 / 58%) 0px 0px 44px 6px;
border-radius: 5px;
border: 5px solid #182848;
}
.icn{
height: 25%;
/* border: 2px solid red; */
width: 50%;
}
.img2{
height: 50%;
width: 100%;
}
.btn2{
border: none;
background-color: #4b6cb7;
font-size: 2vw;
color: white;
border-radius: 10px;
height: 50px;
}
/* working on quzbody section*/
.quizbody{
display: none;
margin-top: 10%;
width: 60%;
animation: RGB 4s ease infinite forwards;
box-shadow: rgb(24 40 72 / 74%) 1px 17px 65px 19px, rgb(24 40 72 / 58%) 0px 0px 44px 6px;
border-radius: 5px;
border: 5px solid #182848;
}
.main-header{
/* border: 2px solid #5aa6eb; */
justify-content: space-evenly;
}
.main-con p{
color: white;
}
.main-footer{
justify-content: space-between;
border: 2px solid #0e6d99;
}
.btn3{
height: 50px ;
border: none;
background-color: #4b6cb7;
border-radius: 5px;
color: white;
font-size: 1.6vw;
border: none;
font-weight: bold;
margin-right: 4%;
width: 200px;
}
.conter{
color: white;
}
h1{
color: white;
}
#para_name{
color: white;
}
/* set question and options style */
#ques{
color: white;
font-size: 2.4vw;
font-weight: bold;
}
#opt{
color: white;
font-size: 2vw;
font-weight: bold;
}
#opt li{
list-style: none;
cursor: pointer;
}
.disableli{
pointer-events: none;
}
.correctAns{
border: 1px solid green;
color: green;
}
.wrongAns{
border: 1px solid red;
color: red;
}
/* working on result section */
.result{
display: none;
}
/* progress bar */
.container{
margin-top: 5%;
display: flex;
width: 100%;
padding: 50px 0;
border-radius: 8px;
background: #4b6cb7;
row-gap: 30px;
flex-direction: column;
align-items: center;
border: 1px solid black;
animation: RGB 4s ease infinite forwards;
box-shadow: rgb(24 40 72 / 74%) 1px 17px 65px 19px, rgb(24 40 72 / 58%) 0px 0px 44px 6px;
border: 5px solid #182848;
}
.circular-progress{
position: relative;
height: 250px;
width: 250px;
border-radius: 50%;
background: conic-gradient(#0e6d99 3.6deg, #182848 0deg);
display: flex;
align-items: center;
justify-content: center;
animation: RGB 4s ease infinite forwards;
box-shadow: rgb(24 40 72 / 74%) 1px 17px 65px 19px, rgb(24 40 72 / 58%) 0px 0px 44px 6px;
border: 5px solid #182848;
}
.circular-progress::before{
content: "";
position: absolute;
height: 210px;
width: 210px;
border-radius: 50%;
background-color: #fff;
}
.progress-value{
position: relative;
font-size: 2.3vw;
font-weight: bold;
color: #0e6d99;
}
.text{
font-size: 3.5vw;
font-weight: bold;
color: white;
}
/* applying media query min width 400px for responsive */
@media screen and (max-width: 480px) {
.start{
margin-top: 30%;
width: 75%;
}
.btn2{
font-size: 4vw;
}
.quizbody{
width: 75%;
margin-top: 30%;
}
.btn3{
height: 35px;
width: 80px;
font-size: 2vw;
border: none;
border-radius: 5px;
}
#opt{
font-size: 3.6vw;
}
#ques{
font-size: 4vw;
}
.container{
width: 140%;
}
.circular-progress{
width: 210px;
}
.progress-value{
font-size: 5vw;
font-weight: bold;
}
.circular-progress::before{
content: "";
position: absolute;
height: 100px;
width: 100px;
border-radius: 50%;
background-color: #fff;
}
.text{
font-size: 4.2vw;
font-weight: bold;
}
}