MediaWiki:Common.css: Difference between revisions
Appearance
FrankMuraca (talk | contribs) Created page with "→CSS placed here will be applied to all skins: →Hide mobile-only blocks on desktop skins: .mw-mobile-only { display: none; } →Allow mobile skin (Minerva) to control visibility itself: .skin-minerva .mw-mobile-only { display: block; } →Ensure desktop-only blocks show on desktop and hide on Minerva: .skin-minerva .nomobile { display: none; }" |
FrankMuraca (talk | contribs) No edit summary |
||
| (6 intermediate revisions by the same user not shown) | |||
| Line 13: | Line 13: | ||
.skin-minerva .nomobile { | .skin-minerva .nomobile { | ||
display: none; | display: none; | ||
} | |||
/* Make Main Page flush at top */ | |||
.page-Main_Page .mw-body, | |||
.page-Main_Page #content, | |||
.page-Main_Page .mw-body-content { | |||
padding-top: 0 !important; | |||
margin-top: 0 !important; | |||
} | |||
.page-Main_Page .firstHeading { | |||
display: none; | |||
} | |||
/* Highlight Buy Me a Coffee link in sidebar */ | |||
#mw-panel a[href*="buymeacoffee.com/Raleighpedia"] { | |||
color: #e67e22; /* soft orange */ | |||
font-weight: 550; | |||
} | } | ||
Latest revision as of 15:56, 29 January 2026
/* CSS placed here will be applied to all skins */
/* Hide mobile-only blocks on desktop skins */
.mw-mobile-only {
display: none;
}
/* Allow mobile skin (Minerva) to control visibility itself */
.skin-minerva .mw-mobile-only {
display: block;
}
/* Ensure desktop-only blocks show on desktop and hide on Minerva */
.skin-minerva .nomobile {
display: none;
}
/* Make Main Page flush at top */
.page-Main_Page .mw-body,
.page-Main_Page #content,
.page-Main_Page .mw-body-content {
padding-top: 0 !important;
margin-top: 0 !important;
}
.page-Main_Page .firstHeading {
display: none;
}
/* Highlight Buy Me a Coffee link in sidebar */
#mw-panel a[href*="buymeacoffee.com/Raleighpedia"] {
color: #e67e22; /* soft orange */
font-weight: 550;
}