ci: 👷 lint code to MediaWiki standards

Check commit and GitHub actions for more details
This commit is contained in:
github-actions 2023-06-08 19:45:07 +00:00
parent e69160de2f
commit 8351aa5203
2 changed files with 6 additions and 1 deletions

View file

@ -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.
*/

View file

@ -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 );