-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
102 lines (101 loc) · 2.01 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
@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/[email protected]/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: #342003;
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: var(--box-shadow);
}
.result p:first-child{
padding: 10px 20px;
}
.hide{
display: none;
}
.reload button{
background-color: #4669f3;
color: #ffffff;
padding: 10px 20px;
border-radius: 0px 0px 5px 5px;
width: 100%;
border: 0px;
}
.reload button:hover{
background-color: #6d7df3;
cursor: pointer;
}
.quiz-form{
max-width: 1000px;
margin: auto;
}
.question{
background-color: #ffffff;
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;
/* color: #0d4700; */
}
.wrong{
background-color: #ffd1d1;
/* color: red; */
}
.submit{
text-align: center;
}
.submit input{
background-color: #4669f3;
padding: 5px 25px;
color: #ffffff;
font-size: 22px;
border-radius: 5px;
box-shadow: var(--box-shadow);
border: 0px;
}
.submit input:hover{
background-color: #6d7df3;
cursor: pointer;
}