Github CI lint - eslint/stylelint

This commit is contained in:
github-actions 2020-06-11 02:36:17 +00:00
parent dc4ae4996a
commit 2c8eec5a67

View file

@ -15,7 +15,7 @@
* Only apply to immediate childs as float classes * Only apply to immediate childs as float classes
* are used in other places as well * are used in other places as well
*/ */
>.mw-parser-output { > .mw-parser-output {
div.tnone, div.tnone,
div.floatnone, div.floatnone,
table.floatnone, table.floatnone,
@ -70,34 +70,34 @@
@media ( max-width: @screen0 ) { @media ( max-width: @screen0 ) {
#mw-content-text { #mw-content-text {
>.mw-parser-output { > .mw-parser-output {
>div.tnone, > div.tnone,
>div.floatnone, > div.floatnone,
>table.floatnone, > table.floatnone,
>div.tleft, > div.tleft,
>div.floatleft, > div.floatleft,
>table.floatleft, > table.floatleft,
>div.tright, > div.tright,
>div.floatright, > div.floatright,
>table.floatright { > table.floatright {
margin: 0.6rem -@margin-side !important; margin: 0.6rem -@margin-side !important;
width: 100vw !important; width: 100vw !important;
float: unset; float: unset;
clear: none; clear: none;
} }
>div.tnone, > div.tnone,
>div.floatnone, > div.floatnone,
>div.tleft, > div.tleft,
>div.floatleft, > div.floatleft,
>div.tright, > div.tright,
>div.floatright { > div.floatright {
display: flex; display: flex;
justify-content: center; justify-content: center;
} }
>table.floatleft, > table.floatleft,
>table.floatright { > table.floatright {
padding: 0 @margin-side; padding: 0 @margin-side;
} }
} }
@ -106,10 +106,10 @@
@media ( max-width: @screen2 ) { @media ( max-width: @screen2 ) {
#mw-content-text { #mw-content-text {
>.mw-parser-output { > .mw-parser-output {
>div.tnone, > div.tnone,
>div.floatnone, > div.floatnone,
>table.floatnone { > table.floatnone {
margin: 0.6rem~'calc((100vw - @{page-width}) / -2)'; margin: 0.6rem~'calc((100vw - @{page-width}) / -2)';
a.image, a.image,
@ -119,33 +119,34 @@
} }
} }
>table.floatnone { > table.floatnone {
padding: 0 @margin-side; padding: 0 @margin-side;
} }
} }
} }
} }
@media ( max-width: @screen3 ) { @media ( max-width: @screen3 ) {
#mw-content-text { #mw-content-text {
>.mw-parser-output { > .mw-parser-output {
>div.tleft, > div.tleft,
>div.floatleft, > div.floatleft,
>table.floatleft { > table.floatleft {
margin-left: 0; margin-left: 0;
} }
>div.tright, > div.tright,
>div.floatright, > div.floatright,
>table.floatright { > table.floatright {
margin-right: 0; margin-right: 0;
} }
>div.tleft, > div.tleft,
>div.floatleft, > div.floatleft,
>table.floatleft, > table.floatleft,
>div.tright, > div.tright,
>div.floatright, > div.floatright,
>table.floatright { > table.floatright {
z-index: 0; // Reset so it doesn't cover ToC z-index: 0; // Reset so it doesn't cover ToC
position: relative; position: relative;
} }
@ -155,22 +156,22 @@
@media ( min-width: @screen4 ) { @media ( min-width: @screen4 ) {
#mw-content-text { #mw-content-text {
>.mw-parser-output { > .mw-parser-output {
>div.tnone, > div.tnone,
>div.floatnone, > div.floatnone,
>table.floatnone, > table.floatnone,
>div.tleft, > div.tleft,
>div.floatleft, > div.floatleft,
>table.floatleft { > table.floatleft {
margin-left: @negative-margin !important; margin-left: @negative-margin !important;
} }
>div.tnone, > div.tnone,
>div.floatnone, > div.floatnone,
>table.floatnone, > table.floatnone,
>div.tright, > div.tright,
>div.floatright, > div.floatright,
>table.floatright { > table.floatright {
margin-right: @negative-margin !important; margin-right: @negative-margin !important;
} }
} }