MediaWiki:Common.css: Difference between revisions

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;
}
}