Skip to content

Commit f8475cb

Browse files
authored
Add files via upload
1 parent d6c8a91 commit f8475cb

1 file changed

Lines changed: 89 additions & 5 deletions

File tree

index.html

Lines changed: 89 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -42,13 +42,69 @@
4242
}
4343

4444
body {
45-
background-color: var(--base);
45+
background: linear-gradient(135deg, #2a1e3a, #1e1e2e, #181825, #0f0f1a);
46+
background-size: 400% 400%;
47+
animation: gradientFlow 12s ease infinite;
4648
color: var(--text);
4749
font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
4850
line-height: 1.5;
4951
padding: 2rem 1rem;
5052
min-height: 100vh;
5153
}
54+
55+
@keyframes gradientFlow {
56+
0% { background-position: 0% 50%; }
57+
50% { background-position: 100% 50%; }
58+
100% { background-position: 0% 50%; }
59+
}
60+
/* 动态光晕/粒子背景 */
61+
body::after {
62+
content: "";
63+
position: fixed;
64+
top: 0;
65+
left: 0;
66+
width: 100%;
67+
height: 100%;
68+
background: radial-gradient(circle at 20% 40%, var(--mauve) 0%, transparent 35%),
69+
radial-gradient(circle at 80% 70%, var(--blue) 0%, transparent 40%),
70+
radial-gradient(circle at 40% 90%, var(--peach) 0%, transparent 30%);
71+
opacity: 0.25;
72+
pointer-events: none;
73+
z-index: -1;
74+
animation: floatGlow 16s ease infinite;
75+
}
76+
77+
@keyframes floatGlow {
78+
0% {
79+
background-position: 0% 0%;
80+
opacity: 0.2;
81+
}
82+
50% {
83+
background-position: 100% 100%;
84+
opacity: 0.35;
85+
}
86+
100% {
87+
background-position: 0% 0%;
88+
opacity: 0.2;
89+
}
90+
}
91+
/* 星星背景 */
92+
.star {
93+
position: fixed;
94+
background-color: var(--text);
95+
border-radius: 50%;
96+
opacity: 0;
97+
pointer-events: none;
98+
z-index: -1;
99+
animation: twinkle 4s ease-in-out infinite;
100+
}
101+
102+
@keyframes twinkle {
103+
0% { opacity: 0; transform: scale(0.8); }
104+
50% { opacity: 0.7; transform: scale(1); }
105+
100% { opacity: 0; transform: scale(0.8); }
106+
}
107+
52108

53109
/* 背景网格 */
54110
body::before {
@@ -74,7 +130,7 @@
74130

75131
/* 玻璃卡片效果 */
76132
.card {
77-
background: rgba(30, 30, 46, 0.7);
133+
background: rgba(30, 30, 46, 0.5);
78134
backdrop-filter: blur(12px);
79135
border-radius: 28px;
80136
border: 1px solid var(--surface0);
@@ -293,6 +349,34 @@
293349
}
294350
}
295351
</style>
352+
<script>
353+
function createStars() {
354+
const starContainer = document.body;
355+
const starCount = 120;
356+
357+
for (let i = 0; i < starCount; i++) {
358+
const star = document.createElement('div');
359+
star.classList.add('star');
360+
361+
// 随机大小
362+
const size = Math.random() * 2.5 + 1;
363+
star.style.width = size + 'px';
364+
star.style.height = size + 'px';
365+
366+
// 随机位置
367+
star.style.left = Math.random() * 100 + '%';
368+
star.style.top = Math.random() * 100 + '%';
369+
370+
// 随机动画延迟
371+
star.style.animationDelay = Math.random() * 5 + 's';
372+
star.style.animationDuration = (Math.random() * 3 + 2) + 's';
373+
374+
starContainer.appendChild(star);
375+
}
376+
}
377+
378+
window.addEventListener('load', createStars);
379+
</script>
296380
</head>
297381
<body>
298382
<div class="container">
@@ -375,7 +459,7 @@ <h3 style="display: inline-flex; align-items: center; gap: 8px; color: var(--gre
375459
<div class="terminal-dot"></div>
376460
<div class="terminal-dot"></div>
377461
<div class="terminal-dot"></div>
378-
<span style="margin-left: auto; font-size: 0.7rem; color: var(--overlay1);">bash — FLT18355@nyarch</span>
462+
<span style="margin-left: auto; font-size: 0.7rem; color: var(--overlay1);">fish — FLT18355@nyarch</span>
379463
</div>
380464
<div class="terminal-line">
381465
<span class="prompt"></span>
@@ -449,8 +533,8 @@ <h3 style="display: inline-flex; align-items: center; gap: 8px; color: var(--gre
449533

450534
<!-- 脚注 -->
451535
<div class="footer">
452-
🌸 catppuccin-mocha · maple mono · 移动端友好 · built with 🖤 from termux · 雨爱循环中
536+
🌸 catppuccin-mocha · maple mono · 移动端友好 · built with 🖤 from termux · 雨爱循环中 · FLT18355
453537
</div>
454538
</div>
455539
</body>
456-
</html>
540+
</html>

0 commit comments

Comments
 (0)