-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
104 lines (100 loc) · 1.87 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
@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&display=swap");
@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.8.2/font/bootstrap-icons.css");
:root {
--box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
}
* {
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: #0d479a;
padding: 30px;
}
.heading {
margin: 10px auto 10px auto;
}
.heading .title {
font-size: 30px;
color: #fff;
font-weight: 500;
text-align: center;
}
.heading .subtitle {
font-size: 20px;
color: #fff;
font-weight: 500;
text-align: center;
}
.result {
text-align: center;
min-width: 350px;
max-width: 400px;
margin: 20px auto;
border-radius: 5px;
background: white;
box-shadow: var(--box-shadow);
}
.result p:first-child {
padding: 10px 20px;
}
.hide {
display: none;
}
.reload button {
background-color: #04aa6d;
color: #fff;
padding: 10px 20px;
border-radius: 0px 0px 5px 5px;
width: 100%;
border: 0px;
}
.reload button:hover {
background-color: #3aecab;
cursor: pointer;
}
.quiz-form {
max-width: 600px;
margin: auto;
}
.question {
background-color: #fff;
padding: 10px 20px;
border-radius: 5px;
margin: 20px 0px;
box-shadow: var(--box-shadow);
}
.question > * {
font-size: 18px;
}
.option {
margin-left: 10px;
}
.correct {
background-color: #c8ffdf;
}
.wrong {
background-color: #ff5d5d;
}
.submit {
text-align: center;
margin: 30px 0px;
}
.submit input {
background-color: #04aa6d;
padding: 5px 25px;
color: white;
font-size: 22px;
border-radius: 5px;
box-shadow: var(--box-shadow);
border: 0;
}
.submit input:hover {
background-color: #3aecab;
cursor: pointer;
}