MediaWiki:Gadget-GlobalStyle.css: Difference between revisions
From the Super Mario Wiki, the Mario encyclopedia
Jump to navigationJump to search
No edit summary |
No edit summary |
||
Line 2: | Line 2: | ||
The "mobile" body class can be used to target mobile specifically */ | The "mobile" body class can be used to target mobile specifically */ | ||
body.anon.ns-content.mobile #stub, | body.anon.ns-content.action-view.mobile #stub, | ||
body.anon.ns-content .notice-template:not(.show) { | body.anon.ns-content.action-view .notice-template:not(.show) { | ||
display: none !important; | display: none !important; | ||
} | } | ||
body.anon.ns-content:not(.mobile) .notice-template.show { | body.anon.ns-content.action-view:not(.mobile) .notice-template.show { | ||
margin-top: 0 !important; | margin-top: 0 !important; | ||
} | } |
Revision as of 09:29, October 28, 2020
/* CSS placed here will be applied to all skins on both desktop and mobile
The "mobile" body class can be used to target mobile specifically */
body.anon.ns-content.action-view.mobile #stub,
body.anon.ns-content.action-view .notice-template:not(.show) {
display: none !important;
}
body.anon.ns-content.action-view:not(.mobile) .notice-template.show {
margin-top: 0 !important;
}
/* Special:Preferences */
#mw-htmlform-mobile .oo-ui-inline-help {
display: none;
}