Initial commit

This commit is contained in:
yuchenglong
2025-11-20 10:00:02 +08:00
commit 8aa5f7802f
147 changed files with 132905 additions and 0 deletions

202
src/App.css Normal file
View File

@@ -0,0 +1,202 @@
:root {
font-family: Inter, Avenir, Helvetica, Arial, sans-serif;
font-size: 16px;
line-height: 24px;
font-weight: 400;
color: #0f0f0f;
background-color: #f6f6f6;
font-synthesis: none;
text-rendering: optimizeLegibility;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
-webkit-text-size-adjust: 100%;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
/* 全局布局 */
html,
body,
#root {
height: 100%;
margin: 0;
}
body {
display: flex;
align-items: center;
justify-content: center;
background: #ffffff;
}
.app-container {
position: relative;
width: 1080px;
height: 1920px;
overflow: hidden;
}
/* 全局背景层 */
.global-background {
position: absolute;
top: 0;
left: 0;
width: 1080px;
height: 1920px;
background: url(./assets/bg.png) 100% no-repeat;
background-size: 100% 100%;
pointer-events: none;
z-index: 1;
}
.global-header {
display: flex;
flex-direction: row;
justify-content: space-between;
width: 927px;
height: 84px;
margin: 98px 0 0 82px;
pointer-events: auto;
}
.header-logo {
width: 248px;
height: 84px;
}
.header-title {
width: 442px;
height: 53px;
overflow-wrap: break-word;
color: rgba(255, 255, 255, 1);
font-size: 56px;
font-family: NotoSansCJKsc-Medium;
font-weight: 500;
text-align: center;
white-space: nowrap;
line-height: 56px;
margin-top: 17px;
}
.header-time {
width: 286px;
height: 24px;
overflow-wrap: break-word;
color: rgba(255, 255, 255, 1);
font-size: 31px;
font-family: NotoSansCJKsc-Medium;
font-weight: 500;
text-align: center;
white-space: nowrap;
line-height: 31px;
margin: 32px 0 0 724px;
pointer-events: auto;
}
/* 内容区域 */
.content-area {
position: relative;
width: 100%;
height: 100%;
z-index: 2;
pointer-events: auto;
}
.container {
margin: 0;
padding-top: 10vh;
display: flex;
flex-direction: column;
justify-content: center;
text-align: center;
}
.logo {
height: 6em;
padding: 1.5em;
will-change: filter;
transition: 0.75s;
}
.logo.tauri:hover {
filter: drop-shadow(0 0 2em #24c8db);
}
.row {
display: flex;
justify-content: center;
}
a {
font-weight: 500;
color: #646cff;
text-decoration: inherit;
}
a:hover {
color: #535bf2;
}
h1 {
text-align: center;
}
input,
button {
border-radius: 8px;
border: 1px solid transparent;
padding: 0.6em 1.2em;
font-size: 1em;
font-weight: 500;
font-family: inherit;
color: #0f0f0f;
background-color: #ffffff;
transition: border-color 0.25s;
box-shadow: 0 2px 2px rgba(0, 0, 0, 0.2);
}
button {
cursor: pointer;
}
button:hover {
border-color: #396cd8;
}
button:active {
border-color: #396cd8;
background-color: #e8e8e8;
}
input,
button {
outline: none;
}
#greet-input {
margin-right: 5px;
}
@media (prefers-color-scheme: dark) {
:root {
color: #f6f6f6;
background-color: #2f2f2f;
}
a:hover {
color: #24c8db;
}
input,
button {
color: #ffffff;
background-color: #0f0f0f98;
}
button:active {
background-color: #0f0f0f69;
}
}