FK CSDN

对CSDN的文章布局优化

  1. /* ==UserStyle==
  2. @name FK CSDN
  3. @namespace joyhooian.styles
  4. @version 0.4
  5. @description 对CSDN的文章布局优化
  6. @author joyhooian
  7. @match https://blog.csdn.net/.+/article/details/.+
  8. @grant none
  9. @license MIT
  10. ==/UserStyle== */
  11.  
  12. @-moz-document regexp("https://blog.csdn.net/.*/article/details/.*") {
  13. * {
  14. user-select: auto !important;
  15. }
  16.  
  17. aside {
  18. display: none;
  19. }
  20.  
  21. #mainBox {
  22. display: flex;
  23. justify-content: center;
  24. }
  25.  
  26. .toolbar-inside {
  27. display: none;
  28. }
  29.  
  30. body {
  31. min-width: unset;
  32. }
  33.  
  34. @media screen and (max-width: 1320px) {
  35. .nodata .container main {
  36. width: 95vw;
  37. }
  38. }
  39.  
  40. @media screen and (min-width: 1550px) {
  41. .nodata .container {
  42. margin-right: 0px;
  43. }
  44. }
  45.  
  46. .article-type-img {
  47. display: none;
  48. }
  49.  
  50. .blog-tags-box {
  51. display: none!important;
  52. }
  53.  
  54. .article-time-img {
  55. display: none!important;
  56. }
  57.  
  58. .article-read-img {
  59. display: none!important;
  60. }
  61.  
  62. .read-count {
  63. display: none;
  64. }
  65.  
  66. #blog_detail_zk_collection {
  67. display: none!important;
  68. }
  69.  
  70. div .operating {
  71. display: none;
  72. }
  73.  
  74. .article-bar-top {
  75. display: flex;
  76. width: 100%!important;
  77. }
  78.  
  79. .bar-content {
  80. width: 100%!important;
  81. padding-right: 12px!important;
  82. }
  83.  
  84. .up-time {
  85. display: none!important;
  86. }
  87.  
  88. #blogHuaweiyunAdvert {
  89. display: none;
  90. }
  91.  
  92. #blogColumnPayAdvert {
  93. display: none;
  94. }
  95.  
  96. pre.set-code-hide {
  97. height: unset!important;
  98. overflow-y: unset!important;
  99. }
  100.  
  101. pre {
  102. margin: 0 0!important;
  103. }
  104.  
  105. .hide-preCode-box {
  106. display: none;
  107. }
  108.  
  109. .hljs-button {
  110. display: none!important;
  111. }
  112.  
  113. #treeSkill {
  114. display: none!important;
  115. }
  116.  
  117. #toolBarBox {
  118. display: none;
  119. }
  120.  
  121. .recommend-box {
  122. display: none!important;
  123. }
  124.  
  125. #pcCommentBox {
  126. display: none!important;
  127. }
  128.  
  129. .blog-footer-bottom {
  130. display: none;
  131. }
  132.  
  133. .template-box {
  134. display: none;
  135. }
  136.  
  137. #rightAside {
  138. display: none!important;
  139. }
  140.  
  141. .csdn-side-toolbar {
  142. display: none!important;
  143. }
  144.  
  145. body {
  146. background: unset;
  147. background-color: black;
  148. background-image: unset!important;
  149. }
  150.  
  151. .container {
  152. margin-left: unset!important;
  153. }
  154.  
  155. #recommendNps {
  156. display: none!important;
  157. }
  158. }

QingJ © 2025

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