-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
46 lines (36 loc) · 972 Bytes
/
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
:root {
--background-color: #fff; /* Light mode background color */
--text-color: #000; /* Light mode text color */
}
/* Styles for dark mode */
@media (prefers-color-scheme: dark) {
:root {
--background-color: #181A1B;
--text-color: #fff;
}
body {
background-color: var(--background-color);
color: var(--text-color);
padding-left: 20%;
padding-right: 20%;
}
@media (max-width: 768px) {
body {
background-color: var(--background-color);
color: var(--text-color);
padding-left: 3%;
padding-right: 3%;
}
}
/* Apply dark mode styles to other elements */
}
/* Default styles for light mode */
body {
background-color: var(--background-color);
color: var(--text-color);
}
/* Apply light mode styles to other elements */
.iframe-container {
margin: 5rem auto; /* This centers the container horizontally */
text-align: center; /* This is optional for some browsers */
}