MediaWiki:Gadget-GlobalStyle.css

/* CSS placed here will be applied to all skins on both desktop and mobile The "dark" and "mobile" body classes can be used to target different scenarios */

.useronly, .autoconfonly { display: none; } body.anon.ns-content.action-view.mobile #stub, body.anon.ns-content.action-view .noticebox:not(.show), body.anon .navbox .plainlinksneverexpand > * { display: none !important; } body.anon.ns-content.action-view:not(.mobile) .noticebox.show { margin-top: 0 !important; }

/* Site notice */ padding: 0 !important; background: none !important; }
 * 1) localNotice a.external {

/* Image thumbs */ html .thumbimage { background-color: #fff; }

/* Image classes */ img.blackbg { background: #000 !important; } img.graybg, img.greybg { background: #808080 !important; }

/* Image/gallery classes */ .pixelated, .pixelart, .sprites, .sprite { image-rendering: crisp-edges; image-rendering: pixelated; }

/* Gallery classes */ .gallery.center { margin-left: auto !important; margin-right: auto !important; } .gallery.centertext .gallerytext { text-align: center !important; }

/* Gallery slideshow */ .mw-gallery-slideshow .gallerybox + .gallerybox { display: none; } .mw-gallery-slideshow-thumbnails-toggled ~ .gallerybox { display: inline-block !important; }

/* File pages */ background: url(https://halo.wiki.gallery/resources/src/mediawiki.action/images/checker.png) repeat; }
 * 1) file img, .filehistory a img {

/* Formatting fixes */ div[style*="column-count"] > p { margin: 0 !important; } span.comment, .mw-parser-output a.external.free, .filehistory.wikitable td[dir] { word-wrap: anywhere; }

/* Scrollable tables */ table.scrollable { display: block; overflow: auto; max-width: max-content; border: 0; }

/* Show/hide toggles */ .navbox .mw-collapsible-toggle { text-align: right; min-width: 3.729em; } .hideTem .mw-collapsible-toggle { min-width: 3em; text-align: right; margin: 1px 6px; } .wikitable.mw-collapsed .mw-collapsible-toggle { margin-left: 10px; }

/* Horizontal rule */ hr { overflow: hidden; }

/* Self-link color */ a.mw-selflink { color: inherit !important; }

/* Special:Preferences */
 * 1) mw-htmlform-mobile .oo-ui-inline-help { display: none; }

/* Special:Contact */ .mw-special-Contact fieldset div[data-ooui*="wpSubject"] { display: none; } .mw-special-Contact #wpCaptchaWord, .mw-special-Contact fieldset div[data-ooui*="HTMLInfoField"], .mw-special-Contact:not(.mobile) fieldset div[data-ooui*="wpCCme"] { margin-top: 2px; } .mw-special-Contact fieldset div[data-ooui*="CAPTCHA"] { margin-top: 1em; }

/* Watchlist expiry (icon fix) */ .oo-ui-icon-clock, .mw-ui-icon-clock::before { background-image: linear-gradient(transparent,transparent),url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2220%22 height=%2220%22 viewBox=%220 0 20 20%22%3E%3Ctitle%3Eclock%3C/title%3E%3Cpath d=%22M10 0a10 10 0 1010 10A10 10 0 0010 0zm2.5 14.5L9 11V4h2v6l3 3z%22/%3E%3C/svg%3E"); } .mw-changesList-watchlistExpiry.oo-ui-iconElement-icon { height: 13px; min-height: 13px; position: relative; top: -1px; opacity: 0.51; }

/* Tabs fix */ .tabbox:not(:first-of-type) { display: none; } .mobile .tabbox > .tab { margin-bottom: 6px; } .infobox .tabbox > .tab { margin-bottom: 12px; } .mobile .infobox .tabbox > .tab { margin-bottom: 14px; } .tabbox > .tab { margin-bottom: 9px; font-weight: bold; } .infobox.tabbed > .tabcontainer > .tabbox > .tab { margin-bottom: 9px; } .mobile .infobox.tabbed > .tabcontainer > .tabbox > .tab { margin-bottom: 5.5px; } .tabcontainer { top: -2px; z-index: 5; clear: both; position: relative; background-color: #f9f9f9; border: 1px solid #aaa; padding: 5px 10px; margin-bottom: 5px; } .infobox .tabcontainer { padding: 0; margin-bottom: 0; } .infobox:not(.tabbed) .tabcontainer { top: 0; }

/* User profile */ .profile-icon { width: 22px; height: 22px; background-size: 22px; display: inline-block; vertical-align: middle; margin-right: 4px; } .user-section-heading { clear: both; } @media all and (min-width: 720px) { #user-page-left > .profile-info-container > div { width: 50%; float: left; } }	color: #fff; font-weight: bold; } /* Edit profile */ .profile-tab-on, .profile-tab-on a { font-size: 100% !important; font-weight: bold !important; }	padding: 10px; } body.mw-special-UpdateProfile .firstHeading, body.mw-special-UploadAvatar .firstHeading { display: block; } body.mw-special-UpdateProfile #mw-content-text h1, body.mw-special-UploadAvatar #mw-content-text h1 { display: none; } /* Social headings */ .ns-2.action-view:not(.subpage) .pagetitle, .ns-200.action-view:not(.subpage) .pagetitle, .ns-202.action-view:not(.subpage) .pagetitle, .ns-2.action-view:not(.subpage) .firstHeading, .ns-200.action-view:not(.subpage) .firstHeading, .ns-202.action-view:not(.subpage) .firstHeading, .ns-2.action-view:not(.subpage) .page-heading, .ns-200.action-view:not(.subpage) .page-heading, .ns-202.action-view:not(.subpage) .page-heading, .ns-2.action-view:not(.subpage) .subtitle, .ns-200.action-view:not(.subpage) .subtitle, .ns-202.action-view:not(.subpage) .subtitle, .ns-2.action-view:not(.subpage) #siteSub, .ns-200.action-view:not(.subpage) #siteSub, .ns-202.action-view:not(.subpage) #siteSub, .ns-2.action-view:not(.subpage) #contentSub, .ns-200.action-view:not(.subpage) #contentSub, .ns-202.action-view:not(.subpage) #contentSub { display: none !important; }
 * 1) points-level {
 * 1) mw-content-text > .profile-on:first-child {

/* Special:WikiForum */ table.mw-wikiforum-frame { background: #fff; border: 0; border-spacing: 0 !important; }	width: 85%; border: 0 !important; } td.mw-wikiforum-title, tr.mw-wikiforum-marked { background: #fff; } tr.mw-wikiforum-sticky td.mw-wikiforum-title, tr.mw-wikiforum-sticky { background: #f5faff; } td.mw-wikiforum-title, th.mw-wikiforum-title, td.mw-wikiforum-admin, th.mw-wikiforum-admin, td.mw-wikiforum-value, th.mw-wikiforum-value, td.mw-wikiforum-lastpost, th.mw-wikiforum-lastpost { border-color: #ccc; } th.mw-wikiforum-thread-top { border: 1px solid #ccc; background: #cedff2; } td.mw-wikiforum-thread-main { padding: 0 10px; border: 1px solid #ccc; background: #f5faff; } td.mw-wikiforum-thread-sub { border: 1px solid #ccc; background: #fff; } .mw-wikiforum-thread-sub blockquote { font-size: 12px; padding: 0 10px 4px !important; margin-left: 0; margin-bottom: 10px; } .mw-wikiforum-thread-sub blockquote p:last-of-type { margin-bottom: 0; } .mw-wikiforum-thread-sub blockquote p.posted { margin-bottom: 6px !important; } .wikiforum-avatar-image + .mw-parser-output > blockquote { margin-right: 90px; } .mw-wikiforum-thread-sub blockquote > blockquote > blockquote > blockquote { display: none; } td.mw-wikiforum-thread-main .mw-parser-output, td.mw-wikiforum-thread-sub .mw-parser-output { margin-top: 12px; } table.mw-wikiforum-posted { margin-top: 10px; } td.mw-wikiforum-thread-main, td.mw-wikiforum-thread-sub { word-wrap: normal; word-break: break-word; } .wikiforum-avatar-image { padding: 2px 0 3px 5px; } td.mw-wikiforum-rightside a:hover { text-decoration: none; }	height: 11.5em !important; }
 * 1) txtSearch {
 * 1) writereply #wpTextbox1 {

/* Infoboxes */ .infobox:not(.tabbed) { border-radius: 0 0 10px 10px; } .infobox tr:not(:first-of-type) th:not([style*="font-size"]) { font-size: smaller !important; }

/* Infobox galleries */ .infobox .mw-gallery-slideshow-buttons { padding: 0 0 10px !important; } .infobox .mw-gallery-slideshow-img-container { min-height: 249px; } .infobox .mw-gallery-slideshow-caption, .infobox .gallerytext, .infobox .gallerytext p { margin: 0 !important; padding: 0 !important; } .mobile .infobox .mw-gallery-slideshow .thumb > div { margin-top: 0 !important; margin-bottom: 3px !important; } .mobile .infobox .mw-gallery-slideshow .gallerybox + .gallerybox { display: inline-block !important; } .mobile .infobox .mw-gallery-slideshow .gallerybox { width: 91px !important; } body:not(.mobile) .infobox .mw-gallery-slideshow > .gallerybox:first-of-type { height: 285px; }

/* Template:Tabbed infobox */ .infobox.tabbed table { display: block !important; float: none !important; width: auto !important; max-width: none !important; overflow-x: auto !important; margin: 0 !important; } .infobox.tabbed tbody { display: table !important; width: 100% !important; } .infobox.tabbed .infobox > tbody > tr:nth-child(2) img { image-rendering: auto !important; max-width: 100% !important; height: auto !important; } .mobile .infobox.tabbed > .tabtoc li { font-size: 13px !important; } @media all and (max-width:719px) { .mobile .infobox.tabbed { margin-bottom: 13.5px !important; } }

/* Template:Battle infobox */ .infobox.battle ul { margin-left: 0.8em; } .skin-minerva .infobox.battle ul { margin-left: 0; } .details-header .mw-collapsible-toggle { min-width: 3.25em; text-align: right; padding-right: 0.45em; } .details-table.mw-made-collapsible .details-header { padding-left: 3.6em; } .dark .infobox.battle .details-header { background: #222 !important; } @media all and (max-width: 719px) { .mobile .infobox.battle .details-table { word-wrap: anywhere; } }

/* Black and white font colors */ .blacknwhite { color: #000; } .dark .blacknwhite { color: #fff; }

/* User welcome - No user levels */ .mp-welcome-logged-in p { margin-top: 0; } .mp-welcome-logged-in h3, .mp-welcome-logged-in .cleared { display: none; }