Jump to content

MediaWiki:Common.css: Difference between revisions

From Evil...ish
No edit summary
No edit summary
Line 2: Line 2:


/* Adjust the logo size */
/* Adjust the logo size */
.mw-header-logo a, .mw-logo a {
.mw-logo-container a { /* Or the correct selector for your skin */
    width: 300px; /* Example: new width in pixels */
  width: 200px;
    height: 300px; /* Example: new height in pixels */
  height: 200px;
    background-size: 100% 100%; /* Ensures the entire image is displayed */
  background-size: contain; /* Ensures the whole image is visible */
}
 
.mw-logo-container img.mw-logo-icon {
    width: 200px;
    height: 200px;
}
}
}

Revision as of 19:50, 13 January 2026

/* CSS placed here will be applied to all skins */

/* Adjust the logo size */
.mw-logo-container a { /* Or the correct selector for your skin */
  width: 200px;
  height: 200px;
  background-size: contain; /* Ensures the whole image is visible */
}

.mw-logo-container img.mw-logo-icon {
    width: 200px;
    height: 200px;
}
}