Jump to content

User:Tomeksowi/simple.js

From Wikipedia, the free encyclopedia
Note: After saving, you have to bypass your browser's cache to see the changes. Google Chrome, Firefox, Microsoft Edge and Safari: Hold down the ⇧ Shift key and click the Reload toolbar button. For details and instructions about other browsers, see Wikipedia:Bypass your cache.
// ==UserScript==
// @name          Wikipedia: simple research - Large Light & Stylish
// @namespace     http://userstyles.org
// @description	  This is a modded version of the Wikipedia: simple research by Coriolanus for easier reading and higher resolutions with added support for the Dutch wiki and a few Wikipedia-styled Wikia pages.
// @author        Eric Lammertsma
// @homepage      http://userstyles.org/styles/7582
// @include       http://en.wikipedia.org/*
// @include       https://en.wikipedia.org/*
// @include       http://*.en.wikipedia.org/*
// @include       https://*.en.wikipedia.org/*
// @include       http://en.wikipedia.org/*
// @include       https://en.wikipedia.org/*
// @include       http://*.en.wikipedia.org/*
// @include       https://*.en.wikipedia.org/*
// @include       http://de.wikipedia.org/*
// @include       https://de.wikipedia.org/*
// @include       http://*.de.wikipedia.org/*
// @include       https://*.de.wikipedia.org/*
// @include       http://de.wikipedia.org/*
// @include       https://de.wikipedia.org/*
// @include       http://*.de.wikipedia.org/*
// @include       https://*.de.wikipedia.org/*
// @include       http://fr.wikipedia.org/*
// @include       https://fr.wikipedia.org/*
// @include       http://*.fr.wikipedia.org/*
// @include       https://*.fr.wikipedia.org/*
// @include       http://fr.wikipedia.org/*
// @include       https://fr.wikipedia.org/*
// @include       http://*.fr.wikipedia.org/*
// @include       https://*.fr.wikipedia.org/*
// @include       http://nl.wikipedia.org/*
// @include       https://nl.wikipedia.org/*
// @include       http://*.nl.wikipedia.org/*
// @include       https://*.nl.wikipedia.org/*
// @include       http://nl.wikipedia.org/*
// @include       https://nl.wikipedia.org/*
// @include       http://*.nl.wikipedia.org/*
// @include       https://*.nl.wikipedia.org/*
// @include       http://guildwars.wikia.com/*
// @include       https://guildwars.wikia.com/*
// @include       http://*.guildwars.wikia.com/*
// @include       https://*.guildwars.wikia.com/*
// @include       http://fury.wikia.com/*
// @include       https://fury.wikia.com/*
// @include       http://*.fury.wikia.com/*
// @include       https://*.fury.wikia.com/*
// @include       http://warhammeronline.wikia.com/*
// @include       https://warhammeronline.wikia.com/*
// @include       http://*.warhammeronline.wikia.com/*
// @include       https://*.warhammeronline.wikia.com/*
// ==/UserScript==
(function() {
var css = "body {\nfont-family: tahoma !important;\nbackground: #444 url('') 0 0 no-repeat !important;\npadding-bottom: 80px  ! important;\n}\n\ndiv {\nbackground-color: transparent !important;\n}\n\n#globalWrapper {\nwidth: 900px !important;\nmargin: 100px auto 0px auto !important;\npadding: 0px !important;\ntext-align:center;\n}\n\n#column-content {\nposition: relative !important;\nmargin: 0 auto auto 0 !important;\npadding: 0 !important;\n}\n\n#content {\nbackground: #e6e6e6 !important;\ncolor: #333 !important;\nmargin: -60px auto auto 0px !important;\npadding: 15px 20px 20px 20px !important;\nwidth: 100% !important;\n-moz-border-radius: 20px ! important;\nborder-color: #bbb  ! important;\nborder-style: solid !important;\n}\n\ndiv#bodyContent {\nwidth: 100% !important;\ntext-align: justify !important;\nfont-size: 14px !important;\nmargin: 0 !important; padding: 0 !important;\nbackground-color: transparent !important;\n}\n\n#bodyContent table {\nbackground-color: #f2f2f2;\nborder: 1px solid #aaa;\nmargin: 0.5em;\n}\n\na:link {\ntext-decoration: none !important;\ncolor: #811 !important;\n}\na:visited {\ntext-decoration: none !important;\n}\na:hover {\ntext-decoration: none !important;\n}\na:active {\ntext-decoration: none !important;\n}\n\n#column-one {\nwidth:100%;\nposition: absolute !important;\nheight: 20px !important;\npadding: 0px !important;\ntop: 10px !important;\ntext-align: left !important;\nz-index: 10 !important;\nwhite-space: normal !important;\nfont-size: 11px !important;\n}\n\n.portlet {\nmargin: 0 !important;\n}\n.portlet h5 {\ndisplay:none !important;\nwhite-space: normal !important;\n}\n.portlet ul {\nline-height: 1.5em !important;\nlist-style-type: square !important;\nlist-style-image: url(bullet.gif) !important;\nfont-size: 100% !important;\n}\n\n.portlet ul, .portlet li {\ndisplay: inline !important;\nmargin: 0 !important;\n}\n.portlet h5 {\ndisplay:none !important;\n}\n\ndiv[class^=thumb] {\nbackground-color: #f2f2f2 !important;\nmargin: 0.5em !important;\nborder: 1px solid #aaa !important;\n}\n\ndiv[class~=tright] {\nmargin: 0.5em 0em 0.8em 1.4em !important;\n}\n\ndiv[class~=tleft] {\nmargin: 0.5em 1.4em 0.8em 0em !important;\n}\n\n.pBody {\nborder: none !important;\npadding: 0 !important;\nfont-family: tahoma !important;\nbackground-color: transparent !important;\n}\n      \n.pBody ul li {\ndisplay: none !important;\nmargin: 0 !important;\npadding: 0 0.1em 0 0.1em !important;\n}\n\n.pBody li a {\ndisplay: none !important;\n}\n\n#p-cactions {\nposition: absolute !important;\ntop: 165px !important;\nleft: 0 !important;\nwidth: 86.35% !important;\nmargin: 0 auto 0 0 !important;\npadding: 0  !important;\nfloat:left !important;\ntext-transform: uppercase !important;\nwhite-space: normal !important;\nborder-bottom:1px solid #DDDDDD !important;\n}\n\n#p-cactions ul {\nmargin: 0 !important;\npadding: 0em !important;\n}\n\n#p-cactions li {\npadding: 0.2em 0em 0.2em 0em !important;\nmargin: 0 !important;\nborder-style: solid solid none solid !important;\nborder-color: #333 !important;\n}\n\n#p-cactions li.selected {\nborder-style: solid solid none solid !important;\nborder-color: #333 !important;\npadding: 0.2em 0em 0.3em 0em !important;\n}\n\n#p-cactions li.selected a {\nletter-spacing: 0.5em !important;\n}\n\n#p-cactions li a {\nbackground-color: #ffffff !important;\ncolor: #333 !important;\nfont-family: tahoma !important;\ntext-transform: uppercase !important;\n}\n\n#catlinks {\ntext-align: center !important;\n}\n\n#p-search {\nposition: absolute !important;\nmargin: 0 !important;\nleft: 0 !important;\n}\n\n#searchBody div {\ntext-align: center !important;\nfloat:left !important;\ncolor:#bbb !important;\n}\n\n#searchInput {\nwidth:200px !important;\ncolor: #811 !important;\nfloat:left;\n-moz-border-radius: 10px !important;\nbackground-color: #ccc !important;\nborder-color: #ccc  !important;\nborder-style: solid !important;\n}\n\n#searchform:after {\ncontent: \"\0020 \00AB \0020 Search\" !important;\ncolor:#888;\nfont-size:14px;\n}\n\n#p-search {\nwidth:270px !important;\nheight:30px !important;\noverflow-y: hidden;\ncolor:#bbb !important;\n}\n\n#p-lang {\nmargin: 3px 0 0px 0 !important;\nposition: relative !important;\nwidth: 750px !important;\nfloat: left !important;\nleft: 75px !important;\ncolor: white !important;\n}\n\n#p-lang ul li:before {\ncontent: \"\00BB \0020\" !important;\n}\n	\n#p-navigation, #p-navigation2 {\nmargin: 0 0 3px 0 !important;\nfloat: left !important;\nposition: relative !important;\nleft: 75px !important;\nwidth: 750px !important;\noverflow-y:hidden;\n}\n\n#p-navigation ul li:before,#p-navigation2 ul li:before {\ncontent: \"\00BB \0020\" !important;\n}\n	\n#p-tb {\nmargin: 3px 0 3px 0 !important;\nposition: relative !important;\nwidth: 735px !important;\nfloat: left !important;\nleft: 90px !important;\n}\n\n#p-tb ul li:before {\ncontent: \"\00BB \0020\" !important;\n}\n    \nli#pt-userpage,li#pt-anonuserpage,li#pt-login {\nbackground: none !important;\npadding-left: 0 !important\n}\n	\nh1 {\nborder: none !important;\npadding-top: 0 !important;\nfont-family: georgia !important;\ncolor: #222   !important;\nfont-weight: 100 !important;\nfont-size: 220%  !important;\n}\n\nh3 { \nfont-weight: 100 !important;\n}\n\nh4 { \nfont-size: 100% !important;\n}\n\n#contentSub {\ndisplay: none;\nposition: relative;\ntop: -50px;\nfont-size: 100% !important;\nline-height: 1.2em;\nmargin: 0 0 1.4em 0em !important;\ncolor: #7d7d7d;\nwidth: auto;\n}\n\nh3#siteSub {\nfont-size: 80% !important;\ncolor: gray;\n}\n\ndl > dd > .dablink {\nmargin-left: -2em !important;\n}\n\n.metadata {\ntop: 35px !important;\n}\n\ndiv.messagebox {\n}\n\n#Vorlage_Dieser_Artikel, #toc, table.hintergrundfarbe1, #catlinks, #f-list {\nbackground: #ccc ! important;\n-moz-border-radius: 20px ! important;\nborder-color: #ccc  ! important;\n}\n\n.hintergrundfarbe1 {\nmargin: 0 !important;\n}\n\n#footer, #searchGoButton, #mw-searchButton, div#f-poweredbyico, div#p-logo, #p-lang ul li, div#siteNotice, #p-cactions, #searchBody ul li, div#f-copyrightico, #p-search ul li, #p-cactions ul li, #p-navigation, #p-navigation2, #searchInput ul li, #p-tb ul li, #p-interaction, #p-Mitmachen, #pt-login, #donate, #navbar, #aus, #ads, #bottom-ad, #p-seg, #anon-banner {\ndisplay:none !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); 
	}
}
})();