User:FTBabin/vector.js
Jump to navigation
Jump to search
Note: After saving, changes may not occur immediately. Click here to learn how to bypass your browser's cache.
- Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (Cmd-R on a Mac)
- Google Chrome: Press Ctrl-Shift-R (Cmd-Shift-R on a Mac)
- Internet Explorer: Hold Ctrl while clicking Refresh, or press Ctrl-F5
- Opera: Clear the cache in Tools → Preferences
For details and instructions about other browsers, see Wikipedia:Bypass your cache.
Code that you insert on this page could contain malicious content capable of compromising your account. If you are unsure whether code you are adding to this page is safe, you can ask at the central discussion page, Scriptorium. The code will be executed when previewing this page under some skins, including Monobook. You can in the interim if you wish to refresh the content sooner under another skin. |
The accompanying .css page for this skin is at User:FTBabin/vector.css. |
<!--<nowiki><code>// ==UserScript==
// @name Wikipedia - Dark, blue, simple
// @namespace http://userstyles.org
// @description by <a href="/users/131844?per_page=25">grom</a>. Please READ!
// @author grom
// @homepage http://userstyles.org/styles/64023
// @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/*
// @include http://wiktionary.org/*
// @include https://wiktionary.org/*
// @include http://*.wiktionary.org/*
// @include https://*.wiktionary.org/*
// @include http://wikiquote.org/*
// @include https://wikiquote.org/*
// @include http://*.wikiquote.org/*
// @include https://*.wikiquote.org/*
// @include http://wikibooks.org/*
// @include https://wikibooks.org/*
// @include http://*.wikibooks.org/*
// @include https://*.wikibooks.org/*
// @include http://wikisource.org/*
// @include https://wikisource.org/*
// @include http://*.wikisource.org/*
// @include https://*.wikisource.org/*
// @include http://wikinews.org/*
// @include https://wikinews.org/*
// @include http://*.wikinews.org/*
// @include https://*.wikinews.org/*
// @include http://wikiversity.org/*
// @include https://wikiversity.org/*
// @include http://*.wikiversity.org/*
// @include https://*.wikiversity.org/*
// @include http://wikimediafoundation.org/*
// @include https://wikimediafoundation.org/*
// @include http://*.wikimediafoundation.org/*
// @include https://*.wikimediafoundation.org/*
// @include http://mediawiki.org/*
// @include https://mediawiki.org/*
// @include http://*.mediawiki.org/*
// @include https://*.mediawiki.org/*
// @include http://wikivoyage.org/*
// @include https://wikivoyage.org/*
// @include http://*.wikivoyage.org/*
// @include https://*.wikivoyage.org/*
// @include http://wiki.openstreetmap.org/*
// @include https://wiki.openstreetmap.org/*
// @include http://*.wiki.openstreetmap.org/*
// @include https://*.wiki.openstreetmap.org/*
// @include http://wikidata.org/*
// @include https://wikidata.org/*
// @include http://*.wikidata.org/*
// @include https://*.wikidata.org/*
// @include http://translatewiki.net/*
// @include https://translatewiki.net/*
// @include http://*.translatewiki.net/*
// @include https://*.translatewiki.net/*
// @include http://www.baka-tsuki.org/project/*
// @run-at document-start
// ==/UserScript==
(function() {
var css = "html { background: #181818 !important; }\n\n html > body, table, tbody, tr, td, h1, h2, h3, ul, ol, li, dl, dt, dd, p, blockquote, q, cite, fieldset, form, label, iframe, header, footer, nav, article, section, caption, center, abbr, sub, sup, font, span:not([class]), code,\n #content tbody, #content tr, #content td,\n .noprint, .vectorTabs, .vectorMenu, .portal, .portal > .body,\n .reflist, .refbegin, .catlinks, .references,\n .editsection, .option, #siteSub,\n .toccolours, #template-documentation, .iezoomfix, .infobox,\n .thumb, .image.image > img[src^=\"//bits.wikimedia.org/\"],\n #bodyContent .metadata img, #bodyContent .infobox img, #bodyContent .noprint img, #bodyContent .plainlinks img, .collapsible img,\n #searchButton, .suggestions-results, .suggestions-special,\n #column-content, #simpleSearch > input,\n .divTop10item, body.mobile div,\n .ui-dialog div, .ve-ui-mwCategoryItemButton, .mw-geshi > div > pre,\n div[id=\"content\"] div:not([rel]):not([style])\n{ background: none !important; }\n\ndiv, tt, a, span[class]:not(.legend-color) { background-color: transparent !important; }\n#mw-head, .vectorTabs:hover { background-color: #181818 !important; }\n\n#content, #simpleSearch, div[id=\"content\"] table, #content .infobox,\n #content .options, .ve-ui-menuWidget, .ve-ui-toolbar-bar, .referencetooltip > li, .ui-dialog, .ui-widget-content, .ve-ui-popupWidget-body,\n #mw-mf-header, #mw-mf-drawer, #mw-mf-content-left, .ve-init-mw-viewPageTarget-toolbar-editNotices { background: #222 !important; }\n\n#mw-panel#mw-panel .portal.portal > .body, .portal.portal > .body, .toc.toc, #toc.toc.toc:hover, #p-personal[id]:hover, .suggestions, .vectorMenu > .menu > ul,\noption, kbd, .keyboard-key, #footer, #mw-panel,\n .ui-widget-overlay, .uls-menu, .ve-ui-frame-body, #content .ve-ui-toolGroup-tools,\n .mw-search-formheader,\n .metadata.plainlinks,\n .tipsy, .tipsy-inner,\n #results, .mobile > #header,\n .mediaContainer .control-bar,\n #content .flaggedrevs_short, .flaggedrevs_short_details,\n #content .mw-geshi, pre { background: #181818 !important; }\n\n div[style*=\"background\"],\n#content tr:nth-child(2n), tr:nth-child(2n) { background: rgba(20,20,20,0.2) !important; }\n#content th, th, .NavHead { background: rgba(120,120,120,0.1) !important; }\n .ve-ui-dialog { background: rgba(30,30,30,0.6) !important; }\n.ve-ui-iconedElement-icon[class*=\"ve-ui-icon-\"]:not(#I):not(.ve-ui-icon-down) { background-color: #999 !important; }\n\n #mw-content-text > p img, #mw-content-text > dl img, img.tex { background: #eee !important; padding: 2px; border-radius: 3px; }\n .image > img[src^=\"//upload.wikimedia.org/\"]:hover, #bodyContent .image > .thumbborder:hover,\n #mw-content-text > table > tbody > tr > td > .image > img, .filehistory a img, #file img,\n #bodyContent .infobox .image > img:hover,\n img.thumbimage, .thumb .image > img { background: #eee !important; padding: 0; }\n .central-textlogo > img, #wm-home-header > img, a[href=\"/wiki/Wikisource\"] > img[alt=\"Wikisource\"] { background: #eee; padding: 5px; border-radius: 8px; }\n#p-logo, #www-wikimedia-org img, .central-featured-logo-inner > img[title=\"Wiktionary\"] { background: #333 !important; border-radius: 8px; }\n#p-logo:hover, #www-wikimedia-org img:hover { background: #49c !important; }\n .articleFeedback-rating-label, .articleFeedback-rating-clear, .articleFeedback-switch { border-radius: 11px; }\n img[src$=\"/Bluebg_rounded.png\"] { visibility: hidden; }\n\n .referencetooltip > li + li { opacity: 0 !important; }\n.referencetooltip > li, #pagehistory > li.selected, #simpleSearch, a.button.active { border-color: inherit !important; }\n #pagehistory > li { border-color: transparent !important; }\n tr, td, #content, #searchform, abbr { border-color: #aaa !important; }\ntd[style*=\"border\"]:empty { border-color: transparent !important; }\n .wikitable, th[style], td[style] { border-color: #777 !important; }\n .metadata { border-left-color: #4be !important; }\n .ambox-notice { border-left-color: #27a !important; }\n .ambox-content { border-left-color: #a72 !important; }\n .ambox-style { border-left-color: #772 !important; }\n .mobile > #footer, .navbox { box-shadow: none !important; }\n\n#content .errorbox { background: #511 !important; }\n#content .successbox { background: #151 !important; }\n#content .warningbox, #content .usermessage { background: #551 !important; }\n.suggestions-result-current, .suggestions-result:hover, #anoneditwarning, #anoneditwarningtest { background: #047 !important; }\n.diff-addedline { border-color: #5f5 !important; } .diff-addedline .diffchange, .mw-plusminus-pos { color: #7f7 !important; }\n.diff-deletedline { border-color: #f55 !important; } .diff-deletedline .diffchange, .mw-plusminus-neg { color: #f77 !important; }\n\n* { color: inherit !important; text-shadow: none !important; }\nhtml, .tocnumber, .central-featured em, .central-featured small { color: #ccc !important; }\nhr { height: 0 !important; border: 0 solid #555 !important; border-width: 1px 0 0 !important; }\na { color: #4be !important; }\na:hover { color: #7df !important; }\na:visited { color: #98f !important; }\na:visited:hover { color: #baf !important; }\na.new, .error, .newpage { color: #f55 !important; } a.new:hover { color: #f77 !important; }\n\n::-moz-selection { background: #9cf !important; color: #000 !important; }\n::selection { background: #9cf !important; color: #000 !important; }\n\ninput[type=\"submit\"], input[type=\"button\"], input[type=\"file\"], input[type=\"reset\"], button,\n .buttons span, a.button, .ve-ui-buttonWidget { color: #fff !important; border: 1px solid #555 !important; background: #111 !important;\nborder-radius: 7px !important; box-shadow: none !important; text-shadow: none !important;\nbackground-image: linear-gradient(rgba(255,255,255,0.2),rgba(125,125,125,0.2),rgba(0,0,0,0.3)) !important; }\n\ninput[type=\"submit\"]:hover, input[type=\"button\"]:hover, input[type=\"file\"]:hover, input[type=\"reset\"]:hover, button:hover, a.button:hover, .ve-ui-buttonWidget:hover\n{ border-color: #49c !important; background-color: #000 !important; color: #49c !important; box-shadow: 0 0 1em #4be !important; }\n\nbutton, input, select, textarea { -moz-appearance: none !important; }\ninput[type=\"radio\"], input[type=\"checkbox\"] { color: #4be !important; background: #FFF !important; border-color: #999 !important; }\n\ninput, select, textarea, input[type=\"text\"] { background: #181818 !important; color: #fff !important; padding: 2px !important; border: 1px solid #555 !important; box-shadow: none !important; }\ninput[type] { border-width: 1px !important; border-style: solid !important; }\ntextarea:hover, input:hover, select:hover, textarea:focus, input:focus, select:focus { border-color: #09f !important; }\n\nselect > button, #searchButton, #simpleSearch > input { background-color: transparent !important; border: none !important; box-shadow: none !important; }\nhtml:root option:checked { background: #9cf !important; color: #000 !important; }\n\n\n#preftoc > .selected > a, .portal > h5, .portal > h3 { border: 1px solid !important; border-radius: 5px; background: #181818 !important; }\n\n.portal.portal > .body, #toc.toc.toc:hover, .vectorTabs[id]:hover, #p-personal[id]:hover, html > body > .suggestions[class] { opacity: 0.99 !important; }";
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);
}
}
})();
</code></nowiki>-->