-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.css
125 lines (105 loc) · 2.21 KB
/
styles.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
114
115
116
117
118
119
120
121
122
123
124
125
.questions-container {
display: flex;
flex-direction: column;
margin: 3vh;
/* Default padding for small devices */
}
@media (min-width: 576px) {
.questions-container {
margin: 3vh;
/* Increased padding for larger devices */
}
#fileButton,
#checkButton,
#refreshButton,
#themeSelect {
min-width: 120px;
/* Adjust as needed */
}
#numQuestions {
min-width: 60px;
/* Adjust as needed */
}
}
@media (min-width: 768px) {
.questions-container {
margin: 3vh 20%;
/* Further increased padding for even larger devices */
}
}
@media (min-width: 992px) {
.questions-container {
margin: 3vh 20%;
/* Even more padding for large devices */
}
}
@media (min-width: 1200px) {
.questions-container {
margin: 3vh 30%;
/* Maximum padding for extra large devices */
}
}
html {
scroll-behavior: smooth;
}
.light {
background-color: #f8f9fa;
}
.dark {
background-color: #202020;
}
body.dark-mode {
background-color: #121212;
color: #ffffff;
}
body.dark-mode select {
background-color: #121212;
color: #ffffff;
border-color: #6c757d;
}
body.dark-mode .custom-file-input:lang(en)::after {
content: "Browse";
background-color: #121212;
color: #ffffff;
border-color: #6c757d;
}
body.dark-mode .custom-file-label {
background-color: #121212;
color: #ffffff;
border-color: #6c757d;
}
body.light-mode .correct-answer {
background-color: #d4edda;
/* dark green */
color: #155724;
/* light green */
}
body.light-mode .incorrect-answer {
background-color: #f8d7da;
/* dark red */
color: #721c24;
/* light red */
}
body.dark-mode .correct-answer {
background-color: #155724;
/* light green */
color: #d4edda;
/* dark green */
}
body.dark-mode .incorrect-answer {
background-color: #721c24;
/* light red */
color: #f8d7da;
/* dark red */
}
/* Light mode styles */
body.light-mode .dark-mode-toggle {
background-color: #fff;
color: #000;
}
/* Dark mode styles */
body.dark-mode .dark-mode-toggle {
background-color: #121212;
border-color: #6c757d;
color: #fff;
}