// ==UserScript==
// @name Wikipedia Dark Cyan (like Cyanogenmod)
// @namespace greasyfork
// @description A dark version of Wikipedia.org
// @author Cruto
// @homepage -
// @include http://wikipedia.org/*
// @include https://wikipedia.org/*
// @include http://*.wikipedia.org/*
// @include https://*.wikipedia.org/*
// @include http://wikimedia.org/*
// @include https://wikimedia.org/*
// @include http://*.wikimedia.org/*
// @include https://*.wikimedia.org/*
// @run-at document-start
// @version 3
// ==/UserScript==
(function() {var css = "";
if (false || (document.domain == "wikipedia.org" || document.domain.substring(document.domain.indexOf(".wikipedia.org") + 1) == "wikipedia.org"))
css += [
"#p-logo > a{",
" background-image: url()!important;",
" }"
].join("\n");
if (false || (document.domain == "wikimedia.org" || document.domain.substring(document.domain.indexOf(".wikimedia.org") + 1) == "wikimedia.org"))
css += [
"#p-logo > a{",
" background-image: url()!important;",
" background-size: contain!important;",
" }"
].join("\n");
if (false || (document.domain == "wikipedia.org" || document.domain.substring(document.domain.indexOf(".wikipedia.org") + 1) == "wikipedia.org") || (document.domain == "wikimedia.org" || document.domain.substring(document.domain.indexOf(".wikimedia.org") + 1) == "wikimedia.org"))
css += [
"body{",
" background-color: #191919!important;",
" background-image: url()!important;",
" background-attachment: fixed!important;",
" background-repeat: repeat-x!important;",
" }",
" ",
" a{",
" color: #32a9da!important;",
" }",
" ",
" a:hover{",
" color: #6ad3ff!important;",
" }",
" ",
" h1, h2, h3, h4, h5, h6{",
" color: rgba(220, 220, 220, 1)!important;",
" }",
" ",
" #mw-head-base,",
" #mw-page-base,",
" #mw-head,",
" #mw-panel{",
" background-color: rgba(20, 20, 20, 0)!important;",
" background-image: none!important;",
" }",
" ",
" #content.mw-body{",
" background-color: rgba(100, 100, 100, 0.2)!important;",
" border-color: rgba(220, 220, 220, 0.2)!important;",
" }",
" ",
" *{",
" border-color: rgba(220, 220, 220, 0.2)!important;",
" }",
" ",
" p,",
" dd,",
" .sisterproject{",
" color: rgba(220, 220, 220, 0.8)!important;",
" }",
"",
" .hauptartikel-pfeil,",
" i,",
" strong{",
" color: #fff!important;",
" }",
" ",
" .settings-menu-items .menu-section:hover{",
" background-color: rgba(220, 220, 220, 0.05)!important;",
" color: rgba(220, 220, 220, 0.8)!important;",
" } ",
" ",
" .settings-menu-items .menu-section{",
" color: rgba(220, 220, 220, 0.6)!important;",
" }",
" ",
" .uls-input-settings .uls-input-settings-inputmethods-list{",
" background-color: rgba(220, 220, 220, 0.1)!important;",
" }",
" ",
" li,",
" td,",
" tr,",
" th,",
" td > h2,",
" td > div > h2,",
" dt{",
" color: rgba(220, 220, 220, 0.6)!important;",
" background-color: rgba(220, 220, 220, 0.01)!important;",
" }",
" ul {",
" list-style-image: none!important;",
" }",
" ",
" dt{",
" color: rgba(220, 220, 220, 0.8)!important;",
" background-color: rgba(220, 220, 220, 0.01)!important;",
" text-shadow: 0px 2px 0px #111!important;",
" }",
" ",
" .rellink{",
" color: #daef8f!important;",
" background-color: rgba(220, 220, 220, 0.01)!important;",
" }",
" ",
" code,",
" .mw-geshi,",
" pre,",
" .catlinks,",
" .NavContent > p{",
" color: rgba(220, 220, 220, 0.6)!important;",
" background-color: rgba(100, 200, 255, 0.1)!important;",
" }",
" ",
" ",
" #hauptseite .inhalt,",
" .infobox{",
" background-color: rgba(220, 220, 220, 0.1)!important;",
" }",
" ",
" .toptextcells > tbody tr td div{",
" background-color: transparent!important;",
" }",
" ",
" .infobox > div,",
" div.flaggedrevs_short{",
" background-color: #444!important;",
" color: #eee!important;",
" }",
" ",
" #mw-fr-revisiondetails{",
" background-color: rgba(20, 20, 20, 0.9)!important;",
" }",
" ",
" #mw-panel.collapsible-nav .portal{",
" background-image: url()!important;",
" }",
" ",
" [id^=\"wpTextbox\"]{",
" background-color: rgba(20, 20, 20, 1.0)!important;",
" color: #ddd!important;",
" }",
" ",
" div.thumbinner,",
" div.thumbinner > a > img,",
" #toc,",
" .toccolours,",
" #catlinks,",
" div[id^=\"mw-Anonymous\"],",
" #filetoc{",
" background-color: rgba(20, 20, 20, 0.3)!important;",
" border-color: rgba(220, 220, 220, 0.1)!important;",
" }",
" ",
" #ChangeToU2014_v1_anononly{",
" border-color: rgba(220, 220, 220, 0.1)!important;",
" background: rgba(20, 20, 20, 0.3)!important;",
" }",
" ",
" #ChangeToU2014_v1_anononly *,",
" div[id^=\"mw-Anonymous\"],",
" #stockphoto_base > span > span:last-of-type{",
" color: #aaa!important;",
" }",
" ",
" div.vectorMenu h3 a{",
" background: none!important;",
" }",
" ",
" div.thumbinner > .thumbcaption,",
" #siteSub{",
" color: rgba(220, 220, 220, 0.5)!important;",
" }",
" ",
" .hintergrundfarbe5,",
" table{",
" background-color: rgba(220, 220, 220, 0.05)!important;",
" }",
" ",
" div#simpleSearch{",
" background-color: rgba(220, 220, 220, 0.05)!important;",
" background-image: none!important;",
" }",
" ",
" #searchInput{",
" color: #eee!important;",
" }",
" ",
" .imeselector-menu,",
" div.vectorMenu ul,",
" #language-settings-dialog,",
" .grid.uls-menu.uls-wide.callout{",
" background-color: rgba(20, 20, 20, 0.95)!important;",
" }",
" ",
" #languagesettings-panels .menu-section.active, #languagesettings-panels .menu-section.active:hover,",
" .uls-language-settings-close-block{",
" background-color: rgba(220, 220, 220, 0.15)!important;",
" color: #eee!important;",
" }",
" ",
" .uls-menu .search,",
" .uls-menu .search > .ten.columns > #search-input-block > #languagefilter,",
" .uls-menu .search > .ten.columns > #search-input-block > #filtersuggestion,",
" #uls-no-found-more{",
" background: rgba(220, 220, 220, 0.05)!important;",
" color: #eee!important;",
" }",
" ",
" .settings-text{",
" color: #777!important;",
" }",
" ",
" #languagesettings-settings-panel{",
" background-color: rgba(220, 220, 220, 0.05)!important;",
" }",
"",
" .imeselector a, .ime-disable{",
" color: rgba(220, 220, 220, 0.5)!important;",
" }",
" ",
" div.vectorTabs,",
" div.vectorTabs ul,",
" div.vectorTabs ul li,",
" div.vectorTabs ul li span{",
" background-image: none!important;",
" background-color: transparent!important;",
" border: none!important;",
" }",
" ",
" div.vectorTabs ul li{",
" box-shadow: inset 0px -30px 25px -35px rgba(160, 160, 160, 0.5)!important;",
" margin-left: -1px!important;",
" transition: 0.4s!important;",
" }",
" ",
" div.vectorTabs ul li:hover{",
" box-shadow: inset 0px -25px 25px -35px rgba(255, 255, 255, 1)!important;",
" margin-left: -1px!important;",
" transition: 0.4s!important;",
" }",
" ",
" .wikitable.float-right > tbody > tr > th a{",
" color: #999!important;",
" text-decoration: underline!important;",
" }",
" ",
" .wikitable.float-right > tbody > tr > th a:hover{",
" color: #eee!important;",
" text-decoration: underline!important;",
" }",
" ",
" div.NavHead,",
" table.wikitable > tr > th,",
" table.wikitable > * > tr > th,",
" table.wikitable > * > tr:last-of-type > td,",
" #mw-content-text > p > span{",
" background: rgba(255, 255, 255, 0.1)!important;",
" }",
" ",
" .body > select{",
" background-color: #222!important;",
" padding-top: 1px!Important;",
" height: 22px!Important;",
" color: #aaa!important;",
" width: 130px!Important;",
" border: none!important;",
" box-shadow: inset 0px 15px 10px -10px #303030, inset 0px 1px 1px #777!important;",
" margin: 5px 0px 5px 0px!important;",
" border-radius: 20px!important;",
" transition: 0.4s!important;",
" }",
" ",
" input[type=\"button\"]{",
" background-color: #222!important;",
" height: 23px!Important;",
" color: #aaa!important;",
" width: 130px!Important;",
" border: none!important;",
" box-shadow: inset 0px 15px 10px -10px #303030, inset 0px 1px 1px #777!important;",
" margin: 5px 0px 5px 0px!important;",
" border-radius: 20px!important;",
" transition: 0.4s!important;",
" }",
" ",
" input[type=\"button\"]:hover{",
" background-color: #303030!important;",
" height: 23px!Important;",
" color: #aaa!important;",
" width: 130px!Important;",
" border: none!important;",
" box-shadow: inset 0px 15px 10px -10px #404040, inset 0px 1px 1px #888!important;",
" margin: 5px 0px 5px 0px!important;",
" border-radius: 20px!important;",
" transition: 0.4s!important;",
" }",
"",
" .tex{",
" background-color: #eee!important;",
" padding: 10px!important;",
" border-radius: 5px!important;",
" }",
" ",
" .bookshelf-container .bookend{",
" background-image: url()!important;",
" }",
" ",
" .search-container.language-search > form > label{",
" color: #eee!important;",
" }",
" ",
" .divider{",
" opacity: 0.4!important;",
" }",
" ",
" fieldset{",
" background-color: rgba(200, 200, 200, 0.2)!important;",
" }",
" ",
" .central-featured-lang > .link-box > em{",
" color: #888!important;",
" }",
" ",
" .central-featured-lang > .link-box > small{",
" color: #666!important;",
" }",
" ",
" h1.central-textlogo > img{",
" visibility: hidden!important;",
" }",
" ",
" h1.central-textlogo{",
" background-image: url()!important;",
" background-repeat: no-repeat!important;",
" background-position: center!important;",
" }",
" #wpTextbox1 {", //saját
" background-color: black;",
" }",
" .mw-highlight {", //saját
" background-color: #000 !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);
}
}
})();