Jump to content

MediaWiki:Common.css: Difference between revisions

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


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


.mw-logo-container img.mw-logo-icon {
.mw-logo img.mw-logo-icon {
     width: 200px;
     width: 175px;
     height: 200px;
     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;
}
}