MediaWiki:Common.css: Difference between revisions
No edit summary |
No edit summary |
||
| Line 29: | Line 29: | ||
/* Insert ConnexAbility logo BEFORE the MediaWiki icon */ | /* 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-block; | ||
width: 130px; /* Increase width for full logo */ | |||
height: 45px; /* Increase height for full logo */ | |||
background-image: url("/images/AConnexAbilityProject.svg"); | background-image: url("/images/AConnexAbilityProject.svg"); | ||
background-size: contain; | background-size: contain; | ||
background-repeat: no-repeat; | background-repeat: no-repeat; | ||
width: | border: 1px solid #ccc; | ||
height: | border-radius: 4px; | ||
padding: 6px 10px; | |||
box-sizing:content-box; | |||
margin-right: 10px; | |||
} | |||
/* Make the logo clickable by overlaying a link */ | |||
#footer-icons { | |||
position: relative; | |||
} | |||
/* Clickable transparent link on top of the box */ | |||
#footer-icons a.connex-link { | |||
position: absolute; | |||
right: calc(25px + 130px); /* Adjust position next to MediaWiki icon */ | |||
top: 0; | |||
width: 130px; | |||
height: 45px; | |||
display: block; | |||
z-index: 5; | |||
} | } | ||