nga dark clean mode

dark clean mode for bbs.nga.com

目前為 2024-03-27 提交的版本,檢視 最新版本

  1. /* ==UserStyle==
  2. @name nga dark clean mode
  3. @namespace metaphor
  4. @version 1.0.0
  5. @description dark clean mode for bbs.nga.com
  6. @author metaphor
  7. @license MIT
  8. ==/UserStyle== */
  9.  
  10. @-moz-document domain("nga.178.com"), domain("ngabbs.com"), domain("bbs.nga.cn");
  11.  
  12. {
  13. body {
  14. --backGround1: #323232;/* 引用,弹窗底色 */
  15. --backGround2: #282828;/* 评论区交替浅底色 */
  16. --backGround3: #212121;/* 大背景底色 */
  17. --hyperlink: #a9b7c6;
  18. --hyperlink-hover: #b87563;
  19. --font-color: #a6a6a6;
  20. }
  21. html body{
  22. background-color: var(--backGround3) !important;
  23. color: var(--font-color);
  24. }
  25.  
  26. /* 超链接颜色:导航,翻页,用户名 */
  27. .stdbtn a , a{color:var(--hyperlink) !important}
  28. .stdbtn a:hover , a:hover {color:var(--hyperlink-hover) !important}
  29.  
  30. /* 导航栏/翻页:底色、边框 */
  31. .innerbg {background: var(--backGround3) !important;}
  32. .stdbtn {box-shadow: 0 0 15px -3px black !important;}
  33. .stdbtn a {border-color: transparent;background: var(--backGround3) !important;}
  34.  
  35. /* 搜索栏 */
  36. textarea, select, input[type="text"], input:not([type]) {
  37. border: 0px;
  38. box-shadow: 0 0 2px 0 #bbb inset;
  39. background: var(--backGround3);
  40. color:var(--font-color);
  41. }
  42. /* 搜索框 */
  43. .single_ttip2 {border:0px !important;left: 960px !important;box-shadow: 0 0 15px -3px black !important;border-radius: 20px!important;}
  44. .single_ttip2 .div2 {background-color: var(--backGround1) !important;border:0px;border-radius: 10px!important;}
  45.  
  46. /* 更多框 */
  47. .single_ttip2 .tip_title {height:0em; border-bottom: none;}
  48. .single_ttip2 .div2 {background: var(--backGround1);border:none}
  49. .single_ttip2 .div2 .div3 .ltxt .group {border-top: 0px solid transparent !important;}
  50. .block_txt_big {
  51. line-height: 1.6em;
  52. margin: 0.1em;
  53. text-align: left;
  54. padding: 0em 0em 0em 0em !important;
  55. height: 2em !important;
  56. background: var(--backGround1) !important;
  57. display:inline-block;
  58. font-size: 12px;
  59. }
  60. .block_txt_big.title {width: auto !important;float: none !important;}
  61. .block_txt_big.title span{transform: none !important;;}
  62. .single_ttip2 .colored_text_btn{background-color: var(--backGround1) !important;}
  63. .single_ttip2 .group img{display: none !important;}
  64. /* 按钮 */
  65. button {background: var(--font-color);}
  66.  
  67. /* 去除banner图 */
  68. #custombg {margin-bottom: 0px !important;display: none;}
  69. #mainmenu{margin-bottom: 20px !important;}
  70.  
  71.  
  72. /* 板块栏 */
  73. .nav_root, .nav_link, .nav_spr {
  74. border:1px solid transparent;
  75. background:var(--backGround3);
  76. color:var(--hyperlink);
  77. box-shadow: 0 0 15px -3px black;
  78. }
  79. .haveCustomBackground #m_pbtntop .stdbtn {background:transparent;border:0px solid transparent;}
  80. /* 板块卡片 */
  81. #m_pbtnbtm+div,#m_fopts+div{background-color: var(--backGround1) !important;border: 0px solid transparent !important;}
  82.  
  83.  
  84. /* 隐藏边线 */
  85. .forumbox {border-spacing:0px;border-color: transparent !important;}
  86.  
  87. /* 人物栏 回复 */
  88. .forumbox {background-color:var(--backGround1) !important;}
  89. #m_posts {border: 0px;}
  90. .row1 .c1, .row1 .c2, .row1 .c3, .row1 .c4{background-color:var(--backGround2);}
  91. .row2 .c1, .row2 .c2, .row2 .c3, .row2 .c4{background-color:var(--backGround3);}
  92. .c3 div, .c4 div{background-color: #454545 !important;}
  93.  
  94. /* 楼层 */
  95. /* .block_txt_c0 {background: transparent;} */
  96. /* 点赞 */
  97. /* .block_txt_c2 {background: transparent;} */
  98. /* 改动 */
  99. /* .block_txt_c3 {background: transparent;color: #888;} */
  100. /* 拇指 */
  101. /* .white {color:var(--font-color)} */
  102.  
  103. /* 浮动栏 */
  104. .stdbtn {background:transparent;border: 0px;box-shadow: 0 0 15px -3px black;}
  105.  
  106.  
  107. /* 用户栏宽度 */
  108. .forumbox .postrow .c1 {width:17%;}
  109. /* 人物属性:无边框 */
  110. .forumbox .postrow .stat {border:0px solid transparent;margin-top: 0px;}
  111. /* 经验条 */
  112. .r_container {display: none;}
  113. /* 用户栏隐藏头像 */
  114. .postrow .avatar, .msgread .avatar {display: none;}
  115. /* 用户栏昵称优化 */
  116. .block_txt {
  117. min-width: auto !important;
  118. background-color: transparent !important;
  119. color:var(--hyperlink) !important;
  120. padding-left: 0 !important;
  121. padding-right: 0 !important;
  122. }
  123. .small_colored_text_btn{
  124. background-color: transparent !important;
  125. }
  126.  
  127. /* POST阴影 */
  128. #m_posts .forumbox {box-shadow: 0 0 15px -3px black;}
  129. /* 去除POST右上角3个ICON */
  130. /* .small_colored_text_btn , .inlineBlock {display: none !important;} */
  131. /* 去除"改动分割线“ */
  132. .forumbox .postrow .c2 .subtitle {display: none;}
  133. /* 正文图片去边框 */
  134. img {outline: 0px !important;}
  135. /* 正文折叠部分 */
  136. .collapse_btn {width:fit-content;border-top:0px;border-bottom:0px;background: #161616;border-radius: 7px;box-shadow: 0 0 3px 0px #454545}
  137. .collapse_content {width:fit-content;border-bottom: 0px;background: #161616;border-radius: 7px;box-shadow: 0 0 3px 0px #454545;}
  138. /* 正文隐藏签名 */
  139. .sigline , [id ^= "postsign"] {display: none !important;}
  140. /* 正文引用 */
  141. .quote {background:var(--backGround1) !important;border:0px;}
  142. /* 贴条 */
  143. .comment_c_1, .comment_c_2 {border: 0em !important;background:var(--backGround1) !important;}
  144.  
  145. /* 搜索页 */
  146. #toptopics .contentBlock, .catenew .b2, .catenew .b3{background-color: var(--backGround1) !important;}
  147. #sub_forums {background-color: var(--backGround1) !important;border: 1px solid var(--backGround1) !important;}
  148.  
  149. /* 表格 */
  150. table , table td{border-color: #454545 !important;}
  151.  
  152. /* 表情反色 */
  153. .smile_ac {filter:invert(0.5);}
  154. }

QingJ © 2025

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