MediaWiki:Common.css

Revision as of 12:05, 13 July 2025 by Gvihar (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.
/* ===== Final Fix: Remove top empty space in Vector 2022 header ===== */

/* Remove unwanted padding in Vector 2022 */
.vector-header {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    min-height: 0 !important;
    height: auto !important;
}

.vector-header-container, .vector-sticky-header {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    height: auto !important;
    min-height: 0 !important;
}

/* Logo wrapper adjustments */
.vector-header-start, .vector-header-logo, .mw-logo-icon {
    margin: 0 !important;
    padding: 0 !important;
    height: auto !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* Adjust logo image size */
.vector-header-logo, .mw-logo-icon {
    width: 100px !important;  /* Adjust as needed */
    background-size: contain !important;
    background-repeat: no-repeat !important;
    background-position: center center !important;
}


/* ===== Hide site title in Vector 2022 ===== */
.vector-header .vector-header-start .mw-logo-wordmark,
.vector-header .vector-header-start .vector-header-wiki-name {
    display: none !important;
}