Skip to content

暗色知乎 by TajangSec

Screenshot of 暗色知乎

Details

AuthorTajangSec

LicenseNo License

Categoryhttps://www.zhihu* https://zhuanlan.zhihu*

Created

Updated

Size15 kB

Statistics

Learn how we calculate statistics in the FAQ.

Failed to fetch stats.

Description

修改了Dark-Zhihu回答里的关键词颜色,展开阅读全文颜色
修改了弹窗评论颜色

Notes

Userstyle doesn't have notes.

Source code

Source code has over 10K characters, so we truncated it. You can inspect the full source code on install link.
/* ==UserStyle==
@name           暗色知乎
@namespace      USO Archive
@author         Tajang
@description    `改的Dark那个,修改了关键词、评论、弹窗评论等颜色`
@version        20210427.16.17
@license        CC0-1.0
@preprocessor   uso
@advanced dropdown hide "隐藏内容(主页)" {
	all "隐藏页脚、按钮*" <<<EOT a.btn-backtotop.btn-action, .CornerButtons, .FeedbackButton-button-3waL {
    display: none !important;
}
.Footer {
    display: none!important;
} EOT;
none "不隐藏" <<<EOT  EOT;
footer "隐藏页脚(右下角的链接)" <<<EOT .Footer {
    display: none!important;
}
 EOT;
button "隐藏按钮(反馈与回到顶部)" <<<EOT a.btn-backtotop.btn-action, .CornerButtons, .FeedbackButton-button-3waL {
    display: none !important;
}
 EOT;

}
@advanced dropdown recommend "隐藏内容(问题)" {
	recommends "隐藏相关推荐*" <<<EOT /*相关推荐*\/
div.Card-header.RelatedCommodities-title,
div.Card-section.RelatedCommodities-list {
    display: none !important;
} EOT;
none "不隐藏" <<<EOT  EOT;

}
@advanced dropdown img "图片明暗变化" {
	pics "开启*" <<<EOT /*图片明暗变化*\/
img {
    opacity: .7 !important;
    transition: opacity .2s
}
img:hover,
a:hover img,
#mpiv-popup {
    opacity: 1 !important
} EOT;
none "关闭" <<<EOT  EOT;

}
@advanced dropdown search "隐藏内容(搜索)" {
	none "显示*" <<<EOT  EOT;
autocomplete "隐藏搜索自动补全" <<<EOT /*搜索自动补全*\/
div.Menu.AutoComplete-menu.SearchBar-menu.SearchBar-noValueMenu,
div.Menu.AutoComplete-menu.SearchBar-menu.SearchBar-hasValueMenu {
    display: none !important;
}
 EOT;

}

==/UserStyle== */
@namespace url(http://www.w3.org/1999/xhtml);

/*
** Copyright    Human
** Author       ASC_8384
** Mail         ASC_8384@foxmail.com
*/
@-moz-document url-prefix("https://www.zhihu"), url-prefix("https://zhuanlan.zhihu") {
.unread,
.highlight,
.Messages-newItem,
.PushNotifications-newItem,
.PushNotifications-followItem:hover,
.Select-option:hover,
.SearchBar-menu,
.SearchBar-label,
.Editable-toolbar,
.Navbar,
.TopstorySideBar-navNumber,
.TopstorySideBar-navLink:hover,
.Menu-dropdown,
.Messages-item:hover,
.PushNotifications-newItem,

.VoteButton,
.LikeButton/* 新版点赞按钮 */
{
	background: #222!important;
	border: 1px solid #3B6092 !important
}
.Button.is-active {
	background: #3B6092 !important
}
.AppHeader-navItem.is-active {
	color: #CCC!important
}
.HomeEntry-box,
.editable {
	border: 1px solid #fff;
}
img[eeimg="1"],
.ColumnEnd-icon {
	filter: invert(100%);
}

/* 公式图反色 */
/* 深蓝底标签 */
.QuestionTopic,
.TopicTag,
.Comments-Packup-Button,
.CommentEditor-singleButton {
	color: #fff!important;
	background: #3B6092!important;
}
.entry-title,
strong,
.HomeEntry-box,
.block-title span,
.editable,
.pagination,
.tabs-anchor,
.ng-scope,
.ng-valid,
.info-content,

/* 针对新版主页 */
.zu-top,
.current .zu-top-nav-link,
.AppHeader,
.Tabs-link,

.Pagination,
.PaginationButton,
.Input-wrapper,
.PushNotifications-content,
.Messages-content,
.Popover-fixedTargetContainer .Menu-item,
.Notifications-footer,
.Messages-footer,
.Modal-inner,
.PageHeader-content,
.ProfileHeader-wrapper,
.HoverCard,
.Menu,
.menu-item,
.NumberBoard-value,
.PushNotifications-item span,
.CommentItem,
.CommentTopbar,
.CommentTopbar-title,
.Select-button,
.Select-list,
.Comments-footer,
.DraftEditor-root,
._CommentForm_root_1-ko,
._InputBox_empty_3_ur,
.AnswerForm-footer,
.QuestionHeader,
.QuestionHeader-footer,
.QuestionHeader-title,
.Modal-title,
.Navbar,
.BlockTitle-title,
.PostIndex-recommendZone::before,
.ProfileHeader-detail,
.Profile-warnText,
.Layout,
.TopstoryHeader-navItem,
.Comments-pattern-loading,
.Topbar,
.AppHeaderProfileMenu-item,
.Field-label,
.Card-card-102t,
.TabNavBar-root-3526,
.LiveItem-title-vgQH,
.RelatedLives-subject,

/* Live */
.title,

/* 文章编辑器 */
.zg-editor-input,

/* 私信 */
.menu-nav a,
.item,
.module-header,
.item-actions,
.items-fulid,
.global-footer,

/* 圆桌 */
.SearchTabs,
.TopSearch-items a,

/* 新版搜索 */
.Post-content,
.Recommendations-Main,
.Sticky,
.Comments,
.BlockTitle,

/* 新版专栏 */
.Input,

/* 后面这些代码不记得是用的谁的了 _(:з」∠)_ */
.zm-editable-toolbar-container,
#zu-distraction-free-editor,
.goog-toolbar,
.modal-dialog-buttons,
body,
.zu-top-search-input,
.zu-top-search-input:focus,
.zu-autocomplete-row-label,
.zm-item-tag,
.zm-comment-list,
.zm-meta-panel,
#header,
.modal-dialog,
.zu-top-search .ac-renderer,
.zm-comment-form,
.up,
.down,
.zm-item-vote-count,
li.tab-nav.active .anchor,
.profile-navbar,
.popover-content,
.upper,
.lower,
.tagline,
.secondary *,
._CommentItem_content_CYqW,
.comment-list,
.ac-renderer *,
.zm-comment-content,
.zm-profile-search-query-input,
.zu-top-nav-userinfo.selected,
#top-nav-profile-dropdown [href],
.zu-top-nav-userinfo,
.zm-comment-editable,
.zm-editable-editor-field-element,
.zm-editable-editor-field-wrap,
.more-awesome span,
.follow-button.zg-follow.zg-btn-green,
.zg-btn.zg-btn-follow.zm-rich-follow-btn.small.nth-0,
#zh-question-operation-menu,
.goog-menu.goog-menu-vertical,
li.tab-nav:nth-child(1) > a:nth-child(1),
a.active,
.zm-side-nav-link:hover {
	background: none #222!important;
	color: #ddd!important;
}
.badge-summary *,
.AuthorInfo-badge,
blockquote {
	color: #aaa!important;
}
.modal-dialog-bg {
	background: rgba(0, 0, 0, .8)!important;
}
.zu-top-nav-live > * {
	background: #222!important;
}
.name,
.zm-item-answer-author-wrap a {
	color: #ff8000!important;
}
.zm-favo-list-item-title,
.ng-binding {
	color: #bbb!important;
}
.zg-btn-white.zu-button-more,
.zu-autocomplete-row-search-link,
.load-more:HOVER,
.lbl,
.zg-form-text-input.add-question-title-form,
#zh-question-suggest-title-content,
.zu-question-suggest-topic-input.label-input-label,
.ac-row {
	background: none#222!important;
	color: #bbb!important;
	border-left-color: #000!important;
	border-right-color: #222!important;
	border-bottom-color: #000!important;
	border-top-color: #000!important;
	margin-top: 0px!important;
}
.up.pressed,
.down.pressed {
	background: none#444!important;
	color: #bbb!important;
}
.zu-top-add-question,
.content-wrap,
.question-title,
.content,
.modal-dialog.absolute-position,
.modal-dialog-title.modal-dialog-title-draggable {
	background: none#222!important;
	color: #bbb!important;
}
.ac-row.ac-active.active {
	background-color: #222!important
}
.zu-autocomplete-row-name,
.zm-ac-link {
	color: white!important
}
.global-header,
.qr {
	visibility: hidden!important;
}
}

@-moz-document url-prefix("https://zhuanlan.zhihu") {
/*
** 专栏
*/
/*专栏阅读时的刘海*/
.ColumnPageHeader-Wrapper {
	background: #222;
}

/*专栏介绍*/
.ColumnHeader {
	background-color: #222;
	color: #dddddd;
}

/*最新文章*/
.Column-ArticleList .SectionTitle {
	color: #dddddd;
	background-color: #222;
}

/*文章简介*/
.Column-ArticleList {
	color: #dddddd;
	background-color: #222;
}

/*简介文字*/
.RichContent-inner {
	color: #838383
}

/*阅读全文*/
.ArticleItem-Excerpt-more {
	color: #98B3CB !important;
}

/*下一篇*/
.NextArticle-Next,
.NextArticle-Title {
	color: #576176;
}

/*专栏名*/
.ColumnPageHeader-TitleColumn {
	color: #DEEBEA;
}

/* 推荐阅读 */
.PostItem,
.PostItem-Title,
.PostItem-Summary {
	color: #ddd!important;
	background: #444!important;
}

/*预览*/
li.ArticleItem {
	background: #282828;
}

/*写文章*/
div.DraftEditor-root {
	background-color: #282828 !important;
}
div.Dropzone {
	background: #222;
	margin-top: 00px !important;
}
div.WriteIndex-pageTitle {
	color: #f2f2f2;
}
label.UploadPicture-wrapper {
	background: #9b9b9b;
}
div.Editable-unstyled span {
	background-color: black !important;
}
.Modal-footer {
	background: #242424 !important;
}
button:hover {
	background-color: #232323 !important;
}
.PublishPanel-popover {
	background-color: #282828 !important;
}

/*新版专栏*/
.Card{
	background-color: #2d2c2c  !important
}
.css-1bnklpv{
	color: #a4a4a4 !important;
}
.ContentItem-title{
	color: #a4a4a4 !important
}
}

@-moz-document url-prefix("https://www.zhihu") {
/*
** 主页
*/
/*页脚*/
/*
.Footer {
    display: none!important;
}
*/
/*相关推荐*/
/*
div.Card-header.RelatedCommodities-title,
div.Card-section.RelatedCommodities-list {
    display: none !important;
}
*/
/*收藏、问题、邀请的高亮*/
.GlobalSideBar-navNumber {
	background: #222;
}

/*更多回答的底色高亮*/
.MoreAnswers .List-headerText {
	background: #222;
}

/*话题底色*/
.Topic-bar {
	background-color: #222;
}

/*话题广场*/
div.topics-plaza {
	background: #222;
}

/*邀请回答问题底色*/
.Notification-white {
	color: #ddd;
	background: #444444;
}

/*消息提醒*/
.PushNotifications-item {
	color: #ccc;
}

/*委托刘看山邀请*/
.AutoInviteItem-wrapper--desktop {
	background: #212121;
}
h2.ContentItem-title {
	color: #ccc;
}

/*反对*/
.VoteDownReasonMenu-container {
	background: black;
}
.VoteDownReasonMenu-reason {
	background: #292929
}

/*右下角那啥玩意儿, 收藏、问题、邀请鼠标滑动底色*/
.GlobalSideBar-navLink:hover,
.GlobalSideBar-navNumber {
	background: #333 !important;
}

/*因作者设置,评论已关闭*/
.Comments-disabledText {
	background: #333;
}

/*阅读全文,显示全部*/
.ContentItem-more,
a.toggle-expand {
	color: #98B3CB;
}

/*话题,小框框*/
.Tag-content {
	color: #aaaaaa
}

/*问题标题*/
h2.zm-item-title a,
h2.ContentItem-title a {
	color: #D5CDCD !important;
}

/*首页头部上的提问、想法、文章,右侧的一列东西*/
.TopstoryHeader,
div.Card {
	background: #222;
}

/*搜索结果显示*/
div.RichText.ztext.SearchItem-meta.Highlight,
span.RichText.ztext.CopyrightRichText-richText {
	color: #DDD !important;
}

/*消息提醒*/
.PushNotifications-item a {
	color: #659FE7 !important;
}

/*热榜*/
section.HotItem {
	background: #333 !important;
}
h2.HotItem-title {
	color: #d5cdcd !important;
}
.HotItem-excerpt {
	color: #BFBEBE !important;
}

/*想法鼓掌*/
button.Button.ReactionButton.ContentItem-action {
	background: #282828 !important;
	border: 1px solid #3B6092 !important;
}

/*相关报道*/
.QuestionRelatedCard {
	background-color: #262626;
}
.QuestionRelatedCard-con...

Reviews

No reviews yet.