知乎样式:信息密集型

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

目前为 2019-12-13 提交的版本。查看 最新版本

  1. // ==UserScript==
  2. // @name 知乎样式:信息密集型
  3. // @version 0.02
  4. // @description 信息流更宽,更扁。减少了不必要的空隙,减小图片
  5. // @author wanglu
  6. // @include /https?\:\/\/www\.zhihu\.com/
  7. // @namespace https://gf.qytechs.cn/users/416853
  8. // ==/UserScript==
  9.  
  10. var styles = `
  11. /* for main page */
  12. .TopstoryItem--advertCard{
  13. display:none;
  14. }
  15. .Pc-card{
  16. display:none;
  17. }
  18. .Footer{
  19. display:none;
  20. }
  21. .StoryCompetitionBanner{
  22. display:none;
  23. }
  24. .Topstory-container{
  25. width:1200px;
  26. }
  27. .Topstory-mainColumn{
  28. width: 900px;
  29. }
  30. .RichContent-cover{
  31. height:70px;
  32. }
  33. .ContentItem-actions{
  34. padding: 5px 20px;
  35. }
  36. .TopstoryItem-isRecommend{
  37. padding: 10px 20px;
  38. }
  39. .VoteButton{
  40. background-color: rgb(255, 255, 255);
  41. }
  42. /* for question page */
  43. .RelatedCommodities-list{
  44. display:none;
  45. }
  46. .RelatedCommodities-title{
  47. display:none;
  48. }
  49. .Card-header{
  50. width:296px;
  51. }
  52. .Question-main{
  53. width:1200px;
  54. }
  55. .Question-mainColumn{
  56. width:1000px;
  57. }
  58. .RichContent img {
  59. height:250px;
  60. width:auto;
  61. }
  62. `
  63.  
  64.  
  65.  
  66. var styleSheet = document.createElement("style")
  67. styleSheet.type = "text/css"
  68. styleSheet.innerText = styles
  69. document.head.appendChild(styleSheet)

QingJ © 2025

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