Krishya | 75e43c0 | 2025-04-05 21:16:30 +0800 | [diff] [blame^] | 1 | .auth-container { |
| 2 | display: flex; |
| 3 | align-items: center; |
| 4 | justify-content: flex-end; /* 使卡片靠右 */ |
| 5 | min-height: 100vh; |
| 6 | font-family: Arial, sans-serif; |
| 7 | background-color: #5F4437; /* 设置背景颜色 */ |
| 8 | padding: 0 2rem; /* 添加左右内边距 */ |
| 9 | } |
| 10 | |
| 11 | .auth-container img { |
| 12 | margin-left: 250px; |
| 13 | } |
| 14 | |
| 15 | .auth-form-section { |
| 16 | background: #E4D8C9; /* 米白色 */ |
| 17 | padding: 2rem; |
| 18 | border-radius: 10px; |
| 19 | box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); |
| 20 | width: 300px; |
| 21 | margin: 0 auto; |
| 22 | max-width: 400px; /* 限制卡片最大宽度 */ |
| 23 | } |
| 24 | |
| 25 | .form-group { |
| 26 | margin-bottom: 1.2rem; |
| 27 | display: flex; |
| 28 | flex-direction: column; |
| 29 | } |
| 30 | |
| 31 | label { |
| 32 | display: block; |
| 33 | font-size: 0.9rem; |
| 34 | margin-bottom: 0.5rem; |
| 35 | color: #4A3B34; /* 棕色 */ |
| 36 | } |
| 37 | |
| 38 | .form-input { |
| 39 | width: 100%; |
| 40 | padding: 0.8rem; |
| 41 | border: 1px solid #ddd; |
| 42 | border-radius: 5px; |
| 43 | font-size: 0.9rem; |
| 44 | box-sizing: border-box; |
| 45 | } |
| 46 | |
| 47 | .auth-button { |
| 48 | padding: 0.8rem 8.4rem; |
| 49 | background: #BA929A; /* 粉色 */ |
| 50 | color: #4A3B34; /* 棕色 */ |
| 51 | border: none; |
| 52 | border-radius: 5px; |
| 53 | cursor: pointer; |
| 54 | font-size: 0.9rem; |
| 55 | display: inline-block; |
| 56 | } |
| 57 | |
| 58 | .verify-button { |
| 59 | padding: 0.5rem 1rem; /* 更小的内边距 */ |
| 60 | background: #BA929A; /* 粉色 */ |
| 61 | color: #4A3B34; /* 棕色 */ |
| 62 | border: none; |
| 63 | border-radius: 5px; |
| 64 | cursor: pointer; |
| 65 | font-size: 0.8rem; /* 更小的字体 */ |
| 66 | display: inline-block; |
| 67 | } |
| 68 | |
| 69 | .link-button { |
| 70 | background: none; |
| 71 | border: none; |
| 72 | color: #4A3B34; /* 棕色 */ |
| 73 | /* text-decoration: underline; */ |
| 74 | cursor: pointer; |
| 75 | font-size: 0.8rem; |
| 76 | padding: 0; |
| 77 | } |
| 78 | |
| 79 | .forgot-password { |
| 80 | position: absolute; |
| 81 | right: 10px; /* 让按钮靠右 */ |
| 82 | bottom: 5px; /* 调整到底部 */ |
| 83 | font-size: 12px; |
| 84 | background: none; |
| 85 | border: none; |
| 86 | color: #4A3B34; /* 颜色与 "点击注册" 一致 */ |
| 87 | cursor: pointer; |
| 88 | text-decoration: underline; |
| 89 | } |
| 90 | |
| 91 | |
| 92 | .register-link, .login-link { |
| 93 | text-align: center; |
| 94 | font-size: 0.8rem; |
| 95 | margin-top: 1rem; |
| 96 | } |