MediaWiki:Common.css: Difference between revisions
Appearance
No edit summary |
No edit summary |
||
| (2 intermediate revisions by the same user not shown) | |||
| Line 13: | Line 13: | ||
#p-donatebutton-label { | #p-donatebutton-label { | ||
display: none !important; | display: none !important; | ||
} | |||
/* Hide the right-hand Appearance sidebar in Vector 2022 */ | |||
.vector-appearance-landmark, | |||
#vector-appearance-pinned-container, | |||
#vector-appearance-dropdown { | |||
display: none !important; | |||
} | |||
/* Style the modern Donate submit button */ | |||
.custom-donate-btn { | |||
background-color: #0070ba; | |||
color: #ffffff; | |||
border: none; | |||
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; | |||
font-size: 13px; | |||
font-weight: 600; | |||
padding: 7px 18px; | |||
border-radius: 6px; | |||
cursor: pointer; | |||
transition: background-color 0.15s ease; | |||
} | |||
.custom-donate-btn:hover { | |||
background-color: #005ea6; | |||
} | } | ||
Latest revision as of 19:26, 18 November 2026
/* CSS placed here will be applied to all skins */
css
/* Hide the redundant upper-right Tools menu in Vector 2022 */
#vector-page-tools-dropdown,
.vector-page-tools-landmark {
display: none !important;
}
/* Hide the Donate heading in Vector 2022 */
#p-donatebutton .vector-menu-heading,
#p-donatebutton .vector-pinnable-header,
#p-donatebutton .mw-portlet-header,
#p-donatebutton-label {
display: none !important;
}
/* Hide the right-hand Appearance sidebar in Vector 2022 */
.vector-appearance-landmark,
#vector-appearance-pinned-container,
#vector-appearance-dropdown {
display: none !important;
}
/* Style the modern Donate submit button */
.custom-donate-btn {
background-color: #0070ba;
color: #ffffff;
border: none;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
font-size: 13px;
font-weight: 600;
padding: 7px 18px;
border-radius: 6px;
cursor: pointer;
transition: background-color 0.15s ease;
}
.custom-donate-btn:hover {
background-color: #005ea6;
}