Jump to content

MediaWiki:Vector-2022.css: Difference between revisions

From Empires Wiki
mNo edit summary
mNo edit summary
 
Line 6: Line 6:
*/
*/
#footer-icons a {
#footer-icons a {
border: 0;
padding: 0;
background: transparent;
background: transparent;
opacity: var( --opacity-icon-base );
opacity: var( --opacity-icon-base );

Latest revision as of 19:11, 7 February 2025

/* All CSS here will be loaded for users of the Vector-2022 skin */

/*
 * Footer icons
 * We use custom footer icons so we need to fine tune it
*/
#footer-icons a {
	background: transparent;
	opacity: var( --opacity-icon-base );
	transition: opacity 250ms ease;
}

#footer-icons a:hover {
	opacity: var( --opacity-icon-base--hover );
}

#footer-icons a:active {
	opacity: var( --opacity-icon-base--active );
}
#footer-icons img {
	width: auto;
	height: 32px;
}

/* Darken the footer icon in light mode */
html.skin-theme-clientpref-day #footer-icons a {
	filter: invert( 1 ) hue-rotate( 180deg );
}