Jump to content

MediaWiki:Common.css

From λ LUMENWARD
Revision as of 12:59, 14 December 2025 by Kauku (talk | contribs)

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.
/* =========================================================
   Lumenward: force neutral link + logo colors (no layout changes)
   ========================================================= */

/* Logo text: always black */
.mw-logo a,
.mw-logo a:visited,
.mw-logo a:hover,
.mw-logo a:active {
  color: #000 !important;
  text-decoration: none !important;
}

/* All links: black (including visited) */
a,
a:visited {
  color: #111 !important;
}

/* Hover: underline only (no color shift) */
a:hover,
a:focus {
  color: #111 !important;
  text-decoration: underline !important;
}

/* Contents / TOC links specifically (these are the ones showing purple) */
.vector-toc a,
.vector-toc a:visited,
#toc a,
#toc a:visited {
  color: #111 !important;
}

/* =========================================================
   Lumenward: prevent GitHub/Discord from wrapping/truncating
   (targets the wrapper you added via Common.js)
   ========================================================= */
#lumenward-header-links {
  white-space: nowrap !important;
  flex-wrap: nowrap !important;
}

#lumenward-header-links a {
  white-space: nowrap !important;
}

/* =========================================================
   Lumenward: remove magnifying-glass icon inside the search input
   (Vector 2022 / Codex)
   ========================================================= */
.cdx-search-input__icon {
  display: none !important;
}
.cdx-search-input__input {
  padding-left: 10px !important; /* keep text aligned after icon removal */
}