mirror of
https://github.com/StarCitizenTools/mediawiki-skins-Citizen.git
synced 2024-12-05 03:08:52 +00:00
2bf20397e1
This decouple the filter style from the class. Instead, filter-invert can be redefined if needed (e.g. :root.skin-citizen-dark)
35 lines
633 B
Plaintext
35 lines
633 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-base--subtle ) !important;
|
|
|
|
&::before {
|
|
// Re-apply greyscale value since we use filter to override the color
|
|
filter: var( --filter-invert );
|
|
}
|
|
}
|
|
|
|
&:hover {
|
|
color: var( --color-primary ) !important;
|
|
}
|
|
}
|
|
}
|