mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/MinervaNeue
synced 2024-11-24 22:25:27 +00:00
Increasing specificity of '.center' class
Bug: T193595 Change-Id: Id365952881118bc3587fe8a0c897892e61f41df1
This commit is contained in:
parent
66d88028ad
commit
c10c3f011e
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue