User:Joe feyzullah/simple.js

// ==UserScript== // @name         Dark Wikipedia // @namespace    http://userstyles.org // @description	 Gray Wikipedia theme. (It based on Wikipedia - Dark grey w/ nicer search box.) // @author       nodaguti // @homepage     http://userstyles.org/styles/42313 // @include      http://wikipedia.org/* // @include      https://wikipedia.org/* // @include      http://*.wikipedia.org/* // @include      https://*.wikipedia.org/* // @run-at       document-start // ==/UserScript== (function { var css = "*{\n  background-color: transparent !important;\n   color: #bcbcbc !important;\n}\n\nbody, div, form, table, tbody, tr, td, fieldset, ul, li, a,\n#content, #bodyContent{\n   background-color: #333 !important;\n   background-image: none !important;\n}\n\n\n\ninput, select, button, checkbox{\n   -moz-appearance: none !important;\n   border: 1px white solid !important;\n   outline: none !important;\n   background-color: #333 !important;\n}\n\n#simpleSearch{\n   border: none !important;\n}\n\n\n\n#content{\n   font-family: trebuchet, arial !important; \n   font-size: 12pt !important;\n   border: 0 !important;\n}\n\ndiv#siteNotice{\n   display:none !important;\n}\np{\n   border: none !important;\n}\na{\n   color: lightgrey !important;\n}\na:visited{\n   font-weight: bold !important;\n   opacity: 0.65 !important;\n}\na:link{\n   color: white !important;\n}\n\nh2{\n   border-bottom: #ccc 1px solid !important;\n   font-size: 120% !important;\n}\nh2 > span{\n   color: white !important;\n}\nh2 > span > span{\n   color: white !important;\n   font-size: 100% !important;\n}\n\nfieldset{\n   border-color: #ddd !important;\n}\n\n#bodyContent ul{\n   list-style-image: none !important;\n   list-style-type: disc !important;\n}\n#toc ul{\n   list-style-type: none !important;\n}\n\n.thumb{\n   border-color: #333 !important;\n}\n\n\n\n#searchButton{\n   display: none !important;\n}\n\ndiv.vectorTabs,\ndiv.vectorTabs ul,\ndiv.vectorTabs ul > li,\ndiv.vectorTabs ul > li > a{\n   background-color: #333 !important;\n   background-image: none !important;\n   border: none !important;\n}\n\n#right-navigation > .vectorMenu,\n#ca-watch{\n   display: none !important;\n}\n\ndiv.vectorTabs ul > li > a > span{\n   padding: 0 !important;\n}\ndiv.vectorTabs ul > li > a{\n  outline: 1px #888 solid !important;\n  margin: 0 0.5em;\n  height: auto !important;\n  font-weight: normal !important;\n}\ndiv.vectorTabs ul > li > a:hover{\n   text-decoration: none !important;\n   outline: 1px #ccc solid !important;\n}\n\n\n\n#preftoc > li{\n   outline: 1px #ccc solid !important;\n   border-bottom: 5px #ccc solid !important;\n}\n\n.successbox{\n   border-color: white !important;\n}\n\n\n\n#search .search-types ul,\n#search .results-info ul{\n   list-style-type: none !important;\n}\n\n\n\n#p-logo a {\n   background: url(http://upload.wikimedia.org/wikipedia/en/b/bc/Wiki.png) no-repeat !important;\n   position: absolute !important;\n   clip: rect(0, 135px, 115px, 0) !important;\n   height: 115px !important;\n   overflow: hidden !important;\n   margin-top: 30px !important;\n}\n\n\n\nimg{\n   background-color: #fdfdfd !important;\n}\nimg.tex{\n   padding: 5px !important;\n}\nspan.tex{\n   border: 1px white solid !important;\n   padding: 5px !important;\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 heads = document.getElementsByTagName("head"); if (heads.length > 0) { var node = document.createElement("style"); node.type = "text/css"; node.appendChild(document.createTextNode(css)); heads[0].appendChild(node); } } });