Jump to content

MediaWiki:Common.css: Difference between revisions

From A Modern Way To Be Known
No edit summary
No edit summary
Line 12: Line 12:
     width: 220px;                            /* adjust size if needed */
     width: 220px;                            /* adjust size if needed */
     height: 40px;
     height: 40px;
    margin-top: 15px;
     background-image: url("https://bharatwikipedia.org/images/BharatWikipedia.svg");
     background-image: url("https://bharatwikipedia.org/images/BharatWikipedia.svg");
     background-repeat: no-repeat;
     background-repeat: no-repeat;

Revision as of 19:01, 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;
}