知乎 收缩回答框
zhihu collapse 自用 by Hojondo
Details
AuthorHojondo
LicenseNo License
Categoryzhihu
Created
Updated
Size2.3 kB
Statistics
Learn how we calculate statistics in the FAQ.
Failed to fetch stats.
Description
Notes
Userstyle doesn't have notes.Source code
/* ==UserStyle==
@name zhihu 超精简 collapse 自用
@version 20240522.06.52
@namespace https://userstyles.world/user/Hojondo
@description 知乎 收缩回答框
@author Hojondo
@license No License
==/UserStyle== */
@-moz-document domain("zhihu.com") {
.Sticky.AppHeader.is-fixed{
top: -45px !important;
-moz-transition: top 200ms ease-out 500ms;
-webkit-transition: top 200ms ease-out 500ms;
transition: top 200ms ease-out 500ms;
}
.Sticky.AppHeader:hover {
top: 0 !important;
-moz-transition-delay: 0s;
-webkit-transition-delay: 0s;
transition-delay: 0s;
}
@supports ((-webkit-backdrop-filter:blur(20px)) or (backdrop-filter:blur(20px))) {
.Sticky.AppHeader:hover{
-webkit-filter: none;
filter: none
}
}
.GlobalSideBar-categoryList,
.GlobalSideBar-navList,
.Question-sideColumn {
display: none !important;
}
.TopstoryMain,
.Topstory-mainColumn,
.Question-main>div:first-child {
width: 100%;
min-height: 100vh;
}
.Topstory>*:first-child:not(.Topstory-container),
.Topstory-mainColumn>*:first-child:not(.Topstory-mainColumnCard){
display:none;
}
.Topstory-container{
width: unset;
}
.Topstory-container .RichContent-cover,
.Topstory-container .HotItem-img,
.Topstory-container .HotItem-label,
.Topstory-container .TopstoryItem--advertCard{
display: none;
}
.Topstory-container .HotItem-metrics--bottom{
bottom: 0;
}
.Topstory-mainColumn+*{
display: none;
}
.Search-container .SearchMain{
width: 100%;
}
.Search-container .css-knqde{
display: none;
}
.Footer
{
display:none;
}
/* -- */
.Question-mainColumn{
width: 100%;
}
.AppHeader.is-hidden{
display: none;
}
.Reward{
display: none;
}
.AuthorInfo{
max-width: unset;
}
.RichContent-inner{
max-height: 60vh;
overflow-y: auto!important;
/* background: #C7EDCC55; */
background: #eaffee;
}
.RichContent-inner img{
width: 50px!important;
margin-left: 0!important;
}
.RichContent-inner p{
margin: 0.4em 0;
}
.RichContent-inner div:has(> img) + figcaption{
margin-top: 0;
text-align: left;
padding: 0;
}
.RichContent-inner .GifPlayer img{
width: unset;
margin-left: inherit!important;
}
.ztext-empty-paragraph{
display: none;
}
.List-item + .Pc-word{
display: none;
}
}