User:Парис "Анима" надаль/global.js
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)
- Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
- Opera: Press Ctrl-F5.
// ==UserScript==
// @name Королева Мира Саша Черных
// @namespace http://userstyles.org
// @description По мотивам стиля Pink Wiki, указанного по ссылке в строке 6
// @author varez
// @homepage https://userstyles.org/styles/97908
// @include http://wikipedia.org/*
// @include https://wikipedia.org/*
// @include http://*.wikipedia.org/*
// @include https://*.wikipedia.org/*
// @run-at document-start
// @version 0.20140205082539
// ==/UserScript==
(function() {var css = [
"div#mw-panel div.portal div.body ul li a, a, div.vectorTabs li a {",
"color: #FA8072;",
"}",
"",
"",
"div#mw-panel div.portal div.body ul li a:visited, a:visited {",
"color: #9932CC;",
"}",
"",
"",
"#mw-panel, body, #mw-head {",
" background: rgb(255, 250, 205);",
"}",
"",
"div#content, div.vectorTabs li, div#content, div.vectorTabs {",
" background: rgb(255, 215, 0)!important;",
" list-style-type: none;",
"}",
"",
"",
"#p-logo a {",
" background: url(\'http://s017.radikal.ru/i416/1504/aa/e7e9681ddf4c.jpg\') center center no-repeat!important;",
" background-size: contain!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);
}
}
})();