.wave { position: fixed; height: 100%; width: 80%; left: 0; bottom: 0; z-index: -1; } .login-container { width: 100vw; height: 100vh; max-width: 100%; display: grid; grid-template-columns: repeat(2, 1fr); grid-gap: 8rem; padding: 0 2rem; } .img { display: flex; justify-content: flex-end; align-items: center; } .img img { width: 500px; } .login-box { display: flex; align-items: center; text-align: center; overflow: hidden; } .login-form { width: 360px; } .avatar { width: 350px; height: 80px; } .login-form h2 { margin: 20px 0 28px; color: #303133; font-weight: 600; font-size: 22px; font-family: "Helvetica Neue", Helvetica, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif; letter-spacing: 0.02em; } @media screen and (max-width: 1180px) { .login-container { grid-gap: 6rem; } .login-form { width: 290px; } .login-form h2 { font-size: 20px; margin: 12px 0 24px; } .img img { width: 360px; } .avatar { width: 280px; height: 80px; } } @media screen and (max-width: 968px) { .wave { display: none; } .img { display: none; } .login-container { grid-template-columns: 1fr; } .login-box { justify-content: center; } } /* Brand Red 按钮覆盖 */ .login-form .el-button--primary { --el-button-bg-color: #C83A35; --el-button-border-color: #C83A35; --el-button-hover-bg-color: oklch(45% 0.16 25); --el-button-hover-border-color: oklch(45% 0.16 25); --el-button-active-bg-color: oklch(38% 0.15 25); --el-button-active-border-color: oklch(38% 0.15 25); letter-spacing: 0.15em; transition: background-color 0.2s ease; } .login-form .el-button--primary:focus-visible { outline: 2px solid #C83A35; outline-offset: 2px; }