MediaWiki:Common.css: Difference between revisions

From Καλόξύς
Created page with "→‎CSS placed here will be applied to all skins: →‎Logo style: .mw-wiki-logo img { max-height:100%; max-width:100%; }"
 
No edit summary
Line 1: Line 1:
/* CSS placed here will be applied to all skins */
/* CSS placed here will be applied to all skins */
/* Logo style */
/* Logo */
.mw-wiki-logo img {
.mw-wiki-logo img {
max-height:100%;  
width: 100%; /* Fill the width of the container */
max-width:100%;
    height: 100%; /* Fill the height of the container */
    object-fit: cover; /* or 'contain' depending on your needs */
}
}

Revision as of 21:02, 2 December 2024

/* CSS placed here will be applied to all skins */
/* Logo */
.mw-wiki-logo img {
	width: 100%; /* Fill the width of the container */
    height: 100%; /* Fill the height of the container */
    object-fit: cover; /* or 'contain' depending on your needs */
}