fix(widgets): pin user-card checkin badge to reference font metrics

The site base is 16px (--text-base) while the reference inherits
bootstrap's 14px/1.42857143; scope the user-card img-badge to those
reference metrics so the checkin badge matches the reference size.
This commit is contained in:
2026-09-19 13:50:23 +08:00
parent effdac91fd
commit bb8161e1c4
2 changed files with 9 additions and 1 deletions
+8
View File
@@ -9784,6 +9784,14 @@ img.alignleft {
padding: 15px;
}
/* AKSRT 适配:站点基础字号为 16px(--text-base),参考主题依赖 bootstrap 的
* 14px/1.42857143,用户卡片内的 img-badge(签到书签)需钉住参考度量,
* 否则字体与徽章整体比参考主题大约一圈。 */
.user-card .card-content .img-badge {
font-size: 0.875rem;
line-height: 1.42857143;
}
.user-card name .display-name {
font-size: 1.1em;
font-weight: bold;
+1 -1
View File
File diff suppressed because one or more lines are too long