Jump to content

MediaWiki:Vector-2022.css: Difference between revisions

From ICE List Wiki
No edit summary
Tag: Reverted
No edit summary
 
(5 intermediate revisions by the same user not shown)
Line 18: Line 18:
}
}


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


/* Give the header room for the bigger logo and vertically centre everything */
.mw-header {
.mw-header {
   min-height: 96px !important;
   min-height: 192px !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 */
/* Drop the wordmark text, let the logo stand alone */
.vector-search-box {
.mw-logo-wordmark,
   width: 100%;
.mw-logo-tagline { display: none !important; }
   max-width: 36em;
 
/* Desktop: big logo, tall header */
@media (min-width: 1000px) {
   .mw-logo-icon {
    width: 176px !important;
    height: 176px !important;
    background-size: contain !important;
   }
  .mw-header {
    min-height: 192px !important;
    align-items: center !important;
  }
}
}


/* Round the corners and enlarge the field and its button */
/* Mobile / narrow: normal visible logo, normal header */
.vector-search-box .cdx-text-input__input,
@media (max-width: 999px) {
.vector-search-box input {
  .mw-logo-icon {
  border-radius: 8px !important;
    display: inline-block !important;
  height: 2.5em !important;
    width: 50px !important;
  font-size: 1.05em !important;
    height: 50px !important;
}
    background-size: contain !important;
.vector-search-box .cdx-search-input__end-button,
   }
.vector-search-box button {
  border-radius: 8px !important;
   height: 2.5em !important;
}
}

Latest revision as of 02:01, 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;
}

.mw-logo-icon {
  width: 156px !important;
  height: 156px !important;
  background-size: contain !important;
}

.mw-header {
  min-height: 192px !important;
  align-items: center !important;
}

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

/* Desktop: big logo, tall header */
@media (min-width: 1000px) {
  .mw-logo-icon {
    width: 176px !important;
    height: 176px !important;
    background-size: contain !important;
  }
  .mw-header {
    min-height: 192px !important;
    align-items: center !important;
  }
}

/* Mobile / narrow: normal visible logo, normal header */
@media (max-width: 999px) {
  .mw-logo-icon {
    display: inline-block !important;
    width: 50px !important;
    height: 50px !important;
    background-size: contain !important;
  }
}