首页美化一下

This commit is contained in:
liuwei
2026-02-27 12:22:07 +08:00
parent 44297e0448
commit 10a3f18540
8 changed files with 179 additions and 133 deletions
+19 -19
View File
@@ -22,7 +22,7 @@
margin: 0;
padding: 0;
font-family: "Helvetica Neue", Helvetica, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif;
background: #0b1d33;
background: #0a0b0f;
height: 100vh;
display: flex;
justify-content: center;
@@ -31,10 +31,10 @@
.login-container {
width: 400px;
padding: 40px 36px 32px 36px;
background-color: #0f2545;
border: 1px solid #1b3d66;
background-color: #11151f;
border: 1px solid #1e2535;
border-radius: 12px;
box-shadow: 0 10px 30px rgba(0, 163, 255, 0.16);
box-shadow: 0 12px 28px rgba(0, 0, 0, 0.45);
display: flex;
flex-direction: column;
align-items: center;
@@ -47,7 +47,7 @@
.login-title {
text-align: center;
margin-bottom: 32px;
color: #5bd3ff;
color: #8b5cf6;
font-size: 28px;
font-weight: 700;
letter-spacing: 2px;
@@ -58,14 +58,14 @@
}
.el-input__inner {
border-radius: 6px;
border: 1.5px solid #1f3f66;
background: #0b1f3a;
color: #e6f3ff;
border: 1.5px solid #252d42;
background: #141a28;
color: #e2e8f0;
transition: border-color 0.2s;
}
.el-input__inner:focus {
border-color: #5bd3ff;
box-shadow: 0 0 0 2px rgba(91, 211, 255, 0.12);
border-color: #8b5cf6;
box-shadow: 0 0 0 2px rgba(139, 92, 246, 0.2);
}
.el-form-item__content {
margin-left: 0 !important;
@@ -73,19 +73,19 @@
.login-button {
width: 100%;
margin-top: 10px;
background: #5bd3ff;
background: #7c3aed;
border: none;
color: #0b1d33;
color: #ffffff;
font-weight: 600;
border-radius: 6px;
box-shadow: 0 6px 16px rgba(0, 163, 255, 0.18);
box-shadow: 0 8px 18px rgba(0, 0, 0, 0.35);
transition: background 0.2s;
}
.login-button:hover, .login-button:focus {
background: #41bff0;
background: #8b5cf6;
}
.error-message {
color: #ff8a8a;
color: #f87171;
margin-top: 18px;
text-align: center;
font-size: 15px;
@@ -95,9 +95,9 @@
height: 60px;
margin-bottom: 18px;
border-radius: 50%;
box-shadow: 0 2px 12px rgba(0, 163, 255, 0.2);
background: #0b213b;
border: 1px solid #1b3d66;
box-shadow: 0 6px 14px rgba(0, 0, 0, 0.4);
background: #141a28;
border: 1px solid #252d42;
display: flex;
align-items: center;
justify-content: center;
@@ -105,7 +105,7 @@
.login-footer {
margin-top: 28px;
text-align: center;
color: #7fa6d8;
color: #94a3b8;
font-size: 13px;
letter-spacing: 1px;
}