MediaWiki:Common.css: Difference between revisions

No edit summary
No edit summary
Line 56: Line 56:
     padding: 8px 8px;        /* reduced padding so logo stays centered */
     padding: 8px 8px;        /* reduced padding so logo stays centered */
     box-sizing: border-box;
     box-sizing: border-box;
}
/* ---------------------------------------------------------- */
/* SHOW CUSTOM LOGO ON MOBILE (Vector 2022)                  */
/* ---------------------------------------------------------- */
.mw-logo-icon {
    background-image: url("https://bharatwikipedia.org/images/BharatWikipedia.svg") !important;
    background-size: contain !important;
    background-repeat: no-repeat !important;
    width: 45px !important;    /* mobile logo size */
    height: 45px !important;
    display: block !important;
    opacity: 1 !important;
}
/* Remove default Wikimedia mobile icon */
.mw-logo-container .mw-logo-icon img {
    display: none !important;
}
}