知乎样式备份
知乎,去你的推荐算法tgb by tgb1021
Details
Authortgb1021
LicenseNo License
Categoryuserstyle
Created
Updated
Size7.6 kB
Statistics
Learn how we calculate statistics in the FAQ.
Failed to fetch stats.
Description
Notes
知乎样式备份
Source code
/* ==UserStyle==
@name F With Zhihu Recommendations 知乎,去你的推荐算法
@version 20211129.18.07
@namespace userstyles.world/user/gembeta000
@description 仅保留知乎搜索功能、看回答功能,其余全部删除。拒绝制造焦虑,拒绝被引导,拒绝陷入争吵。
@author gembeta000
@license No License
==/UserStyle== */
@-moz-document domain("www.zhihu.com"),
domain("sports.163.com"),
domain("www.wandoujia.com"),
domain("www.zhihu.com") {
/*去掉要去掉的各种东西*/
/*主Flow*/
/*主Flow推荐选项卡*/
nav.TopstoryTabs:nth-child(1) {
display: none !important;
}
/*顶栏*/
/*删除推荐选项卡*/
.Tabs {
display: none !important;
}
.GlobalSideBar {
display: none !important;
}
nav.TopstoryTabs:nth-child(2) {
display: none !important;
}
/*侧边栏部分*/
/*创作者卡片*/
.CreatorEntrance {
display: none !important;
}
/*圈子卡片*/
.ClubSliderList {
display: none !important;
}
/*分类入口*/
.GlobalSideBar-category {
display: none !important;
}
/*广告*/
div.Pc-card:nth-child(4) > a:nth-child(1) {
display: none !important;
}
div.Pc-card:nth-child(6) > a:nth-child(1) {
display: none !important;
}
/*更多分类入口*/
.GlobalSideBar > div:nth-child(1) > div:nth-child(1) > div:nth-child(5) {
display: none !important;
}
/*其他信息*/
.Footer, .Modal-content > div {
display: none !important;
}
/*隐藏搜索结果页热搜*/
.TopSearch {
display: none !important;
}
/*主Flow删除*/
.Topstory-mainColumn {
display: none !important;
}
/*去掉结果页相关搜索*/
.RelevantQuery {
display: none !important;
}
/*隐藏首页和搜索结果页提问按钮*/
.TopstoryPageHeader-askButton {
display: none !important;
}
.SearchBar-askButton {
display: none !important;
}
/*搜索框清空*/
.AutoComplete-group {
display: none !important;
}
/*没错,确实是改的颜色*/
input::placeholder {
color: #f6f6f6 !important;
}
/*加宽搜索页结果*/
.SearchMain {
width: 100% !important;
}
/*加宽回答页面*/
.Question-mainColumn {
width: 100% !important;
}
/*清理侧边广告*/
.Question-sideColumn {
display: none !important;
}
/*补充清理广告*/
div.Pc-word:nth-child(4) {
display: none !important;
}
.Modal-content > div{
display: none !important;
}
.css-1wq6v87{
display: none !important;
}
#js_N_NTES_wrap {
display: none;
}
.active.ns-sidebar {
display: none;
}
.bottomnews_box {
display: none;
}
.footerbg {
display: none;
}
.auto.baxia-dialog {
display: none;
}
.baxia-dialog-mask {
display: none;
}
}
@-moz-document domain("zhihu.com") {
/*去掉要去掉的各种东西*/
/*主Flow*/
/*主Flow推荐选项卡*/
nav.TopstoryTabs:nth-child(1) {
display: none !important;
}
/*顶栏*/
/*删除推荐选项卡*/
.Tabs {
display: none !important;
}
.GlobalSideBar {
display: none !important;
}
nav.TopstoryTabs:nth-child(2) {
display: none !important;
}
/*侧边栏部分*/
.css-1qyytj7 {
display: none !important;
}
.css-knqde {
display: none !important;
}
/*创作者卡片*/
.CreatorEntrance {
display: none !important;
}
/*圈子卡片*/
.ClubSliderList {
display: none !important;
}
/*分类入口*/
.GlobalSideBar-category {
display: none !important;
}
/*广告*/
div.Pc-card:nth-child(4) > a:nth-child(1) {
display: none !important;
}
div.Pc-card:nth-child(6) > a:nth-child(1) {
display: none !important;
}
/*更多分类入口*/
.GlobalSideBar > div:nth-child(1) > div:nth-child(1) > div:nth-child(5) {
display: none !important;
}
/*其他信息*/
.Footer {
display: none !important;
}
/*隐藏搜索结果页热搜*/
.TopSearch {
display: none !important;
}
/*主Flow删除*/
.Topstory-mainColumn {
display: none !important;
}
/*去掉结果页相关搜索*/
.RelevantQuery {
display: none !important;
}
/*隐藏首页和搜索结果页提问按钮*/
.TopstoryPageHeader-askButton {
display: none !important;
}
.SearchBar-askButton {
display: none !important;
}
/*搜索框清空*/
.AutoComplete-group {
display: none !important;
}
/*没错,确实是改的颜色*/
input::placeholder {
color: #f5f5f5 !important;
}
.QZcfWkCJoarhIYxlM_sG.is-focus {
background: #f5f5f5 !important;
}
/*加宽搜索页结果*/
.SearchMain {
width: 100% !important;
}
/*加宽回答页面*/
.Question-mainColumn {
width: 100% !important;
}
/*清理侧边广告*/
.Question-sideColumn {
display: none !important;
}
/*补充清理广告*/
div.Pc-word:nth-child(4) {
display: none !important;
}
}
@-moz-document url("https://www.zhihu.com/follow"),
url("https://www.zhihu.com/") {
/*界面美化*/
/*主区域修正*/
header.Sticky {
height: 100vh! important;
}
/*隐藏的分隔结构*/
.css-tfoxxs {
position: unset !important;
flex: unset !important;
}
.css-1xgntgp {
flex: unset !important;
}
/*搜索框调整*/
.css-1u8pbev {
display: none !important;
}
.TopstoryPageHeader-aside {
width: 1000px;
height: 60px;
margin: auto;
left: 0%;
top: 50%;
}
.SimpleSearchBar-wrapper {
margin: auto;
height: 60px;
left: 50%;
top: -25%;
}
.SimpleSearchBar-input {
height: 60px;
font-size: 20px;
}
.SearchBar-tool {
margin: auto;
height: 80px;
left: 50%;
top: -25%;
}
/*知乎logo调整*/
.css-nxq4uo {
margin: auto;
height: 80px;
width: 200px;
position: absolute;
left: 0%;
top: -25%;
bottom: 0;
right: 0;
}
.css-nxq4uo > a:nth-child(1) > svg:nth-child(1) {
width: 170.7px;
height: 80px;
}
}
@-moz-document url("https://www.zhihu.com/follow"),
url("https://www.zhihu.com/") {
/*界面美化*/
/*主区域修正*/
header.Sticky {
height: 100vh! important;
}
/*搜索框调整*/
.TopstoryPageHeader-aside {
width: 700px;
height: 60px;
position: absolute;
left: 0;
top: 0;
bottom: 0;
right: 0;
margin: auto;
}
.SimpleSearchBar-wrapper {
height: 60px;
}
.SimpleSearchBar-input {
height: 55px;
font-size: 20px;
}
/*知乎logo调整*/
.css-nxq4uo {
margin: auto;
height: 80px;
width: 170.7px;
position: absolute;
left: 55%;
top: -25%;
bottom: 0;
right: 0;
}
.css-nxq4uo > a:nth-child(1) > svg:nth-child(1) {
width: 170.7px;
height: 80px;
}
}