Jump to content

MediaWiki:Common.css: Difference between revisions

From Evil...ish
No edit summary
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 2: Line 2:


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

Latest revision as of 20:06, 13 January 2026

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

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

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