|
7 | 7 |
|
8 | 8 | :root { |
9 | 9 | /* テーマに応じた色を設定する */ |
10 | | - --back-color: #000; |
11 | | - --text-color: #fff; |
| 10 | + --back-color: #111; |
| 11 | + --text-color: #eee; |
12 | 12 | --link-color: aqua; |
13 | 13 | --dark-visilibity: visible; |
14 | 14 | --light-visilibity: hidden; |
15 | 15 | /* menu */ |
16 | 16 | --header-height: 50px; |
17 | 17 | --footer-height: calc(64px + 4 * 16px); |
18 | 18 | /* hambburger menu */ |
19 | | - --hamburger-width: 350px; |
| 19 | + --hamburger-width: 400px; |
20 | 20 | --infinity-ease: cubic-bezier(0.5, 0, 0.5, 1); |
21 | 21 | } |
22 | 22 |
|
23 | 23 | :root[theme="light"] { |
24 | 24 | /* テーマに応じた色を設定する */ |
25 | | - --back-color: #fff; |
26 | | - --text-color: #000; |
| 25 | + --back-color: #eee; |
| 26 | + --text-color: #111; |
27 | 27 | } |
28 | 28 |
|
29 | | -@media screen and (max-width: 350px) { |
| 29 | +@media screen and (max-width: 400px) { |
30 | 30 | :root { |
31 | 31 | --hamburger-width: 100%; |
32 | 32 | } |
@@ -259,97 +259,6 @@ svg.The-Infinitys-txt { |
259 | 259 | visibility: var(--light-visilibity); |
260 | 260 | } |
261 | 261 |
|
262 | | -/*For Space BackGround*/ |
263 | | - |
264 | | -#BackGround>div[data-background-name="space"]>div.three-d { |
265 | | - --x-pos: 0; |
266 | | - --y-pos: 0; |
267 | | - --z-pos: 1; |
268 | | - --z-depth: 400; |
269 | | - --blur-length: calc(var(--z-depth) * 10); |
270 | | - --blur-level: calc(var(--z-depth) * 2); |
271 | | - z-index: calc(- 1000 - 1 * var(--z-pos)); |
272 | | - visibility: visible; |
273 | | - position: absolute; |
274 | | - background-color: transparent; |
275 | | - border-radius: 50%; |
276 | | - opacity: min(1, max(calc(1 + (var(--blur-length) - var(--z-pos)) / var(--blur-level)), 0)); |
277 | | - top: calc((var(--y-pos) * (var(--z-depth) / var(--z-pos)) + 1) * 50%); |
278 | | - left: calc((var(--x-pos) * (var(--z-depth) / var(--z-pos)) + 1) * 50%); |
279 | | - transform: translate(-50%, -50%) scale(calc(var(--z-depth) / var(--z-pos) * 100%)); |
280 | | - animation: space_asteroid_animation 2s linear infinite; |
281 | | -} |
282 | | - |
283 | | -@property --x-pos { |
284 | | - syntax: "<number>"; |
285 | | - inherits: false; |
286 | | - initial-value: 0; |
287 | | -} |
288 | | - |
289 | | -@property --y-pos { |
290 | | - syntax: "<number>"; |
291 | | - inherits: false; |
292 | | - initial-value: 0; |
293 | | -} |
294 | | - |
295 | | -@property --z-pos { |
296 | | - syntax: "<number>"; |
297 | | - inherits: false; |
298 | | - initial-value: 0; |
299 | | -} |
300 | | - |
301 | | -@keyframes space_asteroid_animation { |
302 | | - 0% { |
303 | | - --z-pos: calc(var(--z-depth) * 12); |
304 | | - } |
305 | | - |
306 | | - 100% { |
307 | | - --z-pos: calc(var(--z-depth) * 0); |
308 | | - } |
309 | | -} |
310 | | - |
311 | | -#BackGround>div[data-background-name="space"]>div.light { |
312 | | - width: 100px; |
313 | | - aspect-ratio: 1; |
314 | | - height: auto; |
315 | | -} |
316 | | - |
317 | | -/* ここにゃんのサイン */ |
318 | | -#BackGround>div[data-background-name="space"]>svg { |
319 | | - width: min(100vw, 250px); |
320 | | - height: auto; |
321 | | - animation: kokonyan-sign-animation-x 10s linear infinite, kokonyan-sign-animation-y 11s linear infinite; |
322 | | - animation-delay: 55s, 55s; /* ここにゃんにちなんで、55秒経過すると、右下にあったここにゃんのサインがスクリーンセーバーの如く動き出す */ |
323 | | -} |
324 | | - |
325 | | -@keyframes kokonyan-sign-animation-x { |
326 | | - 0% { |
327 | | - right: 0; |
328 | | - } |
329 | | - |
330 | | - 50% { |
331 | | - right: calc(100% - min(100vw, 250px)); |
332 | | - } |
333 | | - |
334 | | - 100% { |
335 | | - right: 0; |
336 | | - } |
337 | | -} |
338 | | - |
339 | | -@keyframes kokonyan-sign-animation-y { |
340 | | - 0% { |
341 | | - bottom: 0; |
342 | | - } |
343 | | - |
344 | | - 50% { |
345 | | - bottom: calc(100% - min(100vw, 250px) * 175.69679 / 232.49988); |
346 | | - } |
347 | | - |
348 | | - 100% { |
349 | | - bottom: 0; |
350 | | - } |
351 | | -} |
352 | | - |
353 | 262 | @keyframes rainbow-animation { |
354 | 263 | from { |
355 | 264 | background-position: 0; |
@@ -415,18 +324,19 @@ a { |
415 | 324 | } |
416 | 325 |
|
417 | 326 | footer.The-Infinitys-Footer { |
418 | | - text-align: center; |
| 327 | + text-align: right; |
419 | 328 | position: absolute; |
420 | 329 | bottom: 0; |
421 | 330 | left: 0; |
422 | 331 | width: 100%; |
423 | 332 | height: var(--footer-height); |
424 | 333 | font-family: "noto-sans", system-ui, sans-serif; |
425 | | - background-color: color-mix(in srgb, var(--back-color), transparent 17%); |
| 334 | + background-color: color-mix(in srgb, var(--back-color), transparent 2%); |
426 | 335 | } |
427 | 336 |
|
428 | 337 | footer.The-Infinitys-Footer a { |
429 | | - font-size: 14px; |
| 338 | + font-size: 20px; |
| 339 | + padding-bottom: 4px; |
430 | 340 | } |
431 | 341 |
|
432 | 342 | #mouse-stalker { |
|
0 commit comments