-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
81 lines (71 loc) · 1.53 KB
/
Copy pathstyle.css
File metadata and controls
81 lines (71 loc) · 1.53 KB
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
/* Reset + Base Styles */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body, html {
width: 100%;
height: 100%;
overflow: hidden;/* Prevents scrollbars from appearing */
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
background-color: #000;
color: white;
}
/* === MAIN UI OVERLAY === */
#overlay {
position: absolute;
top: 10px;
left: 10px;
z-index: 10;
}
/* === BUTTON CONTROLS STYLING === */
.controls {
position: fixed;
top: 10px;
right: 10px;
display: flex;
flex-direction: column;
gap: 12px;
z-index: 999;
}
.controls button {
background-color: rgba(32, 32, 32, 0.722);
border: none;
padding: 10px;
border-radius: 50px;
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
color: white;
}
.controls button i {
width: 24px;
height: 24px;
stroke: white;
}
.controls button:hover {
background-color: rgba(255, 255, 255, 0.3);
}
/* === LABEL STYLING (hovered planet names) === */
div[style*="position: absolute"][style*="color: white"] {
pointer-events: none;
z-index: 15;
font-size: 14px;
font-weight: bold;
border-radius: 4px;
}
/* === LIGHT THEME OVERRIDES === */
body.light-theme {
background-color: #f0f0f0;
color: #111;
}
body.light-theme .controls button {
color: rgb(30, 30, 30);
border-color: black;
background-color: rgb(255, 255, 255);
}
body.light-theme .controls button:hover {
background-color: rgba(255, 255, 255, 0.903);
}