User:Kruk223/common.css
Note: After publishing, you may have to bypass your browser's cache to see the changes.
- Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
- Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
- Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5.
// ==UserScript==
// @name Baka-Tsuki Dark (by MIMIC-Project)
// @namespace http://userstyles.org
// @description Dark version of Baka-Tsuki. Because reading light novels with the default bright-colored-scheme is too hurting for my eyes.
// @author MIMIC-Project
// @homepage https://userstyles.org/styles/102754
// @include http://baka-tsuki.org/*
// @include https://baka-tsuki.org/*
// @include http://*.baka-tsuki.org/*
// @include https://*.baka-tsuki.org/*
// @run-at document-start
// @version 0.20140623101456
// ==/UserScript==
(function() {var css = [
"/*!========================================\\\\",
"|| Dark Baka-Tsuki ||",
"||-----------------------------------------||",
"|| Created by MIMIC-Project ||",
"||-----------------------------------------||",
"|| A simple dark theme for Baka-tsuki ||",
"|| http://mimic-project.com ||",
"\\\\----------------------------------------!*/",
"",
"#mw-page-base,",
"#mw-head,",
"#p-logo,",
"#footer",
"{",
" display: none;",
"}",
"body {",
" background-color: #333333 !important;",
" color: #ddd !important;",
" font-size: 1.0em;",
"}",
"a {",
" color: #fff !important;",
"}",
"a.new {",
" color: #888 !important;",
"}",
"h1, h2, h3, h4, h5, h6 {",
" color: inherit;",
"}",
"ol, ul {",
" list-style-image: none;",
"}",
"div#mw-panel div.portal div.body ul {",
" list-style-type: disc;",
"}",
"table.wikitable {",
" color: #ddd;",
"}",
"div#content {",
" background: none;",
" color: #ddd;",
" border-color: #ddd;",
"}",
"div#mw-panel {",
" padding-top: 0em;",
" top: 20px;",
"}",
"#mw-panel.collapsible-nav .portal {",
" background: none !important;",
" border-top: 1px solid #ddd;",
" border-bottom: 1px solid #ddd;",
"}",
"div.thumbinner {",
" background: none;",
"}",
"table, tr, th, td,",
"#toc,",
".toc,",
".mw-warning,",
".catlinks,",
".collapsible,",
".collapsible th,",
"li.gallerybox div.thumb {",
" background-color: #444 !important;",
"}"
].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 {
// no head yet, stick it whereever
document.documentElement.appendChild(node);
}
}
})();