Add "center" layout rules based on mediawiki.skinning in core.

Bug: T193595
Change-Id: I2fa991c68786be95a82132ff720ed6e61074bc99
This commit is contained in:
Jan Drewniak 2018-06-04 12:43:45 +02:00 committed by Jdrewniak
parent cb451329df
commit 81ef4caaa7

View file

@ -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