Jump to content

MediaWiki:Common.css

From Neoplasm
Revision as of 14:17, 28 December 2025 by Qiangnai (talk | contribs) (Created page with "CSS placed here will be applied to all skins: Hide the Main Page title (Vector/Vector 2022): .page-Main_Page h1.firstHeading { display: none; } Typography blocks (Google-Doc-like editing: page stays clean): .neoplasm-center { text-align: center; } .neoplasm-hero-title{ font-family: Arial, sans-serif; font-size: 2.0em; font-weight: 700; margin: 8px 0 10px 0; } .neoplasm-hero-subtitle{ font-size: 1.15em; line-height: 1.55; margin: 12px a...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Note: After publishing, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5.
/* CSS placed here will be applied to all skins */


/* Hide the Main Page title (Vector/Vector 2022) */
.page-Main_Page h1.firstHeading {
  display: none;
}

/* Typography blocks (Google-Doc-like editing: page stays clean) */
.neoplasm-center { text-align: center; }

.neoplasm-hero-title{
  font-family: Arial, sans-serif;
  font-size: 2.0em;
  font-weight: 700;
  margin: 8px 0 10px 0;
}

.neoplasm-hero-subtitle{
  font-size: 1.15em;
  line-height: 1.55;
  margin: 12px auto 18px auto;
  max-width: 1100px;
}

/* Tables (shared) */
.neoplasm-table{
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  font-weight: bold;
}

.neoplasm-table td,
.neoplasm-table th{
  padding: 8px 10px;
}

/* Table titles */
.neoplasm-table-title{
  color: #ffffff;
  background-color: #737373;
  font-size: 1.25em;
  text-align: center;
}

/* Stats table cells */
.neoplasm-stat{
  background-color: #bdbdbd;
  font-size: 1.5em;
  color: #000;
}

/* Quicklink “chips” */
.neoplasm-chip{
  color: #fff;
  font-size: 1.1em;
}

.neoplasm-chip a,
.neoplasm-chip a:visited{
  color: #fff;
  text-decoration: none;
}

.neoplasm-chip--solid     { background-color: #08519c; }
.neoplasm-chip--malignant { background-color: #cf0001; }
.neoplasm-chip--peds      { background-color: #ba871a; }
.neoplasm-chip--tx        { background-color: #4a1486; }
.neoplasm-chip--classical { background-color: #31a354; }

/* Disease grid table headers */
.neoplasm-major{
  color: #fff;
  font-size: 1.5em;
}

.neoplasm-major--solid { background-color: #08519c; }

/* Section headers inside a major group */
.neoplasm-minor{
  font-size: 1.25em;
  color: #000;
  background-color: #6baed6;
}

.neoplasm-sub{
  background-color: #bdd7e7;
  font-size: 1.1em;
}

/* Regular cells */
.neoplasm-cell{
  background-color: #eff3ff;
}

/* Width helper (replaces inline width:25%) */
.neoplasm-cell--w25{
  width: 25%;
}

/* Footer link */
.neoplasm-footer-link{
  font-size: 1.2em;
  margin-top: 20px;
}