Download static/index.html from WACATW/user-file: direct link, hf CLI and curl.
- Browser
- Download file 4.51 kB
-
https://huggingface.co/spaces/WACATW/user-file/resolve/main/static/index.html
- Command line
-
hf download hf://spaces/WACATW/user-file/static/index.html
-
curl -L -o index.html https://huggingface.co/spaces/WACATW/user-file/resolve/main/static/index.html
4.51 kB
| <html> | |
| <head> | |
| <meta charset="utf-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1"> | |
| <meta name="generator" content="RocketCake"> | |
| <title>一只猫的小家</title> | |
| <style> | |
| /* 全局样式重置与基础设置 */ | |
| * { | |
| margin: 0; | |
| padding: 0; | |
| box-sizing: border-box; | |
| font-family: "Microsoft Yahei", sans-serif; | |
| } | |
| body { | |
| /* 猫咪温柔渐变背景 */ | |
| background: linear-gradient(to bottom right, #fde2e4, #e2dafa, #d7f0e6); | |
| min-height: 100vh; | |
| display: flex; | |
| flex-direction: column; | |
| align-items: center; | |
| padding: 2rem 0; | |
| position: relative; /* 让绝对定位的按钮参考body */ | |
| } | |
| /* 登录注册入口样式 - 层级最顶层 + 注册按钮在前 */ | |
| .auth-buttons { | |
| position: absolute; | |
| top: 2rem; | |
| right: 2rem; | |
| display: flex; | |
| gap: 1rem; | |
| z-index: 9999; /* 超高层级,确保在最顶层 */ | |
| } | |
| .auth-btn { | |
| padding: 0.6rem 1.2rem; | |
| border-radius: 8px; | |
| border: none; | |
| background: linear-gradient(135deg, #f8bbd0 0%, #c1b3f0 100%); | |
| color: white; | |
| font-size: 0.9rem; | |
| cursor: pointer; | |
| transition: all 0.3s ease; | |
| text-decoration: none; | |
| position: relative; /* 配合z-index生效 */ | |
| z-index: 9999; /* 按钮自身也加层级,确保不被遮挡 */ | |
| } | |
| .auth-btn:hover { | |
| transform: translateY(-2px); | |
| box-shadow: 0 4px 12px rgba(248, 187, 208, 0.3); | |
| } | |
| /* 容器样式 */ | |
| #container_555429bd { | |
| width: 90%; | |
| max-width: 800px; | |
| background: rgba(255, 255, 255, 0.92); | |
| border-radius: 16px; | |
| box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08); | |
| padding: 2.5rem; | |
| margin-bottom: 2rem; | |
| backdrop-filter: blur(6px); | |
| } | |
| /* 标题样式 */ | |
| #heading_46617e6a { | |
| font-size: 2rem; | |
| color: #2d3748; | |
| text-align: center; | |
| margin-bottom: 3rem; | |
| position: relative; | |
| } | |
| #heading_46617e6a::after { | |
| content: ""; | |
| display: block; | |
| width: 80px; | |
| height: 3px; | |
| background-color: #e2a8c0; | |
| margin: 0.8rem auto 0; | |
| border-radius: 3px; | |
| } | |
| /* 按钮容器 - 网格布局 */ | |
| .button-group { | |
| display: grid; | |
| grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); | |
| gap: 1.5rem; | |
| } | |
| /* 猫咪风格按钮 */ | |
| .nav-button { | |
| background: linear-gradient(135deg, #f8bbd0 0%, #c1b3f0 100%); | |
| border-radius: 12px; | |
| padding: 1.4rem 0; | |
| text-align: center; | |
| cursor: pointer; | |
| transition: all 0.3s ease; | |
| box-shadow: 0 3px 10px rgba(248, 187, 208, 0.25); | |
| border: none; | |
| } | |
| .nav-button:hover { | |
| transform: translateY(-4px); | |
| box-shadow: 0 6px 16px rgba(248, 187, 208, 0.35); | |
| background: linear-gradient(135deg, #f49dbb 0%, #b1a1e9 100%); | |
| } | |
| /* 按钮文字样式 */ | |
| .button-text { | |
| color: white; | |
| font-size: 1.1rem; | |
| font-weight: 500; | |
| text-decoration: none; | |
| } | |
| /* 底部信息 */ | |
| .footer { | |
| color: #718096; | |
| font-size: 0.9rem; | |
| text-align: center; | |
| padding-top: 1rem; | |
| border-top: 1px solid #e2e8f0; | |
| width: 90%; | |
| max-width: 800px; | |
| } | |
| </style> | |
| </head> | |
| <body> | |
| <!-- 登录注册入口 - 注册按钮在左侧(视觉上更靠前)+ 层级最顶 --> | |
| <div class="auth-buttons"> | |
| <a href="register.html" class="auth-btn">注册</a> <!-- 注册按钮在前 --> | |
| <a href="login.html" class="auth-btn">登录</a> <!-- 登录按钮在后 --> | |
| </div> | |
| <div id="container_555429bd"> | |
| <div id="container_555429bd_padding"> | |
| <h1 id="heading_46617e6a">一只猫的小家</h1> | |
| <div class="button-group"> | |
| <!-- 时间查询按钮(跳转time.html) --> | |
| <a href="time.html" style="text-decoration:none"> | |
| <div id="button_567eab73" class="nav-button"> | |
| <span class="button-text">时间倒计时</span> | |
| </div> | |
| </a> | |
| <!-- 游戏专区(跳转game.html) --> | |
| <a href="game.html" style="text-decoration:none"> | |
| <div id="button_38b56572" class="nav-button"> | |
| <span class="button-text">🎮游戏专区</span> | |
| </div> | |
| </a> | |
| <!-- 免费网盘(跳转pan.html) --> | |
| <a href="pan.html" style="text-decoration:none"> | |
| <div id="button_2cec44a1" class="nav-button"> | |
| <span class="button-text">免费网盘</span> | |
| </div> | |
| </a> | |
| <!-- 云电脑(跳转cloudpc.html) --> | |
| <a href="cloudpc.html" style="text-decoration:none"> | |
| <div id="button_69563e92" class="nav-button"> | |
| <span class="button-text">云电脑</span> | |
| </div> | |
| </a> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- 底部信息 --> | |
| <div class="footer"> | |
| <p>© 2026 一只猫的小家 | 一只猫</p> | |
| </div> | |
| </body> | |
| </html> |