Another One Universal Dark Theme

changes all web-site theme to dark

目前为 2021-12-29 提交的版本。查看 最新版本

// ==UserScript==
// @name Another One Universal Dark Theme
// @namespace -
// @version 0.1
// @description changes all web-site theme to dark
// @author NotYou
// @include *
// @exclude *gf.qytechs.cn/*
// @run-at document-body
// @license GPLv3
// @license-link https://www.gnu.org/licenses/gpl-3.0.txt
// @grant none
// ==/UserScript==

(function() {
let css = `

/* MAIN */
html, body {
background: rgb(19, 19, 19) !important
}

/* HEADING */
header, #header, .header, nav, .nav, .navbar, .navigation {
background-color: rgb(22, 22, 22) !important;
}

/* CONTENT */
input, output, label, button, form, textarea, fieldset, select, option {
background-color: rgb(20, 20, 20) !important;
border: 1px solid rgb(24, 24, 24 ) !important;
color: rgb(181, 181, 181) !important;
border-radius: 2px;
}

code {
background-color: rgb(19, 19, 19) !important;
}

#content, .content, h1, h2, h3, h4, h5, h6, span, sub, sup, i, b, u, s, q, dl, dd, dt, em, ol, li, ul, table, tbody, thead, tr, th, pre, div, detials, summary, main, small, big, strong, time {
color: rgb(145, 124, 124) !important;
}

div, li, ul, ol {
background-color: rgb(22, 22, 22) !important
}

p {
color: rgb(181, 181, 181) !important;
}

a {
color: rgb(52, 116, 172) !important;
}

a:visited {
color: rgb(58, 136, 204) !important;
}

img {
border-radius: 2px;
}

tr, td {
background-color: rgb(40, 40, 40)!important;
}

/* FOOTER */
footer, #footer, .footer {
background-color: rgb(22, 22, 22) !important;
}

`;
if (typeof GM_addStyle !== "undefined") {
  GM_addStyle(css);
} else {
  let styleNode = document.createElement("style");
  styleNode.appendChild(document.createTextNode(css));
  (document.querySelector("head") || document.documentElement).appendChild(styleNode);
}
})();



































QingJ © 2025

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