Skip to content

Commit d561437

Browse files
committed
优化 暗黑模式1(头像背景颜色)
1 parent d1a2567 commit d561437

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

Zhihu-Beautification.user.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// ==UserScript==
22
// @name 知乎美化
3-
// @version 1.5.9
3+
// @version 1.5.10
44
// @author X.I.U
55
// @description 宽屏显示、暗黑模式(4种)、暗黑模式跟随浏览器、屏蔽首页活动广告、隐藏文章开头大图、调整图片最大高度、向下翻时自动隐藏顶栏
66
// @match *://www.zhihu.com/*
@@ -264,6 +264,10 @@ html[data-theme=dark] .MCNLinkCard, html[data-theme=dark] .LinkCard-content, htm
264264
html[data-theme=dark] .Post-content .MCNLinkCard, html[data-theme=dark] .Post-content .LinkCard-content, html[data-theme=dark] .Post-content .ZVideoLinkCard-info {background-color: #2D333B !important;}
265265
html[data-theme=dark] .LinkCard-backdrop {background-image: url() !important;}
266266
267+
/* 背景颜色 - 头像 */
268+
html[data-theme=dark] .Avatar, html[data-theme=dark] .UserAvatar {background-color: #2d333b !important;}
269+
html[data-theme=dark] .UserAvatar {border: 4px solid #2d333b !important;}
270+
267271
/* 通知信息中点评论链接时,在弹出的评论框中 "高亮" 目标评论 */
268272
html[data-theme=dark] .CommentItemV2[tabindex='-1'] {background-color: #343a44 !important;}
269273

0 commit comments

Comments
 (0)