-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
121 lines (105 loc) · 1.96 KB
/
Copy pathstyle.css
File metadata and controls
121 lines (105 loc) · 1.96 KB
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
body {
background: #f1f6fb;
background-image: url(img/backgroundQuiz.png);
background-size: cover;
font-family: 'Segoe UI', sans-serif;
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
}
.quiz-card {
background: rgb(222 147 147 / 82%);
background-image: url(img/backgroundQuiz.png);
background-size: cover;
padding: 30px;
border-radius: 12px;
border: 1px solid rgb(125, 88, 88);
box-shadow: 20px 20px 10px rgba(0, 0, 0, 0.2);
width: 500px;
max-width: 90%;
}
.quiz-header {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 15px;
}
.progress {
width: 100%;
height: 8px;
background: #e0e0e0;
border-radius: 5px;
margin: 15px 0;
}
.progress-bar {
height: 100%;
width: 0%;
background: #6a5acd;
border-radius: 5px;
transition: width 0.3s ease;
}
.question-text {
font-size: 18px;
font-weight: bold;
margin-bottom: 10px;
}
.sub-text {
color: #3f0303;
margin-bottom: 20px;
}
.options {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 15px;
margin-bottom: 20px;
}
.option {
border: 2px solid #ccc;
padding: 10px 15px;
border-radius: 8px;
cursor: pointer;
transition: 0.2s;
}
.option:hover,
.option.selected {
background-color: #f0eaff;
border-color: #6a5acd;
}
button {
padding: 10px 20px;
background: #a78bfa;
border: none;
color: white;
font-size: 16px;
border-radius: 6px;
cursor: pointer;
}
#score {
font-size: 20px;
font-weight: bold;
margin-top: 15px;
text-align: center;
}
button:hover{
background: #6a5acd;
}
button:active{
color: black;
background: #b86f6f;
}
a{
position: relative;
bottom: 43%;
left: 23%;
}
@media (max-width: 600px){
a{
position: relative;
left: -1%
}
.quiz-card{
position: relative;
left: 7vw;
}
};