&.mw-halign-center {
margin: 0 auto .5em auto;
+ display: table;
clear: none;
float: none;
}
margin: 4px;
}
+/* Hide the caption for frameless and plain floated images */
+figure[typeof~="mw:Image/Frameless"] > figcaption,
+figure[typeof~="mw:Image"] > figcaption { display: none }
+
/*
* Finally, some basic styling for Parsoid render testing.
* Only Parsoid directly sets .mw-body-content directly on the body, so this