第一次提交

This commit is contained in:
2026-05-07 22:27:55 +08:00
commit 463e8e95b6
95 changed files with 13167 additions and 0 deletions

45
src/style.css Normal file
View File

@ -0,0 +1,45 @@
@import "tailwindcss";
@layer base {
:root {
--color-surface: 255 255 255;
--color-primary: 34 197 94;
}
/* 确保 html 也应用暗色背景,防止空白区域 */
html {
background: #0f172a;
overflow: hidden;
height: 100%;
overscroll-behavior: none;
}
body {
@apply antialiased;
font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
/* 关键:锁住 body彻底消除整体拖动 */
position: fixed;
inset: 0;
overflow: hidden;
overscroll-behavior: none;
/* 阻止触控板手势触发页面导航 */
touch-action: none;
}
/* 自定义滚动条保持不变 */
::-webkit-scrollbar {
width: 5px;
height: 5px;
}
::-webkit-scrollbar-track {
background: transparent;
}
::-webkit-scrollbar-thumb {
background-color: rgba(255, 255, 255, 0.2);
border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
background-color: rgba(255, 255, 255, 0.4);
}
}