Geek Hack Nord Theme

A simple Nord theme for GeekHack

您需要先安裝使用者腳本管理器擴展,如 TampermonkeyGreasemonkeyViolentmonkey 之後才能安裝該腳本。

You will need to install an extension such as Tampermonkey to install this script.

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyViolentmonkey 後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyUserscripts 後才能安裝該腳本。

你需要先安裝一款使用者腳本管理器擴展,比如 Tampermonkey,才能安裝此腳本

您需要先安裝使用者腳本管理器擴充功能後才能安裝該腳本。

(我已經安裝了使用者腳本管理器,讓我安裝!)

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

(我已經安裝了使用者樣式管理器,讓我安裝!)

// ==UserScript==
// @name         Geek Hack Nord Theme
// @namespace    https://github.com/crispgm
// @version      1.0.0
// @description  A simple Nord theme for GeekHack
// @author       David Zhang
// @match        https://geekhack.org/*
// @grant        GM_addStyle
// ==/UserScript==

(function() {
    'use strict';

    GM_addStyle ( `
body{
  font-family: -apple-system, BlinkMacSystemFont, Roboto, "Segoe UI", sans-serif;
  background-color: #3B4252;
  width: 60%;
  margin: 0 auto;
}
a:link, a:visited {color: #A3BE8C;}
#header {display: none;}
#content_section {background: none;}
#content_section div.frame {background: none;}
#footer_section {background: none;}
#footer_section div.frame {background: none;}
#topic_icons {display: none;}
.plainbox {background: none;}
.whos_viewing {display: none;}
#whoisviewing {display: none;}
.moderatorbar {display: none;}
.navigate_section {padding: .5em .2em;}
.navigate_section ul {border-top: 0;}
.table_grid thead {display: none;}
blockquote.bbc_standard_quote {background-color: #3B4252;}
.windowbg {color: #4C566A; background-color: #ECEFF4;}
.windowbg2 {color: #4C566A; background-color: #ECEFF4;}
.windowbg3 {color: #B48EAD; background-color: #ECEFF4;}
.subject a:link {color: #4C566A; font-weight: bold;}
.subject a:visited {color: #4C566A; font-weight: bold;}
.subject p a:link {color: #A3BE8C;}
.subject p a:visited {color: #A3BE8C;}
.stickybg a:link {color: #D8DEE9; font-weight: bold;}
.stickybg a:visited {color: #D8DEE9; font-weight: bold;}
td.icon1 {display: none;}
td.icon2 {display: none;}
td.subject {width: 75%;}
td.stats {width: 8%;}
td.lastpost {width: 17%;}
.lastpost img {display: none;}
.windowbg span.topslice {background: none;}
.windowbg span.topslice span {background: none;}
.windowbg span.botslice {background: none;}
.windowbg span.botslice span {background: none;}
.windowbg2 span.topslice {background: none;}
.windowbg2 span.topslice span {background: none;}
.windowbg2 span.botslice {background: none;}
.windowbg2 span.botslice span {background: none;}
h3.catbg {color: #D8DEE9;}
.catbg img {display: none;}
` );
})();