-
Notifications
You must be signed in to change notification settings - Fork 0
/
qstyle.css
60 lines (51 loc) · 1.07 KB
/
qstyle.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
.quiz {
background-color: #fff;
border-radius: 10px;
padding: 20px;
margin: 20px auto;
max-width: 600px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
.quiz h2 {
font-size: 24px;
margin-bottom: 10px;
}
.quiz p {
font-size: 18px;
margin-bottom: 15px;
}
.options {
display: flex;
flex-direction: column;
}
.option {
position: relative;
cursor: pointer;
padding-left: 25px;
margin-bottom: 10px;
font-size: 16px;
color: #1E293B;
}
.option input {
display: none;
}
/* .options p.selected {
color: brown; Change the text color for selected options */
/* background-color: #DBF301; Change the background color for selected options */
/* } */
.checkmark {
position: absolute;
top: 0;
left: 0;
height: 20px;
width: 20px;
background-color: #fff;
border: 2px solid #1E293B;
border-radius: 50%;
}
.option:hover .checkmark {
background-color: #DBF301;
}
.option input:checked + .checkmark {
background-color: #DBF301;
}