MediaWiki:Common.css: Difference between revisions
Appearance
Created page with "→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; }" |
No edit summary |
||
| Line 4: | Line 4: | ||
.mw-logo-wordmark, | .mw-logo-wordmark, | ||
#p-logo-text { | #p-logo-text { | ||
display: none !important; | |||
} | |||
/* Show your custom logo instead of site title */ | |||
.mw-wiki-title { | |||
display: block !important; | |||
width: 250px; /* adjust if too big/small */ | |||
height: auto; | |||
background-image: url("/images/BharatWikipedia.svg"); | |||
background-size: contain; | |||
background-repeat: no-repeat; | |||
text-indent: -9999px; /* hide the text */ | |||
} | |||
.mw-logo-wordmark { | |||
display: none !important; | display: none !important; | ||
} | } | ||
Revision as of 18:56, 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 your custom logo instead of site title */
.mw-wiki-title {
display: block !important;
width: 250px; /* adjust if too big/small */
height: auto;
background-image: url("/images/BharatWikipedia.svg");
background-size: contain;
background-repeat: no-repeat;
text-indent: -9999px; /* hide the text */
}
.mw-logo-wordmark {
display: none !important;
}