-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
113 lines (94 loc) · 1.89 KB
/
style.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
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
body {
font-family: Arial, sans-serif;
}
#quiz-form {
width: 80%;
margin: 20px auto;
padding: 20px;
border: 1px solid #ddd;
}
#quiz-form input,
#quiz-form select,
#quiz-form button {
padding: 10px;
margin: 5px;
display: block;
width: 95%;
}
#answer-type-container {
display: flex;
justify-content: space-between;
margin-bottom: 15px;
}
#answer-type-container button {
width: auto;
padding: 10px 20px;
}
.match-question,
.answer-option {
margin-bottom: 10px;
}
.match-question input,
.answer-option input {
padding: 10px;
margin-right: 5px;
}
.match-question select {
padding: 10px;
}
.question-container {
width: 80%;
margin: 20px auto;
padding: 20px;
border: 1px solid #ddd;
background-color: #fff;
}
.question-header {
display: flex;
justify-content: space-between;
margin-bottom: 20px;
}
.question-number {
font-weight: bold;
}
.question-points {
font-weight: bold;
background-color: #e4e4e4;
padding: 2px 8px;
border-radius: 5px;
}
.question-body {
border-top: 2px solid #000;
padding-top: 15px;
}
.question-text {
margin-bottom: 20px;
}
.question-options label {
display: block;
margin-bottom: 10px;
}
.question-options input[type="radio"],
.question-options input[type="checkbox"] {
margin-right: 10px;
}
.correct-answers {
margin-top: 10px;
font-style: italic;
}
.match-item {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 10px;
}
.match-term {
/* If you want to ensure the term takes up a certain amount of space */
flex-basis: 50%;
}
.match-select-container {
flex-basis: 50%;
/* Align the dropdown to the right */
display: flex;
justify-content: flex-end;
}