diff --git a/resources/skins.minerva.content.styles/main.less b/resources/skins.minerva.content.styles/main.less index bfc1b0df8..3bf46871b 100644 --- a/resources/skins.minerva.content.styles/main.less +++ b/resources/skins.minerva.content.styles/main.less @@ -27,6 +27,18 @@ body { line-height: @contentLineHeight; // Deal with long links (bug 60387) word-wrap: break-word; + + /* Emulate Center - from mediawiki.skinning/elements.css */ + .center { + width: 100%; + text-align: center; + + > *, + .thumb { + margin-left: auto; + margin-right: auto; + } + } } @media all and ( max-width: @width-breakpoint-mobile - 1 ) { @@ -54,17 +66,6 @@ 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