Add "center" layout rules based on mediawiki.skinning in core.
Bug: T193595 Change-Id: I2fa991c68786be95a82132ff720ed6e61074bc99
This commit is contained in:
parent
cb451329df
commit
81ef4caaa7
|
@ -54,6 +54,17 @@ body {
|
||||||
display: none !important;
|
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 ) {
|
@media all and ( min-width: @width-breakpoint-tablet ) {
|
||||||
.client-js {
|
.client-js {
|
||||||
// Avoid flash of unstyled content for tablet users while JavaScript is loading
|
// Avoid flash of unstyled content for tablet users while JavaScript is loading
|
||||||
|
|
Loading…
Reference in New Issue