Jump to content

MediaWiki:Common.css: Difference between revisions

From λ LUMENWARD
No edit summary
No edit summary
Line 1: Line 1:
/* =========================================================
/* SAFE BASELINE */
  Main Page: keep ONE search bar (header), hide sticky duplicate
  ========================================================= */


/* 1) HIDE the sticky/duplicate header (this is the second search UI) */
/* Text logo black */
.page-Main_Page .vector-sticky-header,
.mw-logo,
.page-Main_Page .vector-sticky-header-container {
.mw-logo a,
   display: none !important;
.mw-logo a:visited,
.mw-logo a:hover,
.mw-logo a:active {
   color: #000 !important;
}
}
.mw-logo a:hover { text-decoration: none !important; }


/* 2) SHOW the normal header search no matter what previous rules did */
/* Remove Powered by MediaWiki safely */
.page-Main_Page .mw-header #p-search,
#footer-poweredby,
.page-Main_Page .mw-header .vector-search-box,
#footer-poweredbyico,
.page-Main_Page .mw-header .mw-search {
.mw-poweredby {
   display: block !important;
   display: none !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;
}
}

Revision as of 19:06, 13 December 2025

/* SAFE BASELINE */

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

/* Remove Powered by MediaWiki safely */
#footer-poweredby,
#footer-poweredbyico,
.mw-poweredby {
  display: none !important;
}