Jump to content

MediaWiki:Common.css: Difference between revisions

From A Modern Way To Be Known
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 {
    display: flex !important;
    justify-content: flex-end !important;
    align-items: center !important;
    gap: 18px !important;
}
/* Insert ConnexAbility logo BEFORE the MediaWiki icon */
/* Insert ConnexAbility logo BEFORE the MediaWiki icon, with border and link */
#footer-icons:before {
#footer-icons:before {
     content: "";
     content: "";
     display: inline-block;
     display: inline-flex;
     width: 89px;
    justify-content: center;
     height: 32px;
    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: contain;
     background-size: 80% auto;        /* gives space around the logo */
    background-position: center;
     background-repeat: no-repeat;
     background-repeat: no-repeat;
     border: 1px solid #ccc;
 
    /* Match MediaWiki border style */
     border: 1px solid #a2a9b1;
     border-radius: 4px;
     border-radius: 4px;
     padding: 6px 10px;
     background-color: #fff;
    box-sizing: content-box;
    margin-right: 10px;
}


    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;
}