MediaWiki:Common.css: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| Line 78: | Line 78: | ||
.icelist-donate-slim a:hover { | .icelist-donate-slim a:hover { | ||
text-decoration: underline; | text-decoration: underline; | ||
} | |||
.icelist-donate-slim { | |||
position: fixed; | |||
top: 0; | |||
left: 0; | |||
z-index: 9999; | |||
width: 100%; | |||
} | } | ||
Revision as of 08:10, 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;
}
/* 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;
}
.icelist-donate-slim {
position: fixed;
top: 0;
left: 0;
z-index: 9999;
width: 100%;
}