Skip to content

Commit 3b49e11

Browse files
committed
优化 [暗黑模式] 视频样式
1 parent 7702cde commit 3b49e11

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

Zhihu-Beautification.user.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// ==UserScript==
22
// @name 知乎美化
3-
// @version 1.1.7
3+
// @version 1.1.8
44
// @author X.I.U
55
// @description 宽屏显示、暗黑模式(3种)、隐藏文章开头大图、调整图片最大高度、向下翻时自动隐藏顶栏、文章编辑页面与实际文章宽度一致、屏蔽登录提示
66
// @match *://www.zhihu.com/*
@@ -159,7 +159,8 @@ html[data-theme=dark] .ColumnPageHeader {background: #1c2129 !important;}
159159
/*html[data-theme=dark] .Tabs-link.is-active:after {background: #2196F3 !important;}*/
160160
`,
161161
style_7 = `/* 暗黑模式(方案 2) */
162-
html {filter: invert(0.8) !important;} img {filter: invert(1) !important;}
162+
html {filter: invert(0.8) !important;}
163+
img, .ZVideoItem-video, .ZVideo-video {filter: invert(1) !important;}
163164
`,
164165
style_8 = `/* 暗黑模式(方案 3) */
165166
html {filter: brightness(0.8) !important;}

0 commit comments

Comments
 (0)