MediaWiki:Common.css: Difference between revisions
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
/* | /* ---------------------------------------------------------- */ | ||
/* CUSTOM HEADER LOGO */ | |||
/* ---------------------------------------------------------- */ | |||
.mw-wiki-title, | .mw-wiki-title, | ||
.mw-logo-wordmark, | .mw-logo-wordmark, | ||
| Line 6: | Line 9: | ||
} | } | ||
.mw-logo-wordmark { | .mw-logo-wordmark { | ||
display: block !important; | display: block !important; | ||
| Line 20: | Line 22: | ||
} | } | ||
/* Ensure footer icons | /* ---------------------------------------------------------- */ | ||
/* FOOTER BADGES (ConnexAbility + Powered by MediaWiki) */ | |||
/* ---------------------------------------------------------- */ | |||
/* Ensure footer icons sit in one row, aligned right */ | |||
#footer-icons { | #footer-icons { | ||
display: flex !important; | display: flex !important; | ||
justify-content: flex-end !important; | justify-content: flex-end !important; | ||
align-items: center !important; | align-items: center !important; | ||
flex-direction: row | flex-direction: row !important; /* NORMAL left→right order */ | ||
gap: 18px | gap: 18px; | ||
} | } | ||
/* ConnexAbility | /* ConnexAbility Badge — placed BEFORE MediaWiki badge */ | ||
#footer-icons::before { | #footer-icons::before { | ||
content: ""; | content: ""; | ||
| Line 36: | Line 42: | ||
align-items: center; | align-items: center; | ||
width: | 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: | background-size: 78% auto; /* keeps logo smaller inside box */ | ||
background-position: center; | background-position: center; | ||
background-repeat: no-repeat; | background-repeat: no-repeat; | ||
border: 1px solid #a2a9b1; | background-color: #fff; | ||
border: 1px solid #a2a9b1; /* EXACT MediaWiki border color */ | |||
border-radius: 4px; | border-radius: 4px; | ||
padding: 4px 8px; | padding: 4px 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: 4px 8px !important; | |||
border: 1px solid #a2a9b1 !important; | |||
border-radius: 4px !important; | |||
background-color: #fff !important; | |||
} | } | ||