MediaWiki:Common.css: Difference between revisions
Appearance
No edit summary Tag: Manual revert |
No edit summary |
||
| Line 32: | Line 32: | ||
align-items: center !important; | align-items: center !important; | ||
flex-direction: row !important; /* NORMAL left→right order */ | flex-direction: row !important; /* NORMAL left→right order */ | ||
gap: | gap: 18px; | ||
} | } | ||
| Line 42: | Line 42: | ||
align-items: center; | align-items: center; | ||
width: 135px; | width: 135px; /* SAME visual width as MediaWiki box */ | ||
height: | height: 40px; /* SAME height as MediaWiki box */ | ||
background-image: url("/images/AConnexAbilityProject.svg"); | background-image: url("/images/AConnexAbilityProject.svg"); | ||
background-size: 78% auto; | background-size: 78% auto; /* keeps logo smaller inside box */ | ||
background-position: center; | background-position: center; | ||
background-repeat: no-repeat; | background-repeat: no-repeat; | ||
background-color: #fff; | background-color: #fff; | ||
border: 1px solid # | border: 1px solid #a2a9b1; /* EXACT MediaWiki border color */ | ||
border-radius: | border-radius: 4px; | ||
padding: | padding: 14px 8px; | ||
box-sizing: border-box; | box-sizing: border-box; | ||
} | } | ||
/* | /* Make MediaWiki badge and ConnexAbility badge align perfectly */ | ||
#footer-poweredbyico a { | |||
display: inline-flex !important; | |||
align-items: center !important; | |||
height: 40px !important; /* MATCH ConnexAbility box height */ | |||
padding: 14px 8px !important; | |||
border: 1px solid #a2a9b1 !important; | |||
border-radius: 4px !important; | |||
background-color: #fff !important; | |||
} | } | ||
Revision as of 20:54, 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: 18px;
}
/* ConnexAbility Badge — placed BEFORE MediaWiki badge */
#footer-icons::before {
content: "";
display: inline-flex;
justify-content: center;
align-items: center;
width: 135px; /* SAME visual width as MediaWiki box */
height: 40px; /* SAME height as MediaWiki box */
background-image: url("/images/AConnexAbilityProject.svg");
background-size: 78% auto; /* keeps logo smaller inside box */
background-position: center;
background-repeat: no-repeat;
background-color: #fff;
border: 1px solid #a2a9b1; /* EXACT MediaWiki border color */
border-radius: 4px;
padding: 14px 8px;
box-sizing: border-box;
}
/* Make MediaWiki badge and ConnexAbility badge align perfectly */
#footer-poweredbyico a {
display: inline-flex !important;
align-items: center !important;
height: 40px !important; /* MATCH ConnexAbility box height */
padding: 14px 8px !important;
border: 1px solid #a2a9b1 !important;
border-radius: 4px !important;
background-color: #fff !important;
}