友链申请入口改URL评论触发+卡片原生风格化; 博主/头衔徽章改浅底描边风格与友链友圈官职统一
Deploy to Production / pre-check (push) Successful in 39s
Deploy to Production / build (push) Successful in 4m55s
Deploy to Production / deploy-edgeone (push) Successful in 4m1s
Deploy to Production / finalize (push) Successful in 25s
Deploy to Production / notify-failure (push) Skipped

This commit is contained in:
zqlit committed 2026-10-03 15:16:00 +08:00
1 parent e84de9033d
commit 36e74d46f4
2 files changed
+50 -24

No files matched your search

+32 -4
View File
@@ -56,6 +56,22 @@
border: 1px solid rgba(107,114,128,0.15);
font-weight: 600;
}
/* 头衔徽章(金色)——与友链/友圈/官职同风格:浅底彩字描边 */
.atk-title-badge {
display: inline-block;
margin-left: 4px;
padding: 0 6px;
font-size: 12px;
font-weight: 600;
border-radius: 3px;
line-height: 18px;
vertical-align: middle;
pointer-events: none;
white-space: nowrap;
color: #b8860b;
background: rgba(184,134,11,0.08);
border: 1px solid rgba(184,134,11,0.22);
}
[data-theme="dark"] .atk-link-badge {
color: #34d399;
background: rgba(52,211,153,0.12);
@@ -71,17 +87,29 @@
background: rgba(148,163,184,0.1);
border-color: rgba(148,163,184,0.18);
}
[data-theme="dark"] .atk-title-badge {
color: #fbbf24;
background: rgba(251,191,36,0.12);
border-color: rgba(251,191,36,0.2);
}
/* 覆盖 Artalk 原版 .atk-badge(博主)/ .atk-pinned-badge(置顶)尺寸 */
/* 覆盖 Artalk 原版 .atk-badge(博主)尺寸/配色 —— 改成与友链/友圈/官职
同风格的浅底描边款(原版黑底白字过于突兀),黑字保留博主辨识度 */
.atk-comment>.atk-main>.atk-header .atk-badge {
font-size: 12px;
padding: 0 6px;
font-weight: 500;
font-weight: 600;
line-height: 18px;
border-radius: 3px;
vertical-align: middle;
color: #fff !important;
background: #1a1a1a !important;
color: #374151 !important;
background: rgba(55,65,81,0.06) !important;
border: 1px solid rgba(55,65,81,0.18);
}
[data-theme="dark"] .atk-comment>.atk-main>.atk-header .atk-badge {
color: #e5e7eb !important;
background: rgba(229,231,235,0.08) !important;
border-color: rgba(229,231,235,0.2);
}
.atk-comment>.atk-main>.atk-header .atk-pinned-badge {
font-size: 12px;