NGA DARK MODE

nga 夜间模式

目前为 2022-02-22 提交的版本。查看 最新版本

// ==UserScript==
// @name         NGA DARK MODE
// @namespace    http://tampermonkey.net/
// @version      0.1
// @author       Metaphor
// @description  nga 夜间模式
// @match        *://bbs.nga.cn/*
// @license      MIT
// @match        *://ngabbs.com/*
// @match        *://nga.178.com/*
// @icon         data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==
// @grant        GM_addStyle
// ==/UserScript==

(function() {
    GM_addStyle(
        `
 html body{
  background-color: #212121;
  color: #a6a6a6;
}
  /* 导航栏 */
.innerbg {
  background: #212121 !important;
}
.mmdefault {color:#a9b7c6}
.mmdefault:hover {color:#b87563}

/* 去除底图 */
#custombg {
  margin-bottom: 0px !important;
  display: none;
}
#mainmenu{
  margin-bottom: 20px !important;
}

/* 超链接 */
a {text-decoration:none;color:#a9b7c6}
a:hover {text-decoration:underline;color:#b87563;}
/* 翻页/字色 */
.uitxt1 {color:#a9b7c6}
.uitxt1:hover {color:#b87563}
.stdbtn {
  box-shadow: 0 0 15px -3px #000 !important;
}
.stdbtn a {
  border-color: #0000;
  background: #212121 !important;
}

/* 板块卡片 */
.nav_root, .nav_link, .nav_spr {
  border:1px solid #0000;
  background:#212121;
  color:#a9b7c6;
  box-shadow: 0 0 15px -3px #000;
}
  
  
.haveCustomBackground #m_pbtntop .stdbtn {
  background:#0000;
  border:1px solid #0000;
}

/* 人物属性:无边框 */
.forumbox .postrow .stat {
  line-height:22px;
  padding:1px 3px;
  margin:2px auto;
  border:0px solid #fff0;
  text-align:left;
  color:#555
}
/* 经验条 */ 
.r_container {
  display: none;
}

/* 隐藏边线 */
.forumbox {border-spacing:0px;border-color: #0000!important;}

/* 人物栏 回复 */
.catenew, .cateblock, .forumbox {background-color:#303030;}
#m_posts {border: 0px;}
.row1c1, .row1 .c1 {background-color:#282828}
.row1c2, .row1 .c2 {background-color:#282828}
.row2c1, .row2 .c1 {background-color:#212121}
.row2c2, .row2 .c2 {background-color:#212121}

/* 楼层 */
.block_txt_c0 {
  background: #fff0;
}
/* 点赞 */
.block_txt_c2 {
  background: #fff0;
}
/* 改动 */
.block_txt_c3 {
  background: #fff0;
  color: #888;
}
/* 拇指 */
.white {color:#a6a6a6}



textarea, select, input[type="text"], input:not([type]) {
  border: 0px;
  box-shadow: 0 0 2px 0 #bbb inset;
  background: #212121;
  color:#a6a6a6;
}
/* 发表回复,去边框 */
.stdbtn {
  background:#21972e00;
  border: 0px;
  box-shadow: 0 0 15px -3px #000;
}


/* 用户栏宽度 */
.forumbox .postrow .c1 {width:15%;}
/* 用户栏隐藏头像 */
.postrow .avatar, .msgread .avatar {
  display: none;
}
/* 用户栏昵称优化 */
.block_txt {
  font-weight: bold !important;
  min-width: auto !important;
  background-color: #0000 !important;
  color:#a9b7c6 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}
.small_colored_text_btn{
  background-color: #0000 !important;
}

/* 正文区阴影 */
#m_posts .forumbox {
  box-shadow: 0 0 15px -3px #000;
}

/* 去除"改动分割线“ */
.forumbox .postrow .c2 .subtitle {
  display: none;
}

/* 正文图片去边框 */
img {
  outline: 0px !important;
}

/* 正文折叠部分 */
.collapse_btn {width:fit-content;border-top:0px;border-bottom:0px;background: #161616;}
.collapse_btn button {line-height:1.2em;padding:0px 0.2em}
button {background: #a6a6a6;}
.collapse_content {
  width:fit-content;
  background: #161616;
  box-shadow: 0 0 15px -3px #000;
  border-bottom: 0px solid #a9b7c6;
}

/* 正文隐藏签名 */
.sigline {
  display: none !important;;
}
[id ^= "postsign"] {
  display: none;
}


/* 正文引用 */
.quote {background:#323232;border:0px;}
        `
    )
})();