Jump to content

MediaWiki:Common.css: Difference between revisions

From A Modern Way To Be Known
No edit summary
Tag: Reverted
No edit summary
Tag: Reverted
Line 69: Line 69:
     background-color: #fff !important;
     background-color: #fff !important;
}
}
/* Infobox Styling */
/* Infobox design */
infobox {
.infobox {
     display: block;
     float: right;
     width: 280px;
     width: 280px;
    float: right;
     margin: 0 0 20px 20px;
     margin: 0 0 20px 20px;
    background: #fafafa;
     border: 1px solid #d0d0d0;
     border: 1px solid #d0d0d0;
     border-radius: 6px;
     border-radius: 6px;
     background: #fafafa;
     padding: 0;
     font-size: 14px;
     font-size: 14px;
    line-height: 1.4;
}
}


infobox > title {
.infobox th {
    display: block;
     background: #f5f5f5;
     background: #f5f5f5;
     padding: 10px;
     padding: 8px;
     font-size: 18px;
     text-align: left;
    font-weight: bold;
     border-bottom: 1px solid #d0d0d0;
     border-bottom: 1px solid #d0d0d0;
}
}


infobox > image img {
.infobox td {
     width: 100%;
     padding: 8px;
     border-bottom: 1px solid #d0d0d0;
     border-bottom: 1px solid #d0d0d0;
}
}


infobox > label {
.infobox img {
     font-weight: bold;
     border-radius: 4px;
    display: block;
    padding: 8px 10px 0 10px;
    color: #555;
}
 
infobox > data {
    display: block;
    padding: 0 10px 8px 10px;
    color: #333;
}
}

Revision as of 21:05, 7 December 2025

/* ---------------------------------------------------------- */
/* CUSTOM HEADER LOGO                                         */
/* ---------------------------------------------------------- */

.mw-wiki-title,
.mw-logo-wordmark,
#p-logo-text {
    display: none !important;
}

.mw-logo-wordmark {
    display: block !important;
    width: 220px;
    height: 40px;
    margin-top: 15px;
    background-image: url("https://bharatwikipedia.org/images/BharatWikipedia.svg");
    background-repeat: no-repeat;
    background-size: contain;
    text-indent: -9999px;
    overflow: hidden;
    white-space: nowrap;
}

/* ---------------------------------------------------------- */
/* FOOTER BADGES (ConnexAbility + Powered by MediaWiki)       */
/* ---------------------------------------------------------- */

/* Ensure footer icons sit in one row, aligned right */
#footer-icons {
    display: flex !important;
    justify-content: flex-end !important;
    align-items: center !important;
    flex-direction: row !important; /* NORMAL left→right order */
    gap: 5px;
}

/* ConnexAbility Badge — placed BEFORE MediaWiki badge */
#footer-icons::before {
    content: "";
    display: inline-flex;
    justify-content: center;
    align-items: center;

    width: 135px;           
    height: 45px;            /* INCREASED HEIGHT */
    
    background-image: url("/images/AConnexAbilityProject.svg");
    background-size: 78% auto;
    background-position: center;
    background-repeat: no-repeat;

    background-color: #fff;
    border: 1px solid #a2a9b1;
    border-radius: 4px;

    padding: 8px 8px;         /* reduced padding so logo stays centered */
    box-sizing: border-box;
}


/* Make MediaWiki badge and ConnexAbility badge align perfectly */
#footer-poweredbyico a {
    display: inline-flex !important;
    align-items: center !important;
    height: 45px !important;   /* MATCH ConnexAbility box height */
    padding: 8px 8px !important;
    border: 1px solid #72777d !important;
    border-radius: 4px !important;
    background-color: #fff !important;
}
/* Infobox design */
.infobox {
    float: right;
    width: 280px;
    margin: 0 0 20px 20px;
    background: #fafafa;
    border: 1px solid #d0d0d0;
    border-radius: 6px;
    padding: 0;
    font-size: 14px;
}

.infobox th {
    background: #f5f5f5;
    padding: 8px;
    text-align: left;
    border-bottom: 1px solid #d0d0d0;
}

.infobox td {
    padding: 8px;
    border-bottom: 1px solid #d0d0d0;
}

.infobox img {
    border-radius: 4px;
}