KSH - Dark Theme Forum

Darker for easier reading!

您需要先安装一个扩展,例如 篡改猴Greasemonkey暴力猴,之后才能安装此脚本。

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

您需要先安装一个扩展,例如 篡改猴暴力猴,之后才能安装此脚本。

您需要先安装一个扩展,例如 篡改猴Userscripts ,之后才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。

您需要先安装用户脚本管理器扩展后才能安装此脚本。

(我已经安装了用户脚本管理器,让我安装!)

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

(我已经安装了用户样式管理器,让我安装!)

// ==UserScript==
// @name  KSH - Dark Theme Forum
// @namespace  no comments
// @author  Vincent Nacon
// @description Darker for easier reading!
// @include  http://forums.keenswh.com/*
// @include  http://forum.keenswh.com/*
// @version  1
// @grant  none
// ==/UserScript==
(function() {var css = [
   "body {    background: url(http://i.imgur.com/UFKDLNA.jpg) no-repeat rgb(33, 33, 33);    color: #EBEBEB;    font: 14px verdana, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif; } #content .pageWidth { background-color: rgb(51, 51, 51); } #content .pageContent { border-color: rgb(51,51,51); } .breadcrumb { background-image: none;  border-right: 1px solid rgb(33, 33, 33); border-left: 1px solid rgb(33, 33, 33); } .breadBoxTop, .breadBoxBottom { background-color: rgb(33, 33, 33); } #content .pageContent {    background-image: none; } .breadBoxTop {  border-top: 5px solid rgb(51, 51, 51); } .textCtrl { background-color: rgb(111, 111, 111); color: rgb(33, 33, 33); border: 1px solid rgb(33, 33, 33); } .textCtrl:focus, .textCtrl.Focus {  background: none repeat-x scroll 0% 0% rgb(111, 111, 111);    color: rgb(255, 255, 255); } .secondaryContent {    background-image: none;  background-color: rgb(33,33,33); } .sidebar .section .secondaryContent {  border: 0px solid rgb(211, 111, 111);  border-radius:5px; } .tglAllSidebar {  margin-left: auto;     border: 0px;     font-size: 150% } .breadcrumb .jumpMenuTrigger {     filter: invert(100%);    -webkit-filter: invert(100%); } .breadcrumb .crust a.crumb { background-color: rgb(13,13,13); } .breadcrumb .crust:last-child a.crumb { background-color: rgb(20,20,20);    } .breadcrumb .crust .arrow {    border-color: transparent rgb(0, 0, 0) transparent rgb(20,20,20); } .breadcrumb .crust .arrow span {  border-color: transparent rgb(0, 0, 0) transparent rgb(13, 13, 13); } .breadcrumb .crust:last-child .arrow span {  border-left-color: rgb(20,20,20) !important; } #header_bar {    height:35px;    } .navTabs .navTab.selected .tabLinks {    height: 26px;    } .PanelScroller .panel, .PanelScrollerOff .panel {    background: none rgb(88, 111, 111);    border: 10px solid rgb(140, 168, 168);     } a:link, a:visited {  color: rgb(168, 168,168); } .nodeList .categoryStrip .categoryText {  height: 48px;  background: url(http://i.imgur.com/UFKDLNA.jpg) -250px -275px no-repeat rgb(185, 9, 9) ;     box-shadow: 0px -2px 4px rgb(33,33,33) inset; } .nodeList .categoryStrip .nodeTitle a {  color: rgb(255, 255, 255);     } .tglSidebar.pcss { box-shadow: none;    border: none;    margin-right: 3px;    margin-top: 3px;    font-weight: bold;    font-size: 150% } .toggle_me.tglWchild.pcss, .toggle_me.tglNOchild.pcss {    box-shadow: none;    border: none;    color: rgb(255,255,255);    margin-right: 11px;    margin-top: 7px;    font-weight: bold;    font-size: 150% } .nodeList .CategoryStripCollapsed {  font-size: 11px;  color: rgb(251, 51, 51);  background: none rgb(33, 33, 33);  padding: 5px 10px;  margin: 0px;  border-top: 2px solid rgb(111, 111, 111);  border-bottom: 2px solid rgb(111, 111, 111);  border-radius: 5px;  min-height: 6px;     box-shadow: 10px 10px 12px rgb(33,33,33); } .nodeList .CategoryStripCollapsed .nodeTitle a {  color: rgb(168, 51, 51); } .nodeList .CategoryStripCollapsed .nodeDescription {  color: rgb(111, 33, 33); } .nodeList .categoryStrip .nodeDescription {  font-size: 11px;  color: rgb(168,168,168);     text-shadow: 1px 1px rgb(0, 0, 0); } .avatar img, .avatar .img, .avatarCropper {  background-color: rgb(33, 33, 33);  padding: 3px;  border: none;  border-radius: 4px; } .nodeList .categoryForumNodeInfo, .nodeList .forumNodeInfo, .nodeList .pageNodeInfo, .nodeList .linkNodeInfo {  background: none rgb(33,33,33);    border: none; } .nodeList .categoryStrip {    border-bottom: none;    } .node .nodeLastPost {  background-image: none;    border: none;    color: rgb(255,255,255); }  .xenOverlay > .section, .xenOverlay > .sectionMain {  background: none rgb(33, 33, 33); } .primaryContent {    background: none rgb(51,51,51);    border: none; } #AccountMenu .secondaryContent, #ConversationsMenu .secondaryContent, #AlertsMenu .alertsPopup .secondaryContent {    background: none rgb(33,33,33);    border: none;    border-style: soild none none; } .Menu {    border-color: rgb(51,51,51);    background-color: rgb(51, 51, 51); } .sectionFooter {    background: none rgb(33,33,33);    border: none; } .footer .pageContent {    background: none rgb(51,51,51);    border: none; } .secondaryContentCollapsed {  background: none rgb(33, 33, 33);    border: none; } .secondaryContentCollapsed h3 {  font-size: 12pt;  color: rgb(168, 168, 168);    border-color: rgb(111,111,111); } .secondaryContentCollapsed h3 a:link, .secondaryContentCollapsed h3 a:visited {  color: rgb(168, 168, 168); } .tabLinks {  background: none rgb(150, 0, 0); } .discussionList .sectionHeaders {    background: none rgb(150,0,0); } .discussionList .sectionHeaders a {  color: rgb(255,255,255); } .PageNav a:hover, .PageNav a:focus {  color: rgb(0,0,0);  text-decoration: none;  background-color: rgb(111,111,111);  border: none; } .PageNav a {  color: rgb(168,168,168);  text-decoration: none;  background-color: rgb(33,33,33);  border: none;  border-radius: 3px;  text-align: center;  width: 19px; } a.callToAction {  padding: 0px;  border: none; } a.callToAction span {  font-weight: bold;  font-size: 11px;  color: rgb(255, 255, 255);  background: none rgb(150,0,0);  padding: 0px 15px;  border: none;     border-radius: none;  display: block; } a.callToAction:hover span {  background-color: rgb(132, 132, 132); } .nodeList .tglNodelist_forumview span.toggleME_Expand {  font-size: 9pt;  color: rgb(255, 255, 255);  background-color: rgb(150,0,0);  padding: 3px 30px;  border: none;  border-radius: 5px;  box-shadow: none; } .nodeList .tglNodelist_forumview span.toggleME_Collapse {  font-size: 9pt;  color: rgb(255, 255, 255);  background-color: rgb(86, 87, 90);  padding: 2px 30px;  border: none;  border-radius: 5px;  box-shadow: none; } .discussionListItem .posterAvatar, .discussionListItem .stats, .discussionListItem.visible, .discussionListItem .lastPost {  background: none rgb(33,33,33); } .discussionListItem.sticky .main {  background: none;  background: linear-gradient(to right,rgb(150,0,0),rgb(33,33,33),rgb(33,33,33),rgb(33,33,33)); }    .discussionListItem.sticky .avatarContainer {  background: none rgb(150,0,0); }    .discussionListItem.sticky .title a {  color: rgb(255, 255, 255);      text-shadow: none; } .discussionListItem .title a {  color: rgb(168,168,168);      text-shadow: none; } .discussionListItem {  border-bottom: 1px solid rgb(44,44,44); }    .discussionList .sectionHeaders {    border: none;    padding: 5px 0px }    .DiscussionListOptions {    border: none;    } .button {    color: rgb(168,168,168);    font-weight: bold; } .button, .button.primary{    padding: none;    box-shadow: none;    border: none;    background: none rgb(33,33,33);    text-shadow: none; } .button:hover{    padding: none;    box-shadow: none;    border: none;    background: none rgb(150,0,0);    text-shadow: none; } #DiscussionListOptionsHandle a {    border: none;    background: none rgb(31,31,31); } .messageUserBlock div.avatarHolder {  background-color: rgb(33, 33, 33);    border-color: rgb(33,33,33) ; } .messageUserBlock {  background-color: rgb(150, 0, 0);    border: none; } .messageUserBlock h3.userText {    background: none;    } .messageUserBlock .extraUserInfo {    background: none rgb(33,33,33); } .messageUserBlock .arrow span, .messageUserBlock .arrow {    border-color: none;    -moz-border-left-colors: rgb(33,33,33); } .messageList .message {    border-top: 1px solid rgb(217, 215, 215);    padding-bottom: 10px;  padding-top: 10px; } .bbCodeQuote .attribution {  color: rgb(255, 255, 255);  background: none rgb(33,33,33);  border-color: rgb(51,51,51); } .bbCodeBlock {  margin: 10px 0px;  border: 4px solid rgb(33, 33, 33);  border-radius: 15px;    padding: 5px 5px 5px 5px;    background: none rgb(33,33,33); } .message .likesSummary {  background: none rgb(33, 33, 33);  padding: 5px 5px 5px 10px;  margin-top: 10px;  border:none;  border-radius: 5px; } .redactor_box {  border: 3px solid rgb(33, 33, 33);     color: rgb(255,255,255);    background: none rgb(168,168,168) } .redactor_toolbar {  font-size: 0px;  background: none rgb(33, 33, 33);    border: none;    padding: 2px 2px 5px 2px; } .redactor_toolbar li.redactor_btn_group ul {  background: none rgb(51, 51, 51);     overflow: hidden;  box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.5);  border-radius: 3px;     border: 1px solid rgb(0, 0, 0); }  html .redactor_toolbar li a, html .redactor_toolbar li a:hover, html .redactor_toolbar li a:active, html .redactor_toolbar li a.redactor_act {  filter: invert(100%);     -webkit-filter: invert(100%); } .messageList .newMessagesNotice {  margin: 10px auto;  padding: 5px 10px;  border-radius: 5px;  border: none;  background: none rgb(150, 0, 0);  font-size: 13px;     font-weight: bold; } textarea.textCtrl:focus {  background:none rgb(33,33,33);  border: none; } .xenOverlay .formOverlay {  background: none rgb(71,71,71);  color: rgb(168,168,168); } .xenOverlay .formOverlay .heading {  background: none rgb(150,0,0);  border: none; } .xenForm fieldset + .ctrlUnit, .xenForm .formGroup + .ctrlUnit, .xenForm .submitUnit {  border: none; } .xenOverlay .formOverlay a.button {  color: rgb(111,111,111); } .xenForm .ctrlUnit > dd .textCtrl,.xenOverlay .formOverlay .textCtrl:focus, .xenOverlay .formOverlay .textCtrl.Focus{  background:none rgb(168,168,168); } .xenOverlay .section h2 {  background:none rgb(150,0,0);  border:none; } .subHeading {  background:none rgb(51,51,51);  color: rgb(168,168,168); } .avatarCropper a, .avatarCropper span, .avatarCropper label {  background: none rgb(33,33,33); } .tabs li a, .tabs.noLinks li {  background: none rgb(33,33,33);  color: rgb(168,168,168);  border: none;  margin-right: 3px; } .tabs li:hover a, .tabs.noLinks li:hover {  background: none rgb(150,0,0);  color: rgb(255,255,255);  border: none;  margin-right: 3px; } .tabs li.active a, .tabs.noLinks li.active {  background: none rgb(168,168,168);  color: rgb(255,255,255);  border: none;  margin-right: 3px; } .tabs {  border:none;  margin-bottom: -10px; } .memberListItem {  background: none rgb(33,33,33);  margin-bottom: 2px; } .mainContentBlock {  background: none rgb(33,33,33);  border: none; } .navigationSideBar .heading {  background: none rgb(150,0,0);  border:none; } .navigationSideBar a:hover {  background: none rgb(111, 111, 111);  color: rgb(255,255,255); } .navigationSideBar a {  background: none rgb(51, 51, 51);  color: rgb(111,111,111); } .navigationSideBar .secondaryContent {  background: none rgb(33,33,33);  color: rgb(255,255,255); } .bbCode > dl > dd {  background: none rgb(33,33,33);  border: none; } .bbCodeBlock .type {  background:none rgb(150,0,0);  color: rgb(255,255,255);  border: none; } .bbCodeBlock pre, .bbCodeBlock .code {  background: none rgb(168,168,168);  color: rgb(0,0,0); } .dataTable tr.dataRow th {  background: none rgb(150,0,0);  color: rgb(255,255,255);  border: none; } .smilieList .smilieText:hover, .smilieList .smilieText {  background: none rgb(51,51,51);  padding: 2px 7px 2px 7px;  border: none;  color: rgb(255,255,255); } .Menu.JsOnly.subForumsMenu .primaryContent.menuHeader {  background: none rgb(150,0,0);  border:none; } .Popup .PopupControl.PopupOpen, .Popup.PopupContainerControl.PopupOpen {  background:none rgb(150,0,0);  color: rgb(255,255,255);  border:none; } .Menu .menuHeader h3 {  font-size: 15pt; } .Popup .arrowWidget {  filter: invert(100%);     -webkit-filter: invert(100%); } .subForumsPopup a.PopupControl {  background:none rgb(151,0,0);  border-radius: 5px;  padding: 0px 8px 0px 8px; } .subForumsPopup .dt {  color: rgb(255,255,255); } .subForumsPopup .dt:first-child {  color: rgb(255,255,255); } .pollResult .bar {  background:none rgb(151,0,0);  height: 15px; } .pollResult .barContainer {  background:none rgb(33,33,33);  height: 15px;  border: none; } .button:hover, .button[href]:hover, .buttonProxy:hover .button {  background: none rgb(150,0,0);  color: rgb(255,255,255); } .redactor_dropdown {  background: none rgb(33,33,33);  box-shadow: none;  border: none; }.xenForm { margin: 10px auto; max-width: 100%; }.xenOverlay { left: 2.5% !important; width: 95%; max-width: 100%; }#exposeMask { background-color: rgb(33,33,33) !important; opacity: 0.9 !important; }#redactor_modal_overlay {  background-color: rgb(33,33,33) !important;  opacity: 0.9 !important;}#redactor_modal {  left:50% !important;}   .ugc a:hover,.ugc a:focus {  color: rgb(168,168,168);  background:none;  box-shadow:none;}"
 
].join("\n");
if (typeof GM_addStyle != "undefined") {
   GM_addStyle(css);
} else if (typeof PRO_addStyle != "undefined") {
   PRO_addStyle(css);
} else if (typeof addStyle != "undefined") {
   addStyle(css);
} else {
   var node = document.createElement("style");
   node.type = "text/css";
   node.appendChild(document.createTextNode(css));
   var heads = document.getElementsByTagName("head");
   if (heads.length > 0) {
     heads[0].appendChild(node);
   } else {
     document.documentElement.appendChild(node);
   }
}
})();


var addCredit = document.getElementById("footer_credits");
addCredit.innerHTML = '<a href="http://www.akrion.net">Aurora theme by Akrion. Version: 1.2.1.0</a><p><a href="mailto:[email protected]">Modified "KHS Dark Theme" by Vincent Nacon.</a>';