Jump to content

MediaWiki:Common.css

From λ LUMENWARD
Revision as of 19:02, 13 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.
/* =========================================================
   Main Page: keep ONE search bar (header), hide sticky duplicate
   ========================================================= */

/* 1) HIDE the sticky/duplicate header (this is the second search UI) */
.page-Main_Page .vector-sticky-header,
.page-Main_Page .vector-sticky-header-container {
  display: none !important;
}

/* 2) SHOW the normal header search no matter what previous rules did */
.page-Main_Page .mw-header #p-search,
.page-Main_Page .mw-header .vector-search-box,
.page-Main_Page .mw-header .mw-search {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

/* 3) Make the header search look like the hero */
.page-Main_Page .mw-header .vector-search-box {
  max-width: 720px !important;
  margin: 28px auto 0 !important;
}