MediaWiki:Common.css: Difference between revisions
MediaWiki interface page
More actions
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
/* Hide | /* 1. Hide the old logo image rendered by Citizen theme */ | ||
.mw-logo-icon, | .mw-logo-icon, | ||
img.mw-logo-icon, | |||
.citizen-header__logo img { | |||
. | opacity: 0 !important; | ||
width: 0 !important; | |||
height: 0 !important; | |||
padding-left: 36px !important; /* Space for the new image */ | |||
} | } | ||
/* | /* 2. Inject the new Golden Retriever logo in its place */ | ||
a.mw-logo, | a.mw-logo, | ||
. | .citizen-header__logo a { | ||
background-image: url("https://wiki.goldenretrieverapp.com/images/thumb/a/ad/GRLogo.png/1200px-GRLogo.png?_=20260924164344") !important; | background-image: url("https://wiki.goldenretrieverapp.com/images/thumb/a/ad/GRLogo.png/1200px-GRLogo.png?_=20260924164344") !important; | ||
background-size: contain !important; | background-size: contain !important; | ||
background-repeat: no-repeat !important; | background-repeat: no-repeat !important; | ||
background-position: center !important; | background-position: center !important; | ||
display: inline-block !important; | |||
width: 36px !important; | |||
height: 36px !important; | |||
} | } | ||
Revision as of 16:47, 24 September 2026
/* 1. Hide the old logo image rendered by Citizen theme */
.mw-logo-icon,
img.mw-logo-icon,
.citizen-header__logo img {
opacity: 0 !important;
width: 0 !important;
height: 0 !important;
padding-left: 36px !important; /* Space for the new image */
}
/* 2. Inject the new Golden Retriever logo in its place */
a.mw-logo,
.citizen-header__logo a {
background-image: url("https://wiki.goldenretrieverapp.com/images/thumb/a/ad/GRLogo.png/1200px-GRLogo.png?_=20260924164344") !important;
background-size: contain !important;
background-repeat: no-repeat !important;
background-position: center !important;
display: inline-block !important;
width: 36px !important;
height: 36px !important;
}