Jump to content

MediaWiki:Common.css: Difference between revisions

From Battle Cats Game Modding Wiki
No edit summary
No edit summary
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
.mw-logo {
.mw-logo-icon {
    background-color: white; /* Set background to white */
     border-radius: 10%;
     border-radius: 50%; /* Make it a circle */
     background-color: white;
     display: flex; /* Center content if needed */
    align-items: center; /* Center content vertically */
    justify-content: center; /* Center content horizontally */
    overflow: hidden; /* Prevent overflow if necessary */
    position: relative; /* Positioning context for child elements */
}
 
.mw-logo-icon img {
    width: 100%; /* Ensure the image fits within the circle */
    height: auto; /* Maintain aspect ratio */
}
}

Latest revision as of 17:40, 5 September 2025

.mw-logo-icon {
    border-radius: 10%;
    background-color: white;
}