MediaWiki:Common.css: Difference between revisions

From Ikwipedia
No edit summary
Tag: Reverted
No edit summary
Tag: Reverted
Line 11: Line 11:
     background-repeat: no-repeat; /* Avoid tiling */
     background-repeat: no-repeat; /* Avoid tiling */
}
}
body { background-color: red; }

Revision as of 03:32, 4 November 2024

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

/* CSS for consistent logo size and positioning across all pages */
.mw-wiki-logo {
    width: 100%; /* Scale the logo to fit container width */
    max-width: 135px !important; /* Limit maximum width */
    height: auto; /* Preserve aspect ratio */
    max-height: 135px; /* Limit maximum height */
    background-size: contain; /* Ensure logo scales to fit */
    background-position: center; /* Center the logo */
    background-repeat: no-repeat; /* Avoid tiling */
}

body { background-color: red; }