-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathqbstyle.css
62 lines (54 loc) · 1.31 KB
/
qbstyle.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
body {
font-family: Arial, sans-serif;
margin: 0;
padding: 0;
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
background-color: #f4f4f9;
}
.quiz-container {
text-align: center;
max-width: 600px;
background: #fff;
padding: 20px;
border-radius: 8px;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
button {
padding: 10px 20px;
margin-top: 10px;
font-size: 16px;
background-color: #007bff;
color: white;
border: none;
border-radius: 4px;
cursor: pointer;
}
button:hover {
background-color: #0056b3;
}
#question-container {
margin-top: 20px;
text-align: left;
height: 300px; /* Adjust the height as needed */
overflow-y: auto; /* Enables vertical scrolling */
border: 1px solid #ddd; /* Optional: Add a border for clarity */
padding: 10px;
border-radius: 4px; /* Optional: Makes the container corners rounded */
background-color: #f9f9f9; /* Optional: Light background for contrast */
}
.question {
margin-bottom: 15px;
}
.feedback {
margin-top: 10px;
font-style: italic;
color: #555;
}
#timer {
margin-bottom: 20px;
font-weight: bold;
color: #ff0000;
}