-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
349 lines (309 loc) · 7.99 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
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
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
/* Style for the label */
label[for="encodingSelector"] {
display: block;
margin: 15px 0 5px; /* Compact spacing */
font-size: 14px; /* Smaller font size */
font-weight: bold;
color: #4af626; /* Terminal green */
text-align: left; /* Align text to the left */
text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5); /* Light shadow */
padding-left: 5px; /* Left padding for alignment */
}
/* Style for the dropdown menu */
select#encodingSelector {
display: block;
margin: 0 0 20px; /* Compact spacing */
width: 180px; /* Smaller width */
padding: 8px 12px; /* Compact padding */
font-size: 14px; /* Smaller font size */
font-weight: bold;
background: #000; /* Pitch black background */
color: #4af626; /* Terminal green */
border: 1px solid #444;
border-radius: 8px; /* Smaller border radius */
appearance: none; /* Remove default dropdown arrow */
box-shadow: inset 2px 2px 4px rgba(0, 0, 0, 0.4), inset -2px -2px 4px rgba(255, 255, 255, 0.1);
cursor: pointer;
transition: all 0.3s ease;
text-align: left; /* Align text inside dropdown */
text-transform: uppercase; /* Uppercase for dropdown options */
}
/* Customize options inside the dropdown */
select#encodingSelector option {
background-color: #000; /* Pitch black background */
color: #4af626; /* Terminal green */
padding: 8px; /* Smaller padding */
font-size: 14px; /* Smaller font size */
text-transform: none; /* Preserve case */
text-align: left; /* Align text inside options */
}
/* Add a custom arrow to the dropdown */
select#encodingSelector::-ms-expand {
display: none; /* Hide default arrow in IE */
}
/* Hover effect for the dropdown */
select#encodingSelector:hover {
background: #111; /* Slightly lighter pitch black */
border-color: #4af626; /* Terminal green */
}
/* Focus effect for the dropdown */
select#encodingSelector:focus {
outline: none;
background: #222; /* Slightly lighter pitch black */
border-color: #4af626; /* Terminal green */
color: #4af626; /* Terminal green */
}
.tooltip {
position: absolute;
background-color: #000; /* Pitch black background */
color: #4af626; /* Terminal green */
padding: 5px 10px;
border-radius: 5px;
font-size: 12px;
pointer-events: none;
z-index: 1000;
white-space: nowrap;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
animation: fadeInTooltip 0.2s ease;
}
@keyframes fadeInTooltip {
from { opacity: 0; transform: translateY(5px); }
to { opacity: 1; transform: translateY(0); }
}
body {
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
margin: 0;
padding: 0;
background-color: #000; /* Pitch black background */
color: #4af626; /* Terminal green */
animation: fadeIn 1.5s ease-in-out;
}
@keyframes fadeIn {
from { opacity: 0; }
to { opacity: 1; }
}
.container {
max-width: 700px;
margin: 60px auto;
padding: 30px;
background-color: #111; /* Slightly lighter pitch black */
border-radius: 10px;
box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5);
}
h1 {
font-size: 28px;
margin-bottom: 15px;
text-align: center;
display: flex;
align-items: center;
justify-content: center;
color: #4af626; /* Terminal green */
}
h1 img {
margin-right: 10px;
height: 30px;
}
.github-link {
text-align: center;
margin-bottom: 10px;
}
.github-link a {
color: #4af626; /* Terminal green */
text-decoration: none;
font-weight: bold;
font-size: 16px;
}
.github-link a:hover {
text-decoration: underline;
}
.about-button {
display: block;
margin: 10px auto 20px;
padding: 6px 12px;
font-size: 14px;
background-color: #4af626; /* Terminal green */
color: #000; /* Pitch black text */
border: none;
border-radius: 5px;
cursor: pointer;
width: auto;
transition: background-color 0.3s ease;
}
.about-button:hover {
background-color: #3e9e1e; /* Darker terminal green */
}
#aboutModal {
display: none;
position: fixed;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
width: 80%;
max-width: 600px;
background-color: #111; /* Slightly lighter pitch black */
color: #4af626; /* Terminal green */
padding: 20px;
border-radius: 10px;
box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5);
z-index: 1000;
}
#aboutModal p {
margin-bottom: 15px;
line-height: 1.6;
}
#aboutModal .close-button {
display: block;
margin: 0 auto;
padding: 6px 12px;
font-size: 14px;
background-color: #4af626; /* Terminal green */
color: #000; /* Pitch black text */
border: none;
border-radius: 5px;
cursor: pointer;
transition: background-color 0.3s ease;
}
#aboutModal .close-button:hover {
background-color: #3e9e1e; /* Darker terminal green */
}
.editor-container {
position: relative;
margin-top: 20px;
}
.file-manager-toggle {
position: absolute;
top: 10px;
right: 10px;
background: none;
border: none;
cursor: pointer;
padding: 0;
}
.file-manager-toggle img {
height: 20px;
}
.fullscreen-toggle {
position: absolute;
top: 40px;
right: 10px;
background: none;
border: none;
cursor: pointer;
padding: 0;
}
.fullscreen-toggle img {
height: 20px;
}
#codeEditor {
padding: 12px;
font-size: 16px;
background-color: #000; /* Pitch black background */
color: #4af626; /* Terminal green */
border: 1px solid #ccc;
border-radius: 5px;
min-height: 200px;
max-height: 400px;
overflow: auto;
white-space: pre;
outline: none;
margin: 0;
}
#dataUrlDisplay {
margin-top: 20px;
background-color: #111; /* Slightly lighter pitch black */
padding: 12px;
border-radius: 5px;
word-wrap: break-word;
font-family: monospace;
color: #4af626; /* Terminal green */
white-space: nowrap;
overflow-x: auto;
}
.copy-button {
display: block;
margin: 10px auto;
padding: 6px 12px;
font-size: 14px;
background-color: #4af626; /* Terminal green */
color: #000; /* Pitch black text */
border: none;
border-radius: 5px;
cursor: pointer;
width: auto;
transition: background-color 0.3s ease;
}
.copy-button:hover {
background-color: #3e9e1e; /* Darker terminal green */
}
.modal {
display: none;
position: fixed;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
width: 80%;
max-width: 500px;
background-color: #111; /* Slightly lighter pitch black */
padding: 20px;
border-radius: 10px;
z-index: 1000;
box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5);
}
.modal h2 {
text-align: center;
margin-bottom: 20px;
}
.modal button {
display: block;
margin: 10px auto;
padding: 10px 20px;
font-size: 14px;
background-color: #4af626; /* Terminal green */
color: #000; /* Pitch black text */
border: none;
border-radius: 5px;
cursor: pointer;
}
.modal button:hover {
background-color: #3e9e1e; /* Darker terminal green */
}
.about-button, .file-manager-toggle, .fullscreen-toggle, .copy-button, .convert-button {
background-color: #4af626; /* Terminal green */
border: none;
color: #000; /* Pitch black text */
padding: 10px 20px;
text-align: center;
text-decoration: none;
display: inline-block;
font-size: 16px;
margin: 4px 2px;
cursor: pointer;
border-radius: 4px;
}
.repo-link-container {
margin-top: 20px;
text-align: center;
}
.repo-link-container label {
display: block;
margin-bottom: 10px;
}
.repo-link-container input {
width: 80%;
padding: 10px;
margin-bottom: 10px;
border: 1px solid #ccc;
border-radius: 4px;
}
/* Custom CSS for black theme */
/* Stars */
#canvas {
display: block;
position: fixed; /* Cover the viewport */
top: 0;
left: 0;
width: 100vw; /* 100% of the viewport width */
height: 100vh; /* 100% of the viewport height */
z-index: -99999;
pointer-events: none; /* Prevents canvas from interfering with interactions */
}