Skip to content

Commit 9b1c79f

Browse files
committed
新增 [暗黑模式1] 对划词提示的配色支持
1 parent 1e545e2 commit 9b1c79f

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

Zhihu-Beautification.user.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// ==UserScript==
22
// @name 知乎美化
3-
// @version 1.5.19
3+
// @version 1.5.20
44
// @author X.I.U
55
// @description 宽屏显示、暗黑模式(4种)、暗黑模式跟随浏览器、屏蔽首页活动广告、隐藏文章开头大图、调整图片最大高度、向下翻时自动隐藏顶栏
66
// @match *://www.zhihu.com/*
@@ -293,6 +293,9 @@ html[data-theme=dark] .LinkCard-backdrop {background-image: url() !important;}
293293
html[data-theme=dark] .Avatar, html[data-theme=dark] .UserAvatar {background-color: #2d333b !important;}
294294
html[data-theme=dark] .UserAvatar {border: 4px solid #2d333b !important;}
295295
296+
/* 划词提示文字和背景颜色 */
297+
html[data-theme=dark] .css-fg13ww {color: #adbac7 !important; background-color: #363d47 !important; border-radius: 10px !important;}
298+
296299
/* 通知信息中点评论链接时,在弹出的评论框中 "高亮" 目标评论 */
297300
html[data-theme=dark] .CommentItemV2[tabindex='-1'] {background-color: #343a44 !important;}
298301

0 commit comments

Comments
 (0)