diff --git a/resources/skins.minerva.content.styles/main.less b/resources/skins.minerva.content.styles/main.less index 0fa7466ec..bfc1b0df8 100644 --- a/resources/skins.minerva.content.styles/main.less +++ b/resources/skins.minerva.content.styles/main.less @@ -54,6 +54,17 @@ body { display: none !important; } +/* Emulate Center - from mediawiki.skinning/elements.css */ +.center { + width: 100%; + text-align: center; + + > * { + margin-left: auto; + margin-right: auto; + } +} + @media all and ( min-width: @width-breakpoint-tablet ) { .client-js { // Avoid flash of unstyled content for tablet users while JavaScript is loading