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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user