-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
173 lines (145 loc) · 3.26 KB
/
style.css
File metadata and controls
173 lines (145 loc) · 3.26 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
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
body {
font-family: Arial, sans-serif;
margin: 0;
padding: 0;
background-color: #f2f2f2;
}
.container {
max-width: 100%;
margin: 0;
padding: 20px;
box-sizing: border-box;
}
h1 {
font-size: 24px;
margin-bottom: 20px;
}
ul {
list-style-type: none;
padding: 0;
}
li {
margin-bottom: 10px;
}
button {
padding: 10px 20px;
background-color: #4CAF50;
color: white;
border: none;
cursor: pointer;
}
button:hover {
background-color: #45a049;
}
#feedback-container {
display: none;
margin-top: 20px;
}
#feedback {
font-weight: bold;
margin-bottom: 10px;
}
#explanation {
margin-bottom: 20px;
}
#score-container {
text-align: center;
margin-top: 20px;
}
#score-container p {
margin: 5px;
}
/* Media query for larger screens */
@media (min-width: 768px) {
.container {
max-width: 600px;
margin: 0 auto;
}
h1 {
font-size: 28px;
margin-bottom: 20px;
}
}
/* Custom styles for Kahoot-like design */
.container {
background-color: #f9f9f9;
border-radius: 10px;
padding: 30px;
}
ul li {
background-color: #e9e9e9;
padding: 10px;
border-radius: 20px;
margin-bottom: 30px;
}
button {
background-color: #ff9800;
}
button:hover {
background-color: #f57c00;
}
.popup {
display: none;
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: rgba(0, 0, 0, 0.5);
}
.popup-content {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
background-color: #fff;
padding: 20px;
border-radius: 5px;
text-align: center;
max-width: 90%;
width: 400px;
}
@media (max-width: 767px) {
.popup-content {
max-width: 100%;
width: 90%;
}
#question-container img {
width: 100%; /* take full width of the container on mobile */
height: auto; /* maintain the image's aspect ratio */
}
}
#question-container img {
width: 100%; /* or whatever fixed width you want */
height: 100%; /* or whatever fixed height you want */
object-fit: cover; /* this will crop the image to fit the dimensions */
display: block;
margin: 20px auto; /* centers the image horizontally and adds some vertical spacing */
border-radius: 10px; /* optional: to make the image corners rounded */
}
#fungi-dropdown {
width: 100%; /* Full width of the container */
padding: 10px; /* Padding for better appearance */
margin-bottom: 20px; /* Margin for spacing */
border: 1px solid #ccc; /* Border color */
border-radius: 5px; /* Rounded corners */
font-size: 16px; /* Font size */
background-color: #fff; /* Background color */
appearance: none; /* Removes default styling in some browsers */
-webkit-appearance: none; /* Removes default styling in Webkit browsers */
-moz-appearance: none; /* Removes default styling in Firefox */
}
#fungi-dropdown:focus {
outline: none; /* Removes the default focus outline */
border-color: #4CAF50; /* Changes border color on focus */
}
ul li {
cursor: pointer;
transition: background-color 0.3s;
}
ul li:hover {
background-color: #d9d9d9;
}
.selected-option {
background-color: #079413; /* Change this to your preferred color */
}