Files
2026-06-16 11:55:14 +08:00

101 lines
3.4 KiB
HTML

<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>GVSDS.API服务</title>
<style>
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@100;300;400&display=swap');
body {
margin: 0;
padding: 0;
background-color: white;
font-family: 'Montserrat', sans-serif;
height: 100vh;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
overflow: hidden;
position: relative;
}
.api-text {
font-size: 12vw;
font-weight: 100;
letter-spacing: -0.05em;
color: #333;
margin: 0;
position: relative;
z-index: 2;
animation: float 6s ease-in-out infinite;
}
.subtext {
font-weight: 300;
font-size: 1.2rem;
color: #666;
margin-top: 1rem;
text-align: center;
line-height: 1.6;
position: relative;
z-index: 2;
}
.studio {
position: absolute;
bottom: 2rem;
font-size: 0.9rem;
color: #999;
z-index: 2;
}
.abstract-shapes {
position: absolute;
width: 100%;
height: 100%;
z-index: 1;
}
.shape {
position: absolute;
opacity: 0.1;
border-radius: 50%;
animation: move 15s infinite linear;
}
@keyframes float {
0%, 100% { transform: translateY(0); }
50% { transform: translateY(-20px); }
}
@keyframes move {
0% { transform: translate(0, 0) rotate(0deg); }
100% { transform: translate(100px, 100px) rotate(360deg); }
}
</style>
</head>
<body>
<h1 class="api-text">API</h1>
<div class="subtext">
<p>Application Programming Interface</p>
<p>应用程序编程接口</p>
</div>
<div class="studio">银河锋锐软件开发工作室 · api.gvsds.com</div>
<div class="abstract-shapes" id="shapes-container"></div>
<script>
const container = document.getElementById('shapes-container');
const colors = ['#4a6fa5', '#6b8cae', '#9db4c0', '#c2dfe3'];
for (let i = 0; i < 32; i++) {
const shape = document.createElement('div');
shape.classList.add('shape');
const size = Math.random() * 200 + 50;
const color = colors[Math.floor(Math.random() * colors.length)];
const left = Math.random() * 100;
const top = Math.random() * 100;
const duration = Math.random() * 30 + 10;
shape.style.width = `${size}px`;
shape.style.height = `${size}px`;
shape.style.background = color;
shape.style.left = `${left}%`;
shape.style.top = `${top}%`;
shape.style.animationDuration = `${duration}s`;
shape.style.animationDelay = `-${Math.random() * 20}s`;
container.appendChild(shape);
}
</script>
</body>
</html>