MediaWiki:Common.css
Note: After publishing, you may have to bypass your browser's cache to see the changes.
- Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
- Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
- Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5.
/* CSS placed here will be applied to all skins */
/* Donate banner */
.donate-banner {
background: #fbecec;
border: 1px solid #f3332b;
padding: 0.75em 1em;
margin: 0 0 1em 0;
text-align: center;
font-size: 0.95em;
line-height: 1.4;
}
.donate-banner strong {
margin-right: 0.4em;
}
.donate-banner a.donate-banner-button {
display: inline-block;
margin-left: 0.6em;
padding: 0.35em 0.9em;
border-radius: 999px;
text-decoration: none;
border: 1px solid #f3332b;
font-weight: bold;
}
.donate-banner a.donate-banner-button:hover {
background: #f3332b;
color: #ffffff;
}
.skin-vector-2022 .mw-anonuser .donate-banner,
.mw-anonuser .donate-banner {
display: block;
}
.mw-user .donate-banner {
display: none;
}
/* Main page donate section */
.mp-donate-section {
border: 1px solid #ddd;
background: #fafafa;
padding: 1em 1.2em;
margin: 1em 0;
}
.mp-donate-section h2 {
margin-top: 0;
}
.mp-donate-section .mp-donate-cta a {
text-decoration: none;
}
.mp-donate-section .mp-donate-cta a:hover {
text-decoration: underline;
}
/* Slim Donate Ribbon */
.icelist-donate-slim {
width: 100%;
background: #f8f8f8;
border-bottom: 1px solid #ddd;
padding: 4px 0;
text-align: center;
font-size: 0.82em;
color: #444;
}
.icelist-donate-slim a {
color: #aa0000; /* subtle but visible */
font-weight: bold;
text-decoration: none;
}
.icelist-donate-slim a:hover {
text-decoration: underline;
}