mirror of
https://github.com/StarCitizenTools/mediawiki-skins-Citizen.git
synced 2024-11-24 06:24:22 +00:00
ci: 👷 lint code to MediaWiki standards
Check commit and GitHub actions for more details
This commit is contained in:
parent
e69160de2f
commit
8351aa5203
|
@ -303,7 +303,7 @@
|
|||
@dark-bg-60: #34383f;
|
||||
|
||||
/*
|
||||
* Used by Math and WikiHiero for recolor
|
||||
* Used by Math and WikiHiero for recolor
|
||||
* TODO: Figure out a way to do recolor with CSS variable
|
||||
* e.g. If the primary color is changed on wiki, it won't be reflected here.
|
||||
*/
|
||||
|
|
|
@ -15,6 +15,7 @@
|
|||
.skin-citizen-light &-table img {
|
||||
.recolor( @color-base );
|
||||
}
|
||||
|
||||
.skin-citizen-light h1 &-table img,
|
||||
.skin-citizen-light h2 &-table img,
|
||||
.skin-citizen-light h3 &-table img,
|
||||
|
@ -24,13 +25,16 @@
|
|||
.skin-citizen-light dt &-table img {
|
||||
.recolor( @color-base--emphasized );
|
||||
}
|
||||
|
||||
.skin-citizen-light blockquote &-table img,
|
||||
.skin-citizen-light th &-table img {
|
||||
.recolor( @color-base--subtle );
|
||||
}
|
||||
|
||||
.skin-citizen-dark &-table img {
|
||||
.recolor( @dark-color-base );
|
||||
}
|
||||
|
||||
.skin-citizen-dark h1 &-table img,
|
||||
.skin-citizen-dark h2 &-table img,
|
||||
.skin-citizen-dark h3 &-table img,
|
||||
|
@ -40,6 +44,7 @@
|
|||
.skin-citizen-dark dt &-table img {
|
||||
.recolor( @dark-color-base--emphasized );
|
||||
}
|
||||
|
||||
.skin-citizen-dark blockquote &-table img,
|
||||
.skin-citizen-dark th &-table img {
|
||||
.recolor( @dark-color-base--subtle );
|
||||
|
|
Loading…
Reference in a new issue