MediaWiki:Common.css: Difference between revisions

From Καλόξύς
No edit summary
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 */


/* Set the height of the logo */
.mw-logo-wordmark {
#p-logo, #p-logo a, #p-logo img {
font: 24px Georgia, serif;
    height: 135px;
    width: auto; /* This ensures the width adjusts to maintain aspect ratio */
    object-fit: contain; /* This ensures the image scales down to fit its container while maintaining aspect ratio */
}
 
/* Optional: If you want to ensure it doesn't exceed a certain width */
#p-logo img {
    max-width: 100%; /* This ensures the logo doesn't exceed its container's width */
}
}

Revision as of 11:45, 4 December 2024

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

.mw-logo-wordmark {
	font: 24px Georgia, serif;
}