MediaWiki:Common.css: Difference between revisions

From Καλόξύς
No edit summary
No edit summary
 
(6 intermediate revisions by the same user not shown)
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 */
/* The Kaloxys title next to the logo */
#p-logo, #p-logo a, #p-logo img {
.mw-logo-wordmark {
    height: 135px;
font: 40px Georgia, serif;
    width: auto; /* This ensures the width adjusts to maintain aspect ratio */
color: #000000;
    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 */
}
}

Latest revision as of 13:15, 8 December 2024

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

/* The Kaloxys title next to the logo */
.mw-logo-wordmark {
	font: 40px Georgia, serif;
	color: #000000;
}