Jump to content

MediaWiki:Common.css: Difference between revisions

From ICE List Wiki
No edit summary
No edit summary
Line 1: Line 1:
/* CSS placed here will be applied to all skins */
/* CSS placed here will be applied to all skins */
/* Donate banner */
/** Slim donation banner **/
.donate-banner {
.icelist-donate-banner {
ย  background: #fbecec;
ย ย  ย  background: #fff8f8;
ย  border: 1px solid #f3332b;
ย ย  ย  border-bottom: 1px solid #e7bcbc;
ย  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;
ย ย  ย  text-align: center;
ย ย  ย  font-size: 0.82em;
ย  ย  padding: 6px 0;
ย  ย  color: #444;
ย ย  ย  font-size: 0.85em;
}
}
ย 
.icelist-donate-banner a {
.icelist-donate-slim a {
ย  ย  color: #aa0000; /* subtle but visible */
ย ย  ย  font-weight: bold;
ย ย  ย  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%;
}
/* Slim donate bar at top */
#siteNotice {
ย  margin: 0;
ย  padding: 0;
}
.donate-banner {
ย  background: #fff7f7;
ย  border-bottom: 1px solid #f3b3b3;
ย  text-align: center;
ย  padding: 4px 0;
ย  font-size: 0.9em;
}
.donate-banner a {
ย  font-weight: bold;
ย  text-decoration: underline;
}
}

Revision as of 09:23, 23 November 2025

/* CSS placed here will be applied to all skins */
/** Slim donation banner **/
.icelist-donate-banner {
    background: #fff8f8;
    border-bottom: 1px solid #e7bcbc;
    text-align: center;
    padding: 6px 0;
    font-size: 0.85em;
}
.icelist-donate-banner a {
    font-weight: bold;
}