-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
157 lines (141 loc) · 3.24 KB
/
styles.css
File metadata and controls
157 lines (141 loc) · 3.24 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
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
/* General Styles */
body {
font-family: Arial, sans-serif;
margin: 0;
padding: 0;
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
background: linear-gradient(135deg, #000000, #333333); /* Black to dark gray gradient */
}
/* Timer Styles */
#timer {
position: absolute;
top: 20px;
right: 20px;
font-size: 20px;
color: #ffffff;
background: rgba(0, 0, 0, 0.8); /* Darker transparent black background */
padding: 10px;
border-radius: 5px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.8);
}
/* Quiz Form Styles */
#quizForm {
display: flex;
flex-direction: column;
align-items: center;
width: 100%;
height: fit-content;
max-width: 800px;
margin: 0 auto;
background: rgba(0, 0, 0, 0.8); /* Darker transparent black background */
padding: 20px;
border-radius: 10px;
box-shadow: 0 0 15px rgba(0, 0, 0, 0.8);
}
/* Question Container Styles */
#questionContainer {
display: flex;
flex-direction: column;
align-items: center;
width: 100%;
max-height: 60vh;
overflow-y: auto;
margin-bottom: 20px;
}
/* Question Image Styles */
#questionImage img {
max-width: 100%;
height: auto;
border-radius: 5px;
box-shadow: 0 0 5px rgba(0, 0, 0, 0.8);
}
/* Options Styles */
#options {
margin-top: 20px;
width: 100%;
}
/* Question Styles */
.option {
display: block;
margin-bottom: 10px;
padding: 10px;
background: #1a1a1a; /* Very dark gray background */
color: #ffffff;
border-radius: 5px;
box-shadow: 0 0 5px rgba(0, 0, 0, 0.8);
}
/* Navigation Buttons */
#navigation {
display: flex;
justify-content: space-between;
width: 100%;
margin: 20px 0;
}
button {
background: #004d00; /* Dark green background */
color: #ffffff;
border: none;
padding: 10px 20px;
font-size: 16px;
border-radius: 5px;
cursor: pointer;
transition: background 0.3s;
}
button:hover {
background: #003300; /* Slightly darker green on hover */
}
/* Result Styles */
#result {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
background: rgba(0, 0, 0, 0.8); /* Darker transparent background */
color: #ffffff;
padding: 20px;
border-radius: 10px;
box-shadow: 0 0 15px rgba(0, 0, 0, 0.8);
max-width: 600px;
margin: 20px auto;
text-align: center;
}
#result h2 {
font-size: 24px;
margin-bottom: 20px;
color: #00ff00; /* Bright green color for the title */
}
#result p {
font-size: 18px;
margin: 10px 0;
}
#result button {
background: #004d00; /* Dark green background */
color: #ffffff;
border: none;
padding: 10px 20px;
font-size: 16px;
border-radius: 5px;
cursor: pointer;
transition: background 0.3s;
margin-top: 20px;
}
#result button:hover {
background: #003300; /* Slightly darker green on hover */
}
#viewQuestionsButton {
background-color: #004d00; /* Dark green */
color: #ffffff;
border: none;
padding: 10px 20px;
font-size: 16px;
border-radius: 5px;
cursor: pointer;
transition: background 0.3s;
margin-top: 20px;
}
#viewQuestionsButton:hover {
background-color: #003300; /* Slightly darker green */
}