MediaWiki:Common.css: Difference between revisions
Appearance
No edit summary |
No edit summary |
||
| Line 22: | Line 22: | ||
} | } | ||
/* | /* Style the modern Donate submit button */ | ||
.custom-donate-btn { | |||
background-color: #0070ba; | background-color: #0070ba; | ||
color: #ffffff; | color: #ffffff; | ||
border: none; | |||
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; | font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; | ||
font-size: 13px; | font-size: 13px; | ||
| Line 43: | Line 36: | ||
} | } | ||
.custom-donate-btn:hover { | |||
background-color: #005ea6; | 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;
}