-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
137 lines (117 loc) · 2.26 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
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
*,
*::before,
*::after {
box-sizing: border-box;
padding: 0;
margin: 0;
}
@font-face {
font-display: swap;
font-family: 'Fira Code';
font-style: normal;
font-weight: 400;
src: url('./fonts/fira-code-v21-latin-regular.woff2') format('woff2'), url('./fonts/fira-code-v21-latin-regular.woff') format('woff');
}
:root {
font-family: 'Fira Code', monospace;
color-scheme: dark;
color: white;
--loading-bg: #0a0618;
--clr-gradient-1: #cc00bb5e;
--clr-gradient-2: #0046d15e;
}
button,
select {
font-family: inherit;
}
.progress-container {
position: fixed;
inset: 0;
z-index: 2;
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
transition-duration: 1s;
background: var(--loading-bg) linear-gradient(200deg, var(--clr-gradient-1) 0%, transparent 40%, transparent 60%, var(--clr-gradient-2) 100%);
}
.progress-bar {
height: 30px;
width: 15vw;
margin: 5px;
}
#canvas {
position: fixed;
inset: 0;
cursor: crosshair;
}
.menu {
position: absolute;
backdrop-filter: blur(16px);
outline: 2px solid white;
z-index: 1;
}
.settings {
bottom: 0;
right: 0;
padding: 0.75rem;
border-radius: 0.5em 0 0 0;
display: flex;
flex-direction: column;
align-items: flex-end;
}
.settings label,
.settings label input {
cursor: pointer;
}
.settings label {
font-size: 1.5rem;
display: flex;
align-items: center;
gap: 0.5rem;
}
.settings input[type='checkbox'] {
width: 1.5rem;
aspect-ratio: 1;
}
.settings select {
height: 1.5rem;
font-weight: bold;
}
.settings select option {
font-weight: bold;
}
.settings button {
height: 1.5rem;
}
.planets {
top: 0;
left: 0;
display: flex;
flex-direction: column;
border-radius: 0 0 0.5em 0;
}
.planets span {
cursor: help;
padding: 3px 8px 3px 4px;
transition: color 100ms;
position: relative;
}
.planets span:hover {
color: black;
font-weight: bold;
}
.planets span::before {
content: '';
position: absolute;
height: 100%;
width: 0%;
top: 0;
left: 0;
transition: 200ms;
background-color: #99ff00;
z-index: -1;
}
.planets span:hover::before {
width: 100%;
}