-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.css
59 lines (52 loc) · 1.28 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
/* styles.css */
/* Remove all padding and margin */
html, body {
margin: 0;
padding: 0;
height: 100%;
overflow: hidden;
}
/* Fullscreen editor container */
#editor-container {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
}
/* Controls styling for language and theme selectors */
#controls {
position: absolute;
z-index: 1000;
right: 10px;
bottom: 10px;
padding: 5px;
border-radius: 5px;
background-color: rgba(255, 255, 255, 0.8); /* Default light mode background */
color: #000; /* Default light mode text */
}
/* Light mode select styling */
#controls select {
margin: 0 5px;
padding: 5px;
background-color: #f5f5f5;
color: #000;
border: none;
border-radius: 4px;
appearance: none; /* Remove native select appearance */
}
#controls select:focus {
outline: none; /* Remove focus outline */
box-shadow: 0 0 3px #666; /* Subtle shadow for focus */
}
/* Dark mode adjustments */
@media (prefers-color-scheme: dark) {
#controls {
background-color: rgba(32, 32, 32, 0.9); /* Dark mode background */
color: #fff; /* Dark mode text */
}
#controls select {
background-color: #333; /* Dark background */
color: #fff; /* White text */
}
}