Skip to content
This repository was archived by the owner on May 9, 2025. It is now read-only.

Commit 79caf44

Browse files
Update style.css
1 parent c6c50e0 commit 79caf44

File tree

1 file changed

+10
-100
lines changed

1 file changed

+10
-100
lines changed

layout/style.css

Lines changed: 10 additions & 100 deletions
Original file line numberDiff line numberDiff line change
@@ -7,26 +7,26 @@
77

88
:root {
99
/* テーマに応じた色を設定する */
10-
--back-color: #000;
11-
--text-color: #fff;
10+
--back-color: #111;
11+
--text-color: #eee;
1212
--link-color: aqua;
1313
--dark-visilibity: visible;
1414
--light-visilibity: hidden;
1515
/* menu */
1616
--header-height: 50px;
1717
--footer-height: calc(64px + 4 * 16px);
1818
/* hambburger menu */
19-
--hamburger-width: 350px;
19+
--hamburger-width: 400px;
2020
--infinity-ease: cubic-bezier(0.5, 0, 0.5, 1);
2121
}
2222

2323
:root[theme="light"] {
2424
/* テーマに応じた色を設定する */
25-
--back-color: #fff;
26-
--text-color: #000;
25+
--back-color: #eee;
26+
--text-color: #111;
2727
}
2828

29-
@media screen and (max-width: 350px) {
29+
@media screen and (max-width: 400px) {
3030
:root {
3131
--hamburger-width: 100%;
3232
}
@@ -259,97 +259,6 @@ svg.The-Infinitys-txt {
259259
visibility: var(--light-visilibity);
260260
}
261261

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-
353262
@keyframes rainbow-animation {
354263
from {
355264
background-position: 0;
@@ -415,18 +324,19 @@ a {
415324
}
416325

417326
footer.The-Infinitys-Footer {
418-
text-align: center;
327+
text-align: right;
419328
position: absolute;
420329
bottom: 0;
421330
left: 0;
422331
width: 100%;
423332
height: var(--footer-height);
424333
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%);
426335
}
427336

428337
footer.The-Infinitys-Footer a {
429-
font-size: 14px;
338+
font-size: 20px;
339+
padding-bottom: 4px;
430340
}
431341

432342
#mouse-stalker {

0 commit comments

Comments
 (0)