|
1 | 1 | // ==UserScript== |
2 | 2 | // @name 知乎美化 |
3 | | -// @version 1.1.10 |
| 3 | +// @version 1.1.11 |
4 | 4 | // @author X.I.U |
5 | 5 | // @description 宽屏显示、暗黑模式(4种)、隐藏文章开头大图、调整图片最大高度、向下翻时自动隐藏顶栏、文章编辑页面与实际文章宽度一致、屏蔽登录提示 |
6 | 6 | // @match *://www.zhihu.com/* |
@@ -142,22 +142,28 @@ header.is-hidden { |
142 | 142 | `, |
143 | 143 | style_6 = `/* 暗黑模式(方案 1) */ |
144 | 144 | /* 文字颜色 */ |
145 | | -html[data-theme=dark] body {color: #bbb !important;} |
146 | | -html[data-theme=dark] .ContentItem-title, html[data-theme=dark] .QuestionHeader-title {color: #ccc !important;} |
| 145 | +html[data-theme=dark] body, html[data-theme=dark] .ContentItem-title, html[data-theme=dark] .QuestionHeader-title, html[data-theme=dark] .Tabs-link, html[data-theme=dark] .CreatorEntrance-title {color: #d1d5d9 !important;} |
| 146 | +
|
147 | 147 | /* 背景颜色 - 网页 */ |
148 | 148 | html[data-theme=dark] body {background: #22272E !important;} |
149 | 149 | /* 背景颜色 - 问题 */ |
150 | 150 | html[data-theme=dark] .AppHeader, html[data-theme=dark] .QuestionHeader, html[data-theme=dark] .QuestionHeader-footer, html[data-theme=dark] .Input-wrapper.Input-wrapper--grey, html[data-theme=dark] .EmoticonsFooter-item--selected, html[data-theme=dark] .Card, html[data-theme=dark] .ContentItem-actions, html[data-theme=dark] .MoreAnswers .List-headerText, html[data-theme=dark] .CommentsV2-withPagination, html[data-theme=dark] .Topbar, html[data-theme=dark] .CommentsV2-footer, html[data-theme=dark] .CommentEditorV2-inputWrap--active, html[data-theme=dark] .InputLike, html[data-theme=dark] .Popover-content, html[data-theme=dark] .Notifications-footer, html[data-theme=dark] .Messages-footer, html[data-theme=dark] .Modal-inner, html[data-theme=dark] .Emoticons, html[data-theme=dark] .EmoticonsFooter, html[data-theme=dark] .SearchTabs {background: #2D333B !important;} |
151 | 151 | html[data-theme=dark] .CommentListV2-header-divider, html[data-theme=dark] .CommentsV2-openComment-divider {background-color: #222933 !important;} |
152 | 152 | /* 背景颜色 - 用户页面 */ |
153 | 153 | html[data-theme=dark] .ProfileHeader-wrapper, html[data-theme=dark] .UserCover {background: #1c2129 !important;} |
154 | | -/* 背景颜色 - 用户页面 - 封面大图/文章头部大图 */ |
155 | | -html[data-theme=dark] img.UserCover-image, html[data-theme=dark] img.TitleImage {opacity: 0.7;} |
| 154 | +
|
| 155 | +/* 封面大图/文章头部大图 */ |
| 156 | +html[data-theme=dark] img.UserCover-image, html[data-theme=dark] img.TitleImage {opacity: 0.8 !important;} |
| 157 | +/* 其他图片 */ |
| 158 | +html[data-theme=dark] img {opacity: 0.9 !important;} |
| 159 | +
|
156 | 160 | /* 边框 */ |
157 | 161 | html[data-theme=dark] .Topbar, html[data-theme=dark] .CommentsV2-footer, html[data-theme=dark] .Topstory-mainColumnCard .Card:not(.Topstory-tabCard), html[data-theme=dark] .NestComment:not(:last-child):after, html[data-theme=dark] .NestComment--rootComment:after, html[data-theme=dark] .NestComment .NestComment--child:after, html[data-theme=dark] .NestComment .NestComment--child:after, html[data-theme=dark] .CommentsV2-replyNum, html[data-theme=dark] .CommentItemV2:not(:first-child):after, html[data-theme=dark] .Tabs {border-bottom: 1px solid #282d35 !important;} |
| 162 | +
|
158 | 163 | /* 背景颜色 - 专栏/文章 */ |
159 | 164 | html[data-theme=dark] .WhiteBg-body, html[data-theme=dark] .Post-content {background: #22272E !important;} |
160 | 165 | html[data-theme=dark] .ColumnPageHeader {background: #1c2129 !important;} |
| 166 | +
|
161 | 167 | /* 按钮颜色(蓝色) */ |
162 | 168 | .TopstoryTabs-link.is-active, html[data-theme=dark] .TopstoryTabs-link.is-active, html[data-theme=dark] .VoteButton, .Tag, html[data-theme=dark] .Tag {color: #3faaff !important;} |
163 | 169 | /*html[data-theme=dark] .Tabs-link.is-active:after {background: #2196F3 !important;}*/ |
|
0 commit comments