MediaWiki:Common.css: Difference between revisions
Appearance
No edit summary |
No edit summary |
||
| Line 20: | Line 20: | ||
#vector-appearance-dropdown { | #vector-appearance-dropdown { | ||
display: none !important; | display: none !important; | ||
} | |||
/* Replace the glossy PayPal GIF with a modern flat Donate button */ | |||
#p-donatebutton input[type="image"], | |||
#p-donatebutton img { | |||
display: none !important; | |||
} | |||
#p-donatebutton form::after, | |||
#p-donatebutton a::after { | |||
content: "♥ Donate"; | |||
display: inline-block; | |||
background-color: #0070ba; | |||
color: #ffffff; | |||
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; | |||
} | |||
#p-donatebutton form:hover::after, | |||
#p-donatebutton a:hover::after { | |||
background-color: #005ea6; | |||
} | } | ||
Revision as of 19:18, 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;
}
/* Replace the glossy PayPal GIF with a modern flat Donate button */
#p-donatebutton input[type="image"],
#p-donatebutton img {
display: none !important;
}
#p-donatebutton form::after,
#p-donatebutton a::after {
content: "♥ Donate";
display: inline-block;
background-color: #0070ba;
color: #ffffff;
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;
}
#p-donatebutton form:hover::after,
#p-donatebutton a:hover::after {
background-color: #005ea6;
}