Jump to content

MediaWiki:Vector.css: Difference between revisions

From Transight Wiki
No edit summary
No edit summary
Line 1: Line 1:
/* Resize site logo */
/* For Vector 2022 Skin */
.mw-logo-icon {
.vector-header-logo {
     width: 180px !important;
     max-width: 200px !important; /* Change width as needed */
     height: auto !important;
     max-height: 60px !important;  /* Adjust height */
    padding: 0 !important;
    margin: 0 !important;
}
}


/* Optional: resize the wordmark if used */
/* For classic Vector logo container */
.mw-logo-container,
.mw-logo-icon {
.vector-header-logo {
    width: 200px !important;  /* Or your preferred width */
     max-height: 100px !important;
     height: auto !important; /* Maintain aspect ratio */
}
}


/* Optional: if logo is in the header */
/* Optional: Adjust logo position */
.vector-logo {
.vector-header .mw-logo-container {
     max-width: 180px !important;
     padding-top: 5px;
    height: auto !important;
}
}

Revision as of 11:18, 19 June 2025

/* For Vector 2022 Skin */
.vector-header-logo {
    max-width: 200px !important;  /* Change width as needed */
    max-height: 60px !important;  /* Adjust height */
    padding: 0 !important;
    margin: 0 !important;
}

/* For classic Vector logo container */
.mw-logo-icon {
    width: 200px !important;  /* Or your preferred width */
    height: auto !important;  /* Maintain aspect ratio */
}

/* Optional: Adjust logo position */
.vector-header .mw-logo-container {
    padding-top: 5px;
}