MediaWiki:Gadget-GlobalStyle.css: Difference between revisions

From Destinypedia, the Destiny wiki

No edit summary
No edit summary
Line 29: Line 29:


/* Tabs fix */
/* Tabs fix */
.tabbox:not(:first-of-type) {
.tabbox > .tab { margin-bottom: 8px; }
display: none;
.tabbox:not(:first-of-type) { display: none; }
}

Revision as of 16:44, November 19, 2020

/* 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 */

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

/* SiteNotice */
#localNotice a.external {
	padding: 0 !important;
	background: none !important;
}

/* Galleries */
.gallery.center {
	margin-left: auto !important;
	margin-right: auto !important;
}

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

/* Tabs fix */
.tabbox > .tab { margin-bottom: 8px; }
.tabbox:not(:first-of-type) { display: none; }