首页美化一下
This commit is contained in:
@@ -22,7 +22,7 @@
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
font-family: "Helvetica Neue", Helvetica, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif;
|
||||
background: #0a0b0f;
|
||||
background: #fdfcfb;
|
||||
height: 100vh;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
@@ -31,10 +31,10 @@
|
||||
.login-container {
|
||||
width: 400px;
|
||||
padding: 40px 36px 32px 36px;
|
||||
background-color: #11151f;
|
||||
border: 1px solid #1e2535;
|
||||
background-color: #ffffff;
|
||||
border: 1px solid #e5e0d9;
|
||||
border-radius: 12px;
|
||||
box-shadow: 0 12px 28px rgba(0, 0, 0, 0.45);
|
||||
box-shadow: 0 12px 24px rgba(17, 24, 39, 0.08);
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
@@ -47,7 +47,7 @@
|
||||
.login-title {
|
||||
text-align: center;
|
||||
margin-bottom: 32px;
|
||||
color: #8b5cf6;
|
||||
color: #f97316;
|
||||
font-size: 28px;
|
||||
font-weight: 700;
|
||||
letter-spacing: 2px;
|
||||
@@ -58,14 +58,14 @@
|
||||
}
|
||||
.el-input__inner {
|
||||
border-radius: 6px;
|
||||
border: 1.5px solid #252d42;
|
||||
background: #141a28;
|
||||
color: #e2e8f0;
|
||||
border: 1.5px solid #e5e0d9;
|
||||
background: #fcfaf8;
|
||||
color: #111827;
|
||||
transition: border-color 0.2s;
|
||||
}
|
||||
.el-input__inner:focus {
|
||||
border-color: #8b5cf6;
|
||||
box-shadow: 0 0 0 2px rgba(139, 92, 246, 0.2);
|
||||
border-color: #f97316;
|
||||
box-shadow: 0 0 0 2px rgba(245, 158, 11, 0.2);
|
||||
}
|
||||
.el-form-item__content {
|
||||
margin-left: 0 !important;
|
||||
@@ -73,19 +73,19 @@
|
||||
.login-button {
|
||||
width: 100%;
|
||||
margin-top: 10px;
|
||||
background: #7c3aed;
|
||||
background: #f97316;
|
||||
border: none;
|
||||
color: #ffffff;
|
||||
font-weight: 600;
|
||||
border-radius: 6px;
|
||||
box-shadow: 0 8px 18px rgba(0, 0, 0, 0.35);
|
||||
box-shadow: 0 8px 16px rgba(17, 24, 39, 0.12);
|
||||
transition: background 0.2s;
|
||||
}
|
||||
.login-button:hover, .login-button:focus {
|
||||
background: #8b5cf6;
|
||||
background: #f59e0b;
|
||||
}
|
||||
.error-message {
|
||||
color: #f87171;
|
||||
color: #ef4444;
|
||||
margin-top: 18px;
|
||||
text-align: center;
|
||||
font-size: 15px;
|
||||
@@ -95,9 +95,9 @@
|
||||
height: 60px;
|
||||
margin-bottom: 18px;
|
||||
border-radius: 50%;
|
||||
box-shadow: 0 6px 14px rgba(0, 0, 0, 0.4);
|
||||
background: #141a28;
|
||||
border: 1px solid #252d42;
|
||||
box-shadow: 0 6px 14px rgba(17, 24, 39, 0.12);
|
||||
background: #fcfaf8;
|
||||
border: 1px solid #e5e0d9;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
@@ -105,7 +105,7 @@
|
||||
.login-footer {
|
||||
margin-top: 28px;
|
||||
text-align: center;
|
||||
color: #94a3b8;
|
||||
color: #6b7280;
|
||||
font-size: 13px;
|
||||
letter-spacing: 1px;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user