增加板块内置顶,与全局置顶分离:首页仅抬升全局置顶,板块列表优先全局再板块。

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-08-07 05:14:00 +08:00
parent bb8d415eb7
commit 0f83183620
11 changed files with 103 additions and 13 deletions

View File

@@ -2321,6 +2321,13 @@ body:has(.admin-topbar) .ptr-indicator {
border: 1px solid rgba(220, 38, 38, 0.22);
}
/* 板块置顶:与全局置顶同结构,用偏暖橙区分 */
.post-pin-badge--board {
color: #c2410c;
background: rgba(234, 88, 12, 0.1);
border-color: rgba(234, 88, 12, 0.22);
}
.post-pin-badge--detail {
margin-right: 8px;
height: 22px;
@@ -2335,6 +2342,12 @@ body:has(.admin-topbar) .ptr-indicator {
border-color: rgba(248, 113, 113, 0.28);
}
.dark .post-pin-badge--board {
color: #fb923c;
background: rgba(251, 146, 60, 0.14);
border-color: rgba(251, 146, 60, 0.28);
}
.post-status-badge {
display: inline-flex;
align-items: center;