MediaWiki:Common.css: Difference between revisions
MediaWiki interface page
More actions
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
/* 1. | /* 1. Permanently hide the home icon span and its pseudo-elements */ | ||
.citizen-header__logo .citizen-ui-icon, | |||
.citizen-header__logo span[class*="mw-ui-icon"], | |||
.citizen-header__logo span::before, | |||
.citizen-header__logo span::after { | |||
display: none !important; | |||
opacity: 0 !important; | |||
visibility: hidden !important; | |||
width: 0 !important; | |||
height: 0 !important; | |||
mask-image: none !important; | |||
-webkit-mask-image: none !important; | |||
} | |||
/* 2. Hide the default logo img tag */ | |||
.mw-logo-icon, | .mw-logo-icon, | ||
img.mw-logo-icon, | img.mw-logo-icon, | ||
.citizen-header__logo img | .citizen-header__logo img { | ||
display: none !important; | display: none !important; | ||
opacity: 0 !important; | opacity: 0 !important; | ||
} | } | ||
/* | /* 3. Render the Golden Retriever logo clean on hover and normal state */ | ||
a.mw-logo, | a.mw-logo, | ||
.citizen-header__logo a { | .citizen-header__logo a { | ||
| Line 18: | Line 29: | ||
background-position: center !important; | background-position: center !important; | ||
display: inline-block !important; | display: inline-block !important; | ||
width: | width: 50px !important; /* Adjust size as needed */ | ||
height: | height: 50px !important; /* Adjust size as needed */ | ||
} | |||
/* Prevent rotation animation on hover */ | |||
.citizen-header__logo .mw-logo-icon, | |||
.citizen-header__logo .citizen-ui-icon { | |||
transform: none !important; | |||
} | } | ||
Revision as of 16:50, 24 September 2026
/* 1. Permanently hide the home icon span and its pseudo-elements */
.citizen-header__logo .citizen-ui-icon,
.citizen-header__logo span[class*="mw-ui-icon"],
.citizen-header__logo span::before,
.citizen-header__logo span::after {
display: none !important;
opacity: 0 !important;
visibility: hidden !important;
width: 0 !important;
height: 0 !important;
mask-image: none !important;
-webkit-mask-image: none !important;
}
/* 2. Hide the default logo img tag */
.mw-logo-icon,
img.mw-logo-icon,
.citizen-header__logo img {
display: none !important;
opacity: 0 !important;
}
/* 3. Render the Golden Retriever logo clean on hover and normal state */
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: 50px !important; /* Adjust size as needed */
height: 50px !important; /* Adjust size as needed */
}
/* Prevent rotation animation on hover */
.citizen-header__logo .mw-logo-icon,
.citizen-header__logo .citizen-ui-icon {
transform: none !important;
}