style(static): 注册页图形验证码统一为 code-box 布局

- register.html 图形验证码改用 .code-box 行内布局,与邮箱验证码对齐
- theme.css 新增可复用 .captcha-img 类,替代内联样式
- README 功能列表补充表单组件说明
This commit is contained in:
qing committed 2026-08-01 02:51:55 +08:00
1 parent eb506e5cbf
commit f003b4dfaa
3 files changed
+18 -6

No files matched your search

+12
View File
@@ -190,6 +190,18 @@ input[type="button"]:disabled {
}
.code-box input[type="text"] { width: auto; flex: 1; min-width: 100px; display: inline-block; }
.code-box input[type="button"] { white-space: nowrap; }
/* 图形验证码图片(register 图形/邮箱验证码同排布局) */
.code-box .captcha-img {
width: 120px;
height: 38px;
flex: none;
cursor: pointer;
border: 1.5px solid var(--border);
border-radius: 10px;
box-sizing: border-box;
object-fit: cover;
background: var(--bg);
}
/* ===== Validation Tips ===== */
.tip-red { color: var(--error); font-size: 0.78rem; }