-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
125 lines (110 loc) · 2.28 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
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600&family=Ruda:wght@400;600;700&display=swap");
* {
padding: 0;
margin: 0;
box-sizing: border-box;
}
body {
background: rgb(77, 14, 203);
background: radial-gradient(
circle,
rgb(35, 149, 213) 0%,
rgba(255, 255, 255, 1) 100%
);
font-family: "poppins", sans-serif;
display: flex;
align-items: center;
justify-content: center;
height: 100vh;
overflow: hidden;
}
.quiz-container {
background: #fff;
border-radius: 10px;
box-shadow: 0 0 10px 2px rgba(100, 100, 100, 0.1);
max-width: 600px;
width: 100%;
}
.quiz-header {
display: flex;
align-items: center;
justify-content: space-between;
padding: 2rem 2rem;
box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.5);
border-top-left-radius: 10px;
border-top-right-radius: 10px;
}
.quiz-header h2 {
font-size: 1.5rem;
}
.quiz-header p {
background: #111;
padding: 0.4rem 1rem;
color: #fff;
border-radius: 5px;
}
.quiz-body {
padding: 2rem 2rem;
}
.quiz-body h2 {
padding: 1rem 0;
font-size: 2rem;
font-weight: 500;
text-align: center;
margin: 0;
}
.quiz-body ul {
list-style: none;
padding: 0;
}
.quiz-body ul li {
margin: 1rem 0;
font-size: 1rem;
border: 1px solid #aab7b8;
padding: 0.7rem;
border-radius: 5px;
cursor: pointer;
}
.quiz-body ul li label {
cursor: pointer;
padding: 0 0.4rem;
}
.quiz-footer {
display: flex;
align-items: center;
justify-content: space-between;
padding: 1rem 2rem;
box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.5);
}
.quiz-footer button {
padding: 0.6rem 1.5rem;
outline: none;
background: #111;
border: 0;
cursor: pointer;
font-family: inherit;
border-radius: 5px;
color: #fff;
opacity: 0.9;
transition: 0.3s ease-in-out;
}
.quiz-body button {
padding: 0.6rem 1rem;
outline: none;
background: #111;
border: 0;
cursor: pointer;
font-family: inherit;
border-radius: 5px;
color: #fff;
opacity: 0.9;
transition: 0.3s ease-in-out;
display: block;
margin: 0 auto;
}
.quiz-footer button:hover {
opacity: 1;
}
li:hover{
background-color: rgb(217, 237, 241);
}