MediaWiki:Common.css: Difference between revisions
Appearance
No edit summary |
No edit summary |
||
| Line 21: | Line 21: | ||
} | } | ||
/* Add ConnexAbility logo next to Powered by MediaWiki */ | /* Add ConnexAbility logo next to Powered by MediaWiki */ | ||
#footer-icons:before { | #footer-icons:before { | ||
content: ""; | content: ""; | ||
display: inline- | display: inline-flex; | ||
width: | justify-content: center; | ||
height: | align-items: center; | ||
width: 100px; /* slightly wider to match clean spacing */ | |||
height: 40px; /* matches MediaWiki badge height feel */ | |||
background-image: url("/images/AConnexAbilityProject.svg"); | background-image: url("/images/AConnexAbilityProject.svg"); | ||
background-size: | background-size: 80% auto; /* gives space around the logo */ | ||
background-position: center; | |||
background-repeat: no-repeat; | background-repeat: no-repeat; | ||
border: 1px solid # | |||
/* Match MediaWiki border style */ | |||
border: 1px solid #a2a9b1; | |||
border-radius: 4px; | border-radius: 4px; | ||
background-color: #fff; | |||
padding: 4px 8px; /* same internal spacing */ | |||
margin-right: 16px; /* same gap before MediaWiki icon */ | |||
box-sizing: border-box; | |||
} | } | ||
Revision as of 20:18, 7 December 2025
/* CSS placed here will be applied to all skins */
/* Hide the site title next to the logo */
.mw-wiki-title,
.mw-logo-wordmark,
#p-logo-text {
display: none !important;
}
/* Show big logo image where the title text normally is */
.mw-logo-wordmark {
display: block !important; /* make it visible again */
width: 220px; /* adjust size if needed */
height: 40px;
margin-top: 15px;
background-image: url("https://bharatwikipedia.org/images/BharatWikipedia.svg");
background-repeat: no-repeat;
background-size: contain;
text-indent: -9999px; /* hides the text inside */
overflow: hidden;
white-space: nowrap;
}
/* Add ConnexAbility logo next to Powered by MediaWiki */
#footer-icons:before {
content: "";
display: inline-flex;
justify-content: center;
align-items: center;
width: 100px; /* slightly wider to match clean spacing */
height: 40px; /* matches MediaWiki badge height feel */
background-image: url("/images/AConnexAbilityProject.svg");
background-size: 80% auto; /* gives space around the logo */
background-position: center;
background-repeat: no-repeat;
/* Match MediaWiki border style */
border: 1px solid #a2a9b1;
border-radius: 4px;
background-color: #fff;
padding: 4px 8px; /* same internal spacing */
margin-right: 16px; /* same gap before MediaWiki icon */
box-sizing: border-box;
}