进行了一些小修复

This commit is contained in:
2026-08-26 13:54:49 +08:00
parent ed1a47cf4e
commit d4b7ec1deb
9 changed files with 1763 additions and 80 deletions
+45
View File
@@ -0,0 +1,45 @@
/* source: assets/css/frontend/comments/shell.css */
/* ============================================================
* AKSRT Comments — 补充层
*
* 评论区的全部样式以 vendor 的 legacy 正版样式为准:
* assets/css/main.min.css(含 #comments/#postcomments
* 桌面规则与移动端媒体查询:.mobile-fixed/.virtual-input/.pagenav/
* .tab-nav-theme/.dropdown-menu/.line-form/.placeholder 等)
* + bootstrap 3(.list-unstyled/.list-inline)
*
* 本文件只补 AKSRT 特有标记的样式,禁止复制 legacy 规则——
* 带 #comments id 前缀的副本会覆盖 vendor 正版样式造成 UI 偏差。
* ============================================================ */
/* 身份徽章(AKSRT 渲染于 <name> 内,对应 legacy 的认证/等级徽章位) */
#comments .comment-header .aksrt-identity-chip {
display: inline-flex;
align-items: center;
gap: 3px;
vertical-align: middle;
max-width: 9em;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
font-size: 11px;
}
#comments .comment-header .aksrt-identity-medal {
display: inline-block;
width: auto;
height: 1.1em;
max-width: 6em;
object-fit: contain;
vertical-align: -0.15em;
}
/* source: assets/css/frontend/comments/mobile-item.css */
/* ============================================================
* AKSRT Comments 移动端 — 补充层
*
* 移动端评论样式(.mobile-fixed 弹层、.virtual-input 假输入、
* 头像/缩进/分页的移动端覆盖)全部由 vendor main.min.css 的
* @media (max-width:767px) 提供,此处不复制,避免覆盖正版样式。
* 目前无补充规则,保留文件以维持 enqueue 句柄链。
* ============================================================ */