User:Anuplohade/monobook.js

// ==UserScript== // @name         Wikipedia Minimal Dark // @namespace    http://userstyles.org // @description	 for MinervaNeue wikipedia style only! won't look as good on the regular style, this can be toggled on Wikipedia's preferences / appereance once you're logged on // @author       boozlepuzzle // @homepage     https://userstyles.org/styles/167022 // @include      http://wikipedia.org/* // @include      https://wikipedia.org/* // @include      http://*.wikipedia.org/* // @include      https://*.wikipedia.org/* // @run-at       document-start // @version      0.20190612052911 // ==/UserScript== (function {var css = [	"/*font color*/",	"*{",	"  background-color: transparent !important;",	"   color: #bcbcbc !important;",	"}",	"/*links font color*/",	"a{",	"    color:#3d5fa4 !important",	"}",	"a{",	"    color:#3b6cd0 !important           ",	"}",	"/*background color*/",	"body, #mw-head, .vectorTabs, .search-overlay li.page-summary, .search-overlay .search-content.overlay-header, .language-overlay .overlay-content{",	"   background-color: #1e1e1e !important;",	"}",	"",	".header-container.header-chrome, .header > div, #mw-mf-main-menu-button, body > div.overlay.language-overlay.view-border-box.visible > div.overlay-header-container.header-container.position-fixed > div > ul, body > div.mw-overlays-container > div > div.overlay-header-container.header-container.position-fixed > div{",	"background-color:#101010 !important",	"}",	"/*logo*/",	"div.branding-box{",	"	height: 51.2px !important;", "	width: 200px !important;", "	padding-left: 0px !important;", "	padding-top: 0px !important;", "	background: url(https://i.imgur.com/ou7OU23.png) !important;", "   background-color:transparent !important;", "}",	"/*title*/", "h1{", "              font-size:2.5em;", "                             text-align:center;", "             ",	"}",	".page-heading{", "              margin-bottom:0px;", "}",	".heading-holder{", "              padding: 30px 0px 0px;", "}",	"/*some other details*/", " #mw-mf-page-center > header > form > div.branding-box > a, .clear, #mw-content-text > div.mw-search-form-wrapper, .language-overlay .search, .language-overlay .panel, .ext-related-articles-card-list h3:after, #mw-mf-page-center > header > form > div:nth-child(5), #mw-mf-page-center > header > form > div:nth-child(4) {", "               display:none !important", "}",	".search-box, .search, .search-overlay .header input{", "   position:relative;", "   left:3vw;", "}",	" .ext-related-articles-card-list .ext-related-articles-card > a{", "   position:unset;", "   width:983px;", "}",	"",	"div.ext-related-articles-card-detail{", "background-color:transparent !important", "}",	"nav ul{", "   padding-bottom:0", "}",	"tr, td, li.ext-related-articles-card, .referencetooltip>li, .mwe-popups, .mwe-popups-extract, .animations .mw-notification.visible, .animations .drawer.visible, .animations .mw-notification.mw-notification-visible, .animations .drawer.mw-notification-visible{", "   background-color:#171717 !important", "}",	".content table.infobox th, .content table.infobox td, .content table.infobox, .site-link-list li, .search-box .search, .client-js .toc-mobile, li.gallerybox div.thumb{", "   border-bottom:0;", "       border:0px;", "}",	"footer .last-modified-bar{", "   border-bottom:0", "}",	".page-actions-menu{", "              border-top:0px;", "                             border-bottom:0px;", "}",	".minerva-footer{", "              border-top:0px", "}",	"body > div.overlay.search-overlay.visible > div.overlay-content > div.results, .overlay.search-overlay .search-content.overlay-header{", "   width:980px !important;", "   margin-left:0px !important;", "}",	".overlay-header{", "   width:100%", "}",	"#mw-mf-page-left, #mw-mf-page-left > div{", "   width:300px", "}",	".primary-navigation-enabled.animations .drawer .position-fixed, .primary-navigation-enabled.animations #mw-mf-page-center{", "   transform:translate(300px, 0)", "}",	".language-overlay .overlay-content-body{", "   height:650px", "}",	"body > div.overlay.language-overlay.view-border-box.visible > div.overlay-header-container.header-container.position-fixed > div{", "   margin-left:0px;", "   margin-right:0px;", "   max-width:1024px !important", "       ",	"}",	"#mw-mf-page-center > header > form > div.branding-box{", " position: absolute;", " left: 531.5px;", "",	"}",	"#mw-mf-page-center > header > form > div.search-box{", "              width:250px !important;", "                             position:absolute;", "              left: 937px;", "                           top:10px", "}",	"body > div.mw-overlays-container > div > div.overlay-header-container.header-container.header-chrome.position-fixed > div > div > form > input{", "width:250px !important;", "",	"              left: 117px !important;", "bottom:0.5px !important;", "text-align:center", "}",	"#searchInput{", "              width:155px", "}",	"body > div.mw-overlays-container > div > div.overlay-header-container.header-container.header-chrome.position-fixed > div > ul{", "              right:495px;", "              top:14px;", "              position:absolute;", "}",	".overlay.search-overlay .results, .overlay.search-overlay .overlay-content, body > div.mw-overlays-container > div > div.overlay-content > div.search-content.overlay-header, body > div.mw-overlays-container > div > div.overlay-content > div.results > div{", "              width:1263px !important;", "                             max-width:1263px;", "              margin-left:0px;", "              ",	"               ",	"}" ].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); } } });