feat: add styles for Parsoid content

This commit is contained in:
alistair3149 2021-03-18 12:50:08 -04:00
parent 373ba3b50c
commit aa42838abc
2 changed files with 12 additions and 0 deletions

View file

@ -27,6 +27,7 @@
.mixin-clearfix(); .mixin-clearfix();
} }
figure,
.thumb { .thumb {
margin: @content-margin-top 0; margin: @content-margin-top 0;
@ -47,18 +48,27 @@ a.image {
@media ( min-width: @width-breakpoint-tablet ) { @media ( min-width: @width-breakpoint-tablet ) {
div.tleft, div.tleft,
figure.mw-halign-left,
div.floatleft, div.floatleft,
table.floatleft { table.floatleft {
/* @noflip */
margin-right: 1.4rem; margin-right: 1.4rem;
/* @noflip */
clear: left; clear: left;
/* @noflip */
float: left; float: left;
} }
div.tright, div.tright,
figure.mw-halign-right,
figure.mw-default-size,
div.floatright, div.floatright,
table.floatright { table.floatright {
/* @noflip */
margin-left: 1.4rem; margin-left: 1.4rem;
/* @noflip */
clear: right; clear: right;
/* @noflip */
float: right; float: right;
} }
} }

View file

@ -486,6 +486,8 @@
"+mediawiki.action.history.styles": "skinStyles/mediawiki/action/mediawiki.action.history.styles.less", "+mediawiki.action.history.styles": "skinStyles/mediawiki/action/mediawiki.action.history.styles.less",
"+mediawiki.action.view.filepage": "skinStyles/mediawiki/action/mediawiki.action.view.filepage.less", "+mediawiki.action.view.filepage": "skinStyles/mediawiki/action/mediawiki.action.view.filepage.less",
"mediawiki.skinning.content.parsoid": "",
"+mediawiki.special": "skinStyles/mediawiki/special/mediawiki.special.less", "+mediawiki.special": "skinStyles/mediawiki/special/mediawiki.special.less",
"+mediawiki.special.apisandbox": "skinStyles/mediawiki/special/mediawiki.special.apisandbox.less", "+mediawiki.special.apisandbox": "skinStyles/mediawiki/special/mediawiki.special.apisandbox.less",
"+mediawiki.special.changeslist.enhanced": "skinStyles/mediawiki/special/mediawiki.special.changeslist.enhanced.less", "+mediawiki.special.changeslist.enhanced": "skinStyles/mediawiki/special/mediawiki.special.changeslist.enhanced.less",