-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
96 lines (95 loc) · 1.97 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
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Ubuntu&family=Varela+Round&display=swap');
@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.10.3/font/bootstrap-icons.css");
*{
margin: 0;
padding: 0;
box-sizing: border-box;
font-size: 16px;
font-family: 'Poppins', sans-serif;
text-decoration: none;
list-style: none;
}
.quiz{
background-color: #7286D3;
padding: 30px;
}
.heading {
margin: 10px auto 40px auto;
}
.heading .title{
font-size: 30px;
color: #ffffff;
font-weight: 500;
text-align: center;
}
.heading .subtitle{
font-size: 20px;
color: #ffffff;
font-weight: 300;
text-align: center;
}
.result{
text-align: center;
min-width: 350px;
max-width: 400px;
margin: 20px auto;
border-radius: 5px;
background-color: #ffffff;
box-shadow: 13px 15px 7px 0px rgba(0,0,0,0.24);
}
.result p:first-child{
padding: 10px 20px;
}
.reload button{
background-color: #04AA6D;
color: #ffffff;
padding: 10px 20px;
border-radius: 0px 0px 5px 5px;
width: 100%;
border: 0px;
}
.reload button:hover{
background-color: #03a369;
cursor: pointer;
}
.quiz-form{
max-width: 1000px;
margin: auto;
}
.question{
background-color: #FFF2F2;
margin: 20px 0px;
border-radius: 5px;
padding: 10px 20px;
box-shadow: 13px 15px 7px 0px rgba(0,0,0,0.24);
}
.question > *{
font-size: 18px;
}
.option{
margin-left: 10px;
}
.submit{
text-align: center;
}
.submit input{
background-color: #04AA6D;
padding: 5px 25px;
color: #ffffff;
font-size: 22px;
border-radius: 5px;
box-shadow: 13px 15px 7px 0px rgba(0,0,0,0.24);
border: 0px;
}
.submit input:hover{
background-color: #03a369;
}
.hide{
display: none;
}
.correct{
background-color: #E5E0FF;
}
.wrong{
background-color: #8EA7E9;
}