MediaWiki:Common.css
Appearance
Note: After publishing, you may have to bypass your browser's cache to see the changes.
- Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
- Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
- Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5.
/* 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;
}