mediawiki-skins-Citizen/skinStyles/extensions/Wikibase/wikibase.client.init.less
alistair3149 5d3ecd9edd
feat(core): convert some CSS variables into Codex equivalent
This is an on-going work to adapt Codex into Citizen.
Some of the CSS variables are soft depreciated, see tokens.less for updated info.
2024-06-30 01:04:30 -04:00

35 lines
631 B
Plaintext

/*
* Citizen
*
* SkinStyles for Extension:Wikibase
* Module: wikibase.client.init
* Version: REL1_35 7bb503b
*
* Date: 2022-05-11
*/
// Needed for more specificity
// The original styles have a lot of important overrides in it
// Better safe than sorry
.skin-citizen {
.wb-langlinks-link > a {
&::before {
filter: var( --filter-invert );
}
&:link,
&:visited {
color: var( --color-subtle ) !important;
&::before {
// Re-apply greyscale value since we use filter to override the color
filter: var( --filter-invert );
}
}
&:hover {
color: var( --color-progressive ) !important;
}
}
}