MediaWiki:Common.css: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| Line 39: | Line 39: | ||
} | } | ||
.mp-donate { | /* Main page donate section */ | ||
border: 1px solid # | .mp-donate-section { | ||
background: # | border: 1px solid #ddd; | ||
padding: | background: #fafafa; | ||
margin: 0 | 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; | |||
} | } | ||
Revision as of 08:02, 23 November 2025
/* 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;
}