知乎样式:信息密集型

信息流更宽,更扁。减少了不必要的空隙,减小图片

目前為 2019-12-13 提交的版本,檢視 最新版本

// ==UserScript==
// @name         知乎样式:信息密集型
// @version      0.02
// @description  信息流更宽,更扁。减少了不必要的空隙,减小图片
// @author       wanglu
// @include       /https?\:\/\/www\.zhihu\.com/
// @namespace https://gf.qytechs.cn/users/416853
// ==/UserScript==

var styles = `
    /* for main page */
    .TopstoryItem--advertCard{
    	display:none;
    }
    .Pc-card{
    	display:none;
    }
    .Footer{
    	display:none;
    }
    .StoryCompetitionBanner{
    	display:none;
    }
    
    .Topstory-container{
    	width:1200px;
    }
    .Topstory-mainColumn{
    	width: 900px;
    }
    .RichContent-cover{
    	height:70px;
    }
    .ContentItem-actions{
    	padding: 5px 20px;
    }
    .TopstoryItem-isRecommend{
    	padding: 10px 20px; 
    }
    .VoteButton{
    	background-color: rgb(255, 255, 255);
    }
    
    /* for question page */
    .RelatedCommodities-list{
	display:none;
    }
    .RelatedCommodities-title{
    	display:none;
    }
    .Card-header{
    	width:296px;
    }
    .Question-main{
    	width:1200px;
    } 
    .Question-mainColumn{
    	width:1000px;
    } 
    .RichContent img {
    	height:250px;
    	width:auto;
    }
`



var styleSheet = document.createElement("style")
styleSheet.type = "text/css"
styleSheet.innerText = styles
document.head.appendChild(styleSheet)

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址