feat(theme): adopt reference base font size (14px)

Set --text-base to 0.875rem to match the reference bootstrap body
metrics; em-based reference components (.img-badge, em utilities) now
render at reference scale site-wide. Compensate .btn-lg with
--text-md (18px, bootstrap btn-lg) to keep the size hierarchy. Simplify
the user-card badge rule to the line-height pin only.
This commit is contained in:
2026-09-19 14:13:05 +08:00
parent c4662acdf0
commit c289016324
6 changed files with 9 additions and 10 deletions
+3 -4
View File
@@ -9784,11 +9784,10 @@ img.alignleft {
padding: 15px;
}
/* AKSRT 适配:站点基础字号为 16px(--text-base),参考主题依赖 bootstrap 的
* 14px/1.42857143,用户卡片内的 img-badge(签到书签)需钉住参考度量,
* 否则字体与徽章整体比参考主题大约一圈。 */
/* AKSRT 适配:站点行高(--leading-normal: 1.6)与参考主题 bootstrap
* 的 1.42857143 不同,用户卡片内的 img-badge(签到书签)钉住参考行高;
* 字号已随 --text-base 对齐参考主题(14px),无需单独声明。 */
.user-card .card-content .img-badge {
font-size: 0.875rem;
line-height: 1.42857143;
}