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

This commit is contained in:
jenkins-bot 2018-06-06 12:33:55 +00:00 committed by Gerrit Code Review
commit a0dfcf4e75
1 changed files with 11 additions and 0 deletions

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