-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmain.css
More file actions
279 lines (246 loc) · 5.55 KB
/
Copy pathmain.css
File metadata and controls
279 lines (246 loc) · 5.55 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
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
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
body{
background-color: black;
color: skyblue;
text-align: center;
font-family: "Audiowide", sans-serif;
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
margin: 0;
flex-direction: column;
overflow: hidden;
}
.Title {
position: fixed;
top: 20px; /* distance from top */
left: 50%; /* move to horizontal center */
transform: translateX(-50%); /* center align */
display: flex; /* keep your flex styles */
/* other styles */
/* z-index: 1000; on top */
display: inline-block;
padding: 5px 12px;
background-color: black;
}
.help {
position: fixed;
top: 5px;
left: 1%;
display: flex;
}
.Data {
position: fixed;
top: 5px;
right: 1%;
display: flex;
}
.Button, .Button3 {
align-self: center; /* centers it horizontally */
width: fit-content;
display: inline-block;
padding: 5px 12px;
background-color: skyblue;
color: black;
border-radius: 5px;
cursor: pointer;
margin-top: 0.5vh;
transition: background-color 0.2s ease;
}
.Button3{
cursor: default;
}
.Button:hover {
background-color: white;
color: black;
}
.Button2 {
margin-top: 0.5vh;
font-family: "Audiowide", sans-serif;
}
.Button2 select{
/* display: inline-block; */
font-family: inherit;
font-size: large;
text-align: center;
border-color: skyblue;
padding: 5px 12px;
background-color: skyblue;
color: black;
border-radius: 5px;
cursor: pointer;
}
.Row{
display: flex;
justify-content: center; /* Center the button group */
gap: 0.3vw; /* Space BETWEEN the buttons */
margin-top: 0.2vh; /* Optional: to move it down */
}
input{
/* display: inline-block; */
width: 75px;
text-align: center;
padding: 5px 5px;
background-color: skyblue;
color: black;
border-radius: 5px;
cursor: pointer;
margin-bottom: 5px;
}
.Save{
position: fixed;
bottom: 1%;
display: flex;
}
.container {
position: fixed;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
display: flex;
align-items: center;
gap: 0.1vw; /* spacing between boxes */
}
.rocket {
border: 0.25vh solid skyblue;
width: 40vw;
height: 75vh;
border-radius: 1vh;
}
#rocketCanvas {
border: 1px solid white;
width: 35vw;
height: 65vh;
position: fixed;
top: 50%;
left: 79.5%;
transform: translate(-50%, -50%);
border-radius: 1vh;
background-color: white;
}
.side-box {
width: 19vw;
height: 75vh;
border: 0.25vh solid skyblue;
border-radius: 1vh;
/* background-color: #eaeaea; optional */
}
.left-box, .right-box {
display: flex;
flex-direction: column;
box-sizing: border-box;
/* height: 65vh; keep consistent with rocket */
}
#Sim,#Reset {
align-self: center; /* centers it horizontally */
width: fit-content;
margin-top: auto;
margin-bottom: 0.5vh;
}
#Live{
position: fixed;
bottom: 13.5vh;
left: 50%;
transform: translateX(-50%);
/* z-index: 100; */
}
#engineSlider {
width: 50vw;
z-index: 10;
accent-color: skyblue;
}
.Reg, .Film {
text-align: left;
margin-top: 1vh;
margin-left: 0.5vw;
}
input[role="switch"] {
appearance: none;
width: 2.8em;
height: 1.4em;
background-color: black;
border: 2px solid skyblue;
border-radius: 999px;
position: relative;
cursor: pointer;
transition: background-color 0.3s ease;
display: inline-block;
vertical-align: middle;
}
input[role="switch"]::after {
content: "";
position: absolute;
top: 50%;
left: 0.2em;
transform: translateY(-50%);
width: 1em;
height: 1em;
background-color: skyblue;
border-radius: 50%;
transition: left 0.3s ease, background-color 0.3s ease;
}
.Variables {
display: flex;
flex-wrap: wrap; /* allow wrapping to the next line */
justify-content: center; /* center rows */
gap: 0.5vw; /* space between inputs */
/* margin-top: 0.5vh; */
margin-left: 0.5vw;
}
input[role="switch"]:checked {
background-color: skyblue;
}
input[role="switch"]:checked::after {
left: calc(100% - 1.2em); /* 0.2em padding + 1em thumb */
background-color: black;
}
.switch-row {
margin-left: 0.4vw;
display: flex;
align-items: center; /* vertically center text and switch */
justify-content: space-between;
font-family: "Audiowide", sans-serif;
font-size: 1em;
color: skyblue;
}
.Variables input {
width: 3vw; /* smaller width to fit two in a row */
height: 2vh;
font-size: 1em;
padding: 0.5vh 0.8vw;
background-color: skyblue;
color: black;
border: none;
border-radius: 5px;
text-align: center;
cursor: text;
}
.full-width-row {
flex: 1 1 100%;
display: flex;
align-items: center;
justify-content: center;
gap: 0.5vw;
}
.measured {
flex: 1 1 45%; /* Take full row */
width: 100%; /* Ensure it spans full width of container */
max-width: 45%; /* Optional: leave some margin */
}
.Variables input::placeholder {
color: black; /* or match to your regular text color */
opacity: 0.5; /* ensures it's not faded */
font-family: "Audiowide", sans-serif;
}
.hide {
visibility: hidden;
height: 0;
opacity: 0;
transition: height 0.3s ease, opacity 0.3s ease;
}
.show {
visibility: visible;
height: auto;
opacity: 1;
transition: opacity 0.3s ease, visibility 0.3s ease;
}