MediaWiki:Vector-2022.css: Difference between revisions

From Bose Portable PA Knowledge
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Tag: Manual revert
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
/* Force Vector-2022 to show the full logo */
/* ============================================================
.vector-header-logo {
  Force Vector-2022 to show the image logo instead of wordmark
     max-height: 60px !important;
  ============================================================ */
 
/* Ensure the logo container is visible and not clipped */
.mw-logo,
.mw-logo-icon {
     display: block !important;
     max-width: none !important;
     max-width: none !important;
     width: auto !important;
     max-height: none !important;
     overflow: visible !important;
     overflow: visible !important;
}
}
.vector-header-logo img {
 
/* Force the actual logo image to render */
.mw-logo img,
.mw-logo-icon img {
     display: block !important;
     display: block !important;
    width: auto !important;
    height: 60px !important;  /* Adjust this to taste */
    object-fit: contain !important;
}
}
.vector-header-wordmark {
 
/* Hide the Vector-2022 wordmark so the logo takes priority */
.vector-header-wordmark,
.vector-wordmark,
.vector-logo-wordmark {
     display: none !important;
     display: none !important;
}
/* Optional: give the logo a little breathing room */
.mw-logo {
    margin-right: 12px !important;
}
}

Latest revision as of 22:27, 1 April 2026

/* ============================================================
   Force Vector-2022 to show the image logo instead of wordmark
   ============================================================ */

/* Ensure the logo container is visible and not clipped */
.mw-logo,
.mw-logo-icon {
    display: block !important;
    max-width: none !important;
    max-height: none !important;
    overflow: visible !important;
}

/* Force the actual logo image to render */
.mw-logo img,
.mw-logo-icon img {
    display: block !important;
    width: auto !important;
    height: 60px !important;   /* Adjust this to taste */
    object-fit: contain !important;
}

/* Hide the Vector-2022 wordmark so the logo takes priority */
.vector-header-wordmark,
.vector-wordmark,
.vector-logo-wordmark {
    display: none !important;
}

/* Optional: give the logo a little breathing room */
.mw-logo {
    margin-right: 12px !important;
}