Jump to content

MediaWiki:Common.css: Difference between revisions

From Idle Lumber Empire Wiki
Style accessible contextual report-correction link
Hide Discussion tab leading to disabled editor on reader-only fan wiki; preserve site brand CSS
Line 96: Line 96:
     color:#195a42;
     color:#195a42;
     font-weight:600;
     font-weight:600;
}
/* IDLELUMBER_HIDE_UNUSABLE_DISCUSSION_TAB_20261126
  The owner has disabled public/reader wiki editing, including Talk pages.
  Hide the misleading 'Discussion' link that points to a redlink editor.
  This is presentation only; MediaWiki permission restrictions still apply. */
#ca-talk, #ca-addtopic {
  display: none !important;
}
}

Revision as of 05:19, 26 November 2026

/* Idle Lumber Empire Wiki: owner-approved brand banner; no image substitutions. */
.mw-logo-icon {
  width: 52px !important;
  height: 52px !important;
  object-fit: cover;
  object-position: left center;
  border-radius: 9px;
}
.mw-logo-container { align-items: center; }
.mw-logo-wordmark { max-width: 145px; }
.mw-parser-output .idlewiki-hero {
  display:block;
  width:100%;
  aspect-ratio:3/1;
  background: #eef6f1 url("/w/resources/assets/IdleLumberWiki_Approved_Banner_Exact.png") center center / contain no-repeat;
  border-radius:13px;
  overflow:hidden;
  margin:0 0 1.3rem 0;
}
.mw-parser-output .idlewiki-intro {
  padding:.2rem 0 1rem;
  font-size:1.075rem;
  line-height:1.68;
  color:#304338;
}
.mw-parser-output .idlewiki-intro strong {color:#1f5b43}
.mw-parser-output .idlewiki-grid {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:1rem;
  margin:1.3rem 0 1.9rem;
}
.mw-parser-output .idlewiki-card {
  border:1px solid #d9e6dc;
  border-radius:12px;
  background:linear-gradient(155deg,#fff 55%,#f4f8f4 100%);
  padding:1.15rem 1.25rem;
  box-shadow:0 2px 8px rgba(16,43,30,.035);
}
.mw-parser-output .idlewiki-card h3 {
  font-size:1.19rem;
  line-height:1.35;
  border:0;
  margin:0 0 .45rem;
  padding:0;
  font-weight:700;
  color:#205d44;
}
.mw-parser-output .idlewiki-card h3 a {color:#205d44}
.mw-parser-output .idlewiki-card p {
  font-size:.97rem;
  line-height:1.55;
  margin:0 0 .7rem;
}
.mw-parser-output .idlewiki-card ul {padding-left:1.1rem;margin:0}
.mw-parser-output .idlewiki-card li {margin:.15rem 0}
.mw-parser-output .idlewiki-note {
  border-left:4px solid #d4a23f;
  background:#fcf9ed;
  padding:.8rem 1rem;
  margin:1.1rem 0;
  color:#534b35;
}
.mw-parser-output .idlewiki-footer-cta {
  padding:1.2rem;
  border-radius:10px;
  background:#eef5f0;
  border:1px solid #d0e1d6;
  margin:1.6rem 0 1rem;
}
.mw-parser-output .idlewiki-kicker {
  font-size:.8rem;
  font-weight:700;
  color:#55735e;
  letter-spacing:.085em;
  text-transform:uppercase;
  margin:.4rem 0;
}
@media (max-width:720px) {
  .mw-parser-output .idlewiki-grid {grid-template-columns:1fr;gap:.8rem}
  .mw-parser-output .idlewiki-card {padding:.9rem 1rem}
  .mw-parser-output .idlewiki-intro {font-size:1rem}
  .mw-parser-output .idlewiki-hero {border-radius:8px}
  .mw-logo-icon {width:42px !important;height:42px !important}
}

/* Link added to each article by the documented MediaWiki site script. */
.mw-parser-output .idlewiki-report-this-page {
    margin:1.8rem 0 .3rem;
    padding:.65rem .8rem;
    background:#f1f7f2;
    border-left:3px solid #679a76;
    font-size:.875rem;
}
.mw-parser-output .idlewiki-report-this-page a {
    color:#195a42;
    font-weight:600;
}

/* IDLELUMBER_HIDE_UNUSABLE_DISCUSSION_TAB_20261126
   The owner has disabled public/reader wiki editing, including Talk pages.
   Hide the misleading 'Discussion' link that points to a redlink editor.
   This is presentation only; MediaWiki permission restrictions still apply. */
#ca-talk, #ca-addtopic {
  display: none !important;
}