User:Alucard5454/common.js

// ==UserScript== // @name         Wikipedia - Dark grey w/ nicer search box // @namespace    http://userstyles.org // @description	 Grey Wikipedia theme, built in Wikipedia - Nicer search box (for Monobook). // @author       cupcake // @homepage     http://userstyles.org/styles/4325 // @include      http://wikipedia.org/* // @include      https://wikipedia.org/* // @include      http://*.wikipedia.org/* // @include      https://*.wikipedia.org/* // ==/UserScript== (function { var css = "*{background-color: transparent !important; color: lightgrey !important;}\ndiv#siteNotice{display:none !important;}\np{border: none !important;}\na{color: lightgrey !important;}\na:visited{color: #3366FF !important;}\na:link{color: white !important; font-weight: bold !important;}\n\n#content {\nfont-family: trebuchet, arial !important; \nfont-size: 12pt !important; border: 0 !important\n}\n\nbody {\n	background: #333 url(\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAFCCAMAAAAHcEfNAAAABGdBTUEAAK/INwWK6QAAABl0RVh0U29mdHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAAABvUExURRMTExISEjMzMzQ0NBERES8vLzExMTIyMjAwMC0tLSEhISoqKh4eHhgYGCUlJSsrKygoKBYWFiMjIxQUFBUVFRsbGycnJx0dHSwsLBoaGhwcHCYmJi4uLh8fHyIiIhkZGSkpKRcXFzU1NSAgICQkJHYC6T4AAAC+SURBVHjadIyJEoIwDETTAnIICnKo4IHH/3+j6TYEcJQ3ecm6TonIMKGO8/S5K5RtpF12hD7UX0Jk/5JZ/IMWbxtJRl92Xy2uxQ3j3VCFqegBOwqkYsUZvvN207Jb0CO53dMR9JSzc/VMRleQKS+9buCwYqe84QHj3FHJM/B0NPJdIpfKSNsv9uKZE5zy9qTKRSalSBxxjn6QMN7rK6EN0uYPFo55x4oVAsmB9lbaQC7XTTylCXRPWLS8PwIMAMwsDV3xKEP4AAAAAElFTkSuQmCC\") top left repeat-x !important;\n}\n\n\n\n\n#content { \n -moz-border-radius-topleft: 1em !important; \n  -moz-border-radius-bottomleft: 1em !important;\n}\n#div.pBody {\n  -moz-border-radius-topright: 1em !important;\n  -moz-border-radius-bottomright: 1em !important;\n}\n\n#p-logo a { background: url(http://b.imagehost.org/0381/wikilogo_2.png) 35% 50% no-repeat !important; }\n\n.searchButton {\n    width: 20px !important;\n    height: 20px !important;\n    border: none !important;  \n    font-size: 0 !important;\n    background-color: #FFF !important;\n    } \n \n#searchGoButton {\n    background-image: url(http://upload.wikimedia.org/wikipedia/commons/thumb/3/33/Nuvola_apps_bookcase.png/20px-Nuvola_apps_bookcase.png) !important;\n    }\n \n#mw-searchButton {\n    background-image: url(http://upload.wikimedia.org/wikipedia/commons/thumb/6/61/Searchtool.svg/20px-Searchtool.svg.png) !important;\n    }\n \n#searchInput {\n    border: 1px solid !important;\n    -moz-border-radius: 10px !important;\n    padding-left: 8px !important;\n    padding-right: 8px !important;\n    width: 110px !important;\n    border-color: #AAA !important;\n    margin: 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); } } });