mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/MinervaNeue
synced 2024-11-28 08:00:32 +00:00
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;
|
||||
}
|
||||
|
||||
/* 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
|
||||
|
|
Loading…
Reference in a new issue