11// ==UserScript==
22// @name 知乎美化
3- // @version 1.5.12
3+ // @version 1.5.13
44// @author X.I.U
55// @description 宽屏显示、暗黑模式(4种)、暗黑模式跟随浏览器、屏蔽首页活动广告、隐藏文章开头大图、调整图片最大高度、向下翻时自动隐藏顶栏
66// @match *://www.zhihu.com/*
@@ -220,12 +220,13 @@ html[data-theme=light] .AppHeader-notifications:not([aria-label=通知])>div:fir
220220` ,
221221 style_widescreenDisplayCollection = `/* 宽屏显示 - 收藏页 */
222222.CollectionsDetailPage-mainColumn {width: inherit !important;}
223- .CollectionsDetailPage-mainColumn+div, {display: none !important;}
223+ .CollectionsDetailPage-mainColumn+div {display: none !important;}
224224.CollectionsDetailPage {width: ${ GM_getValue ( 'menu_widescreenDisplayWidth' ) } px;}
225225` ,
226226 style_widescreenDisplayPost = `/* 宽屏显示 - 文章页 */
227227.Post-SideActions {left: calc(10vw) !important;}
228- .Post-NormalMain .Post-Header, .Post-NormalMain>div, .Post-NormalSub>div {width: ${ GM_getValue ( 'menu_widescreenDisplayWidth' ) } px !important;}
228+ .Post-Row-Content-right {display: none !important;}
229+ .Post-Row-Content, .Post-Row-Content-left {width: ${ GM_getValue ( 'menu_widescreenDisplayWidth' ) } px !important;}
229230` ,
230231 style_widescreenDisplayPeople = `/* 宽屏显示 - 用户主页 */
231232.Profile-mainColumn {width: inherit !important;}
@@ -335,7 +336,7 @@ html {scrollbar-width: thin; scrollbar-color: #3f4752 #22272e;}
335336
336337/* 背景颜色 - 专栏/文章 */
337338html[data-theme=dark] .WhiteBg-body, html[data-theme=dark] .Post-content {background: #22272E !important;}
338- html[data-theme=dark] .ColumnPageHeader, html[data-theme=dark] .BottomInfo {background: #1c2129 !important;}
339+ html[data-theme=dark] .ColumnPageHeader, html[data-theme=dark] .BottomInfo, html[data-theme=dark] .Post-Row-Content .Post-Row-Content-left {background: #1c2129 !important;}
339340
340341/* 按钮颜色 */
341342.TopstoryTabs-link.is-active, html[data-theme=dark] .TopstoryTabs-link.is-active, html[data-theme=dark] .VoteButton, .Tag, html[data-theme=dark] .Tag, html[data-theme=dark] .HotListNav-item.is-active, html[data-theme=dark] .RichText a.UserLink-link {color: #3faaff !important;}
@@ -350,6 +351,9 @@ html[data-theme=dark] .Reward-TipjarDialog-amountList .Button--red, html[data-th
350351
351352/* 赞同 */
352353html[data-theme=dark] .VoteButton.is-active {color: #d6edff !important;}
354+
355+ /* 创作中心 - 分析图表 */
356+ html[data-theme=dark] .CreatorSection-body .AnalyticsChart text {fill: #adbac7 !important;}
353357` ,
354358 style_darkMode_1_x = `/* 问题日志页 */
355359html[data-theme=dark] .zu-top {background: #2D333B !important;border: none !important;}
0 commit comments