Jump to content

MediaWiki:Vector-2022.css: Difference between revisions

From ICE List Wiki
No edit summary
No edit summary
Tag: Reverted
Line 29: Line 29:
   min-height: 96px !important;
   min-height: 96px !important;
   align-items: center !important;
   align-items: center !important;
}
/* Centre the search box in the header */
#p-search {
  flex-grow: 1;
  display: flex;
  justify-content: center;
}
/* Widen it a touch */
.vector-search-box {
  width: 100%;
  max-width: 36em;
}
/* Round the corners and enlarge the field and its button */
.vector-search-box .cdx-text-input__input,
.vector-search-box input {
  border-radius: 8px !important;
  height: 2.5em !important;
  font-size: 1.05em !important;
}
.vector-search-box .cdx-search-input__end-button,
.vector-search-box button {
  border-radius: 8px !important;
  height: 2.5em !important;
}
}

Revision as of 01:20, 31 May 2026

/* White page background (uses the theme token so dark mode still works) */
body,
.mw-page-container {
  background-color: var(--background-color-base, #fff) !important;
}

/* Remove the border wrapping the centre/content section */
.mw-page-container,
.mw-content-container,
.mw-body {
  border: none !important;
}

/* Drop the "ICE List Wiki" wordmark text, let the logo stand alone */
.mw-logo-wordmark,
.mw-logo-tagline {
  display: none !important;
}

/* Enlarge the logo and make the image scale to fill the box */
.mw-logo-icon {
  width: 88px !important;
  height: 88px !important;
  background-size: contain !important;
}

/* Give the header room for the bigger logo and vertically centre everything */
.mw-header {
  min-height: 96px !important;
  align-items: center !important;
}
/* Centre the search box in the header */
#p-search {
  flex-grow: 1;
  display: flex;
  justify-content: center;
}

/* Widen it a touch */
.vector-search-box {
  width: 100%;
  max-width: 36em;
}

/* Round the corners and enlarge the field and its button */
.vector-search-box .cdx-text-input__input,
.vector-search-box input {
  border-radius: 8px !important;
  height: 2.5em !important;
  font-size: 1.05em !important;
}
.vector-search-box .cdx-search-input__end-button,
.vector-search-box button {
  border-radius: 8px !important;
  height: 2.5em !important;
}