feat: update login background

This commit is contained in:
Frudrax Cheng
2026-06-06 14:13:00 +08:00
parent d99c91533c
commit eaf58e85a8
2 changed files with 20 additions and 7 deletions
Binary file not shown.

After

Width:  |  Height:  |  Size: 99 KiB

+19 -6
View File
@@ -2,10 +2,13 @@
height: 100vh; height: 100vh;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
align-items: center; align-items: flex-start;
justify-content: center; justify-content: center;
padding: 20px; padding: 48px 20px 48px clamp(32px, 8vw, 120px);
background: linear-gradient(135deg, #dbeafe 0%, #e0e7ff 100%); background-image: linear-gradient(90deg, rgba(255, 255, 255, 0.82) 0%, rgba(255, 255, 255, 0.6) 36%, rgba(255, 255, 255, 0.12) 66%), url('@/assets/img/background.webp');
background-size: cover;
background-position: center;
background-repeat: no-repeat;
overflow: hidden; overflow: hidden;
} }
@@ -13,9 +16,9 @@
width: 100%; width: 100%;
max-width: 480px; max-width: 480px;
padding: 24px; padding: 24px;
backdrop-filter: blur(10px); backdrop-filter: blur(14px);
background: rgba(255, 255, 255, 0.9); background: rgba(255, 255, 255, 0.92);
box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25); box-shadow: 0 24px 60px -20px rgba(15, 23, 42, 0.36);
border-radius: 24px; border-radius: 24px;
animation: slideIn 0.5s ease-out; animation: slideIn 0.5s ease-out;
} }
@@ -63,6 +66,8 @@
.copyright { .copyright {
margin-top: 32px; margin-top: 32px;
width: 100%;
max-width: 480px;
text-align: center; text-align: center;
color: #6B7280; color: #6B7280;
font-size: 14px; font-size: 14px;
@@ -87,3 +92,11 @@
vertical-align: middle; vertical-align: middle;
margin-right: 4px; margin-right: 4px;
} }
@media (max-width: 768px) {
.login-container {
align-items: center;
padding: 20px;
background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.78) 0%, rgba(255, 255, 255, 0.9) 100%), url('@/assets/img/background.webp');
}
}