auth-web/src/style/login.css

97 lines
1.2 KiB
CSS
Raw Normal View History

2024-09-26 09:38:02 +08:00
.wave {
2025-04-24 13:43:37 +08:00
position: fixed;
height: 100%;
width: 80%;
left: 0;
bottom: 0;
z-index: -1;
2024-09-26 09:38:02 +08:00
}
.login-container {
2025-04-24 13:43:37 +08:00
width: 100vw;
height: 100vh;
max-width: 100%;
display: grid;
grid-template-columns: repeat(2, 1fr);
grid-gap: 18rem;
padding: 0 2rem;
2024-09-26 09:38:02 +08:00
}
.img {
2025-04-24 13:43:37 +08:00
display: flex;
justify-content: flex-end;
align-items: center;
2024-09-26 09:38:02 +08:00
}
.img img {
2025-04-24 13:43:37 +08:00
width: 500px;
2024-09-26 09:38:02 +08:00
}
.login-box {
2025-04-24 13:43:37 +08:00
display: flex;
align-items: center;
text-align: center;
overflow: hidden;
2024-09-26 09:38:02 +08:00
}
.login-form {
2025-04-24 13:43:37 +08:00
width: 360px;
2024-09-26 09:38:02 +08:00
}
.avatar {
2025-04-29 18:36:50 +08:00
width: 80px;
2025-04-24 13:43:37 +08:00
height: 80px;
2024-09-26 09:38:02 +08:00
}
.login-form h2 {
2025-04-24 13:43:37 +08:00
text-transform: uppercase;
margin: 15px 0;
color: #999;
font:
bold 200% Consolas,
Monaco,
monospace;
2024-09-26 09:38:02 +08:00
}
@media screen and (max-width: 1180px) {
2025-04-24 13:43:37 +08:00
.login-container {
grid-gap: 9rem;
}
.login-form {
width: 290px;
}
.login-form h2 {
font-size: 2.4rem;
margin: 8px 0;
}
.img img {
width: 360px;
}
.avatar {
width: 280px;
height: 80px;
}
2024-09-26 09:38:02 +08:00
}
@media screen and (max-width: 968px) {
2025-04-24 13:43:37 +08:00
.wave {
display: none;
}
2024-09-26 09:38:02 +08:00
2025-04-24 13:43:37 +08:00
.img {
display: none;
}
2024-09-26 09:38:02 +08:00
2025-04-24 13:43:37 +08:00
.login-container {
grid-template-columns: 1fr;
}
2024-09-26 09:38:02 +08:00
2025-04-24 13:43:37 +08:00
.login-box {
justify-content: center;
}
2024-09-26 09:38:02 +08:00
}