User:User-100152098/common.css

/** General fixes **/

/* Hide stuff */ a.promotions, .t-netbar-discover, div[id^="ad-"], #curse-panel, #ft, #atflb, .atflb, .btflb, .atfmrec, #p-sharing, #p-socialProfiles, .gamepedia_pro_user::before, #p-sitePromos, #siderail, table.mw-changeslist-log-newusers { display: none !important;}

/* Stop pre (often used for code blocks) from breaking out the page */ pre { overflow-x: auto; }

/* Don't allow text area to be resized horizontally beyond the content area (by browsers that support client textbox resizing, like Firefox and Chrome) */ max-width: 100%; }
 * 1) editform, #toolbar, #wpTextbox1 {

/* Fix spacing at bottom of watchlist options */ margin-bottom: 0; }
 * 1) mw-watchlist-form-namespaceselector p {

/* Fix editbox and summary breaking out of the page */ margin-right: 5px; } .editOptions { margin-right: 1px; }
 * 1) editform {

/* Stop patrol link floating */ div.patrollink { clear: both; }

/* Fix category height */ line-height: 1.25em; margin: 0.125em 0; }
 * 1) catlinks li {

/* Fade language links on special pages where they are unwanted */ .ns-special ol.special a[title*="/cz "], .ns-special ol.special a[title$="/cz"], .ns-special ol.special a[title*="/it "], .ns-special ol.special a[title$="/it"], .ns-special ol.special a[title*="/no "], .ns-special ol.special a[title$="/no"], .ns-special ol.special a[title*="/fin "], .ns-special ol.special a[title$="/fin"], .ns-special ol.special a[title*="/sr "], .ns-special ol.special a[title$="/sr"], .ns-special ol.special a[title*="/ua "], .ns-special ol.special a[title$="/ua"], .ns-special ol.special a[title*="/he "], .ns-special ol.special a[title$="/he"], .ns-special ol.special a[title*="/se "], .ns-special ol.special a[title$="/se"], .ns-special ol.special a[title*="/dk "], .ns-special ol.special a[title$="/dk"], .ns-special ol.special a[title*="/th "], .ns-special ol.special a[title$="/th"], .ns-special ol.special a[title*="/ro "], .ns-special ol.special a[title$="/ro"], .ns-special ol.special a[title*="/hr "], .ns-special ol.special a[title$="/hr"], .ns-special ol.special a[title*="/es "], .ns-special ol.special a[title$="/es"], .ns-special ol.special a[title*="/gre "], .ns-special ol.special a[title$="/gre"], .ns-special ol.special a[title*="/tr "], .ns-special ol.special a[title$="/tr"], .ns-special ol.special a[title*="/eo "], .ns-special ol.special a[title$="/eo"], .ns-special ol.special a[title*="/et "], .ns-special ol.special a[title$="/et"], .ns-special ol.special a[title*="/ca "], .ns-special ol.special a[title$="/ca"] { opacity: 0.4; }

/* Stop the visited links in Special:ListUsers and similar pages from seeming like red links */ .curse_account .a, a:visited { color: #0b0080; }

/* Stop the "You have new messages" text from cropping */ font-size: smaller; }
 * 1) pt-mytalk a.mw-echo-alert {

/** DisplayName fix **/

/* This fixes the "Displayname (User:Username)" double display */ /* It hides the Username and leaves the Displayname to show alone */ /* This is the supposed intention of the Special:DisplayName extension */ /* Source: https://hearthstone.gamepedia.com/MediaWiki:Common.css */

.displayName { visibility: hidden; }

.dnDisplay, .dnTag { display: none; }

.dnUser { visibility: visible; }

.mw-userlink .dnUser { display: none; }

.mw-userlink .dnDisplay, .mw-userlink .dnTag { display: inline; visibility: visible; }

font-size: 75%; float: right; }
 * 1) firstHeading .dnDisplay {

visibility: visible; }
 * 1) firstHeading .dnUser {

.mw-special-Block .displayName, .mw-special-Block .dnDisplay, .mw-special-Block .dnTag, .mw-special-Unblock .displayName, .mw-special-Unblock .dnDisplay, .mw-special-Unblock .dnTag, .mw-special-Activeusers .displayName, .mw-special-Activeusers .dnDisplay, .mw-special-Activeusers .dnTag, .mw-special-Listusers .displayName, .mw-special-Listusers .dnDisplay, .mw-special-Listusers .dnTag, .mw-special-Userrights .displayName, .mw-special-Userrights .dnDisplay, .mw-special-Userrights .dnTag { visibility: visible; display: inline; }

/** Vector skin improvements **/ /* Make redirect links green */ .mw-redirect, .mw-redirect:link, .mw-redirect:visited { color: #008000; }

/* Stop redirect links in comments and user links (the (Talk | Contribs) area in logs and page histories) from being green */ .comment .mw-redirect, .mw-usertoollinks .mw-redirect, .mw-userlink.mw-redirect { color: #0645AD !important; } .comment .mw-redirect:visited, .mw-usertoollinks .mw-redirect:visited, .mw-userlink.mw-redirect:visted { color: #0B0080 !important; } .comment .mw-redirect:active, .mw-usertoollinks .mw-redirect:active, .mw-userlink.mw-redirect:active { color: #FAA700 !important; }

/* Make delete/protect reason field and edit summary field take up the whole screen width */ input#wpSummary, input#wpReason, input#mwProtect-reason, .mw-special-Block .mw-input, .mw-special-Block #mw-input-wpReason-other { width: 100%; }   width: 138px; } .mw-special-Block .mw-label { min-width: 142px; }
 * 1) mw-deleteconfirm-table,
 * 2) mw-img-deleteconfirm-table,
 * 1) mw-protect-table3,
 * 1) mw-deleteconfirm-table .mw-label,
 * 2) mw-img-deleteconfirm-table .mw-label,
 * 3) mw-protect-table3 .mw-label {

/* MW 1.20 style diff */ td.diff-otitle, td.diff-ntitle { text-align: center; }

td.diff-marker { text-align: right; font-weight: bold; font-size: 1.25em; }

td.diff-lineno { font-weight: bold; }

td.diff-addedline, td.diff-deletedline, td.diff-context { font-size: 88%; vertical-align: top; white-space: -moz-pre-wrap; white-space: pre-wrap; }

td.diff-addedline, td.diff-deletedline { border-style: solid; border-width: 1px 1px 1px 4px; background-color: #F9F9F9 !important; }

td.diff-addedline { border-color: #a3d3ff; }

td.diff-deletedline { border-color: #ffe49c; }

td.diff-context { background: #f3f3f3 !important; color: #333333; border-style: solid; border-width: 1px 1px 1px 4px; border-color: #e6e6e6; }

.diffchange { font-weight: bold; text-decoration: none; }

table.diff { border: none; width: 98%; border-spacing: 4px;

/* Ensure that colums are of equal width */ table-layout: fixed; }

td.diff-addedline .diffchange, td.diff-deletedline .diffchange { padding: 0.25em 0; color: #000; }

td.diff-addedline .diffchange { background: #d8ecff; }

td.diff-deletedline .diffchange { background: #feeec8; }

table.diff td { padding: 0.33em 0.66em; }

table.diff col.diff-marker { width: 2%; }

table.diff col.diff-content { width: 48%; }

table.diff td div { /* Force-wrap very long lines such as URLs or page-widening char strings.*/ word-wrap: break-word; }

/* Make toolbox permanently open */ display: block !important; }   background-image: url("http://hydra-media.cursecdn.com/minecraft.gamepedia.com/f/fb/Arrow-down.png") !important; }
 * 1) p-tb div.body {
 * 1) mw-panel.collapsible-nav div#p-tb.portal h5 {

/* Hiding diff patrol links */ display: none; }
 * 1) mw-diff-ntitle4 .patrollink {

/* Fixing spacing when adverts are disabled */ body.page-Minecraft_Wiki.action-view #contentSub { margin: 0; }

/* Fixing usermessage spacing */ .usermessage { margin: 0 0 1em; }

/* Fix outline on clicked gallery images looking all weird */ li.gallerybox div.thumb img { display: inline; }

/* Center watch/unwatch messages */ .mw-js-message-watch { text-align: center; }

textarea {  font-family:Courier New; font-size:15px; }

width: 100% !important }
 * 1) global-wrapper.with-siderail #content #bodyContent {

width: 0 !important }
 * 1) siderail {

.ad-placement { width: 0 !important; height: 0 !important; border: none !important }

/* Minecraft Launcher feel */ div#netbar { height: 30px; border: none }

div#netbar .netbar-box { border: none !important; font-weight: bold } div#netbar ul { border: none !important; border-radius: 0 !important; box-shadow: none } div#netbar li { padding: 0 !important; margin: 0; height: 30px; cursor: context-menu } div#netbar a:not([class*='mw-']):not([class*='oo-']) { font-size: 11px; text-transform: uppercase; cursor: context-menu !important } div#netbar a:not([class*='mw-']):not([class*='oo-']):hover { color: #fff !important } div#netbar ul li a { padding: 8px 5px }

div#netbar .netbar-box:hover > a { color: #fff } div#netbar .netbar-box.right:not(.user) { padding: 0 4px }

div#netbar .netbar-box.has-drop { cursor: context-menu } div#netbar .netbar-box.links:hover > .cog::after { color: #fff !important } div#netbar .netbar-box.echo > li > a { padding-right: 4px } div#netbar .netbar-box.echo > li > a::before { width: 20px; height: 20px; top: 4px; background-size: 20px; cursor: context-menu } div#netbar .netbar-box.echo > li:hover > a, div#netbar .netbar-box.echo > li:hover > a::before { opacity: 1 } div#netbar .netbar-box.user ul { width: 100% }

/* OOjs to other buttons */ .mw-history-compareselectedversions-button { cursor: pointer; display: inline-block; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; vertical-align: middle; font-family: inherit; font-size: inherit; white-space: nowrap; -webkit-touch-callout: none; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; background-color: #f8f9fa; color: #222; border: 1px solid #a2a9b1; -webkit-transition: background-color 100ms,color 100ms,border-color 100ms,box-shadow 100ms; -moz-transition: background-color 100ms,color 100ms,border-color 100ms,box-shadow 100ms; transition: background-color 100ms,color 100ms,border-color 100ms,box-shadow 100ms; min-height: 2.5em; border-radius: 2px; padding: 0.625em 0.9375em 0.546875em }

.mw-history-compareselectedversions-button::-moz-focus-inner { border-color: transparent; padding: 0 }

.mw-history-compareselectedversions-button:hover { background-color: #fff; color: #444; border-color: #a2a9b1 }

.mw-history-compareselectedversions-button:focus { border-color: #36c; box-shadow: inset 0 0 0 1px #36c; outline: 0 }

.mw-history-compareselectedversions-button:active, .mw-history-compareselectedversions-button:active:focus { background-color: #c8ccd1; color: #000; border-color: #72777d; box-shadow: none }

/* Other */ pre { overflow: auto }

pre code { border: none; word-wrap: break-word; padding: 0 }