mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/MinervaNeue
synced 2024-11-24 06:13:54 +00:00
Drop duplicate styles in Minerva
These styles are also applied inside MobileFrontend as they should apply to all skins, not just Minerva. Several styles for desktop Minerva are amended with a comment. Bug: T253370 Change-Id: Ib23024d192f331ef76007dbd9ef54596cc1adb0c
This commit is contained in:
parent
c9da6fa8a8
commit
4f2f1bb349
|
@ -191,36 +191,30 @@ input.search {
|
|||
margin-bottom: @headingMargin;
|
||||
}
|
||||
|
||||
.mw-parser-output > h1,
|
||||
.mw-parser-output > h2,
|
||||
.mw-parser-output > h3,
|
||||
.mw-parser-output > h4,
|
||||
.mw-parser-output > h5,
|
||||
.section-heading,
|
||||
.in-block {
|
||||
// Safari needs this. @see T106347
|
||||
display: table;
|
||||
// The following rules are duplicated in MobileFrontend
|
||||
// but needed by Minerva desktop
|
||||
.mw-parser-output {
|
||||
> h1,
|
||||
> h2,
|
||||
> h3,
|
||||
> h4,
|
||||
> h5 {
|
||||
// Safari needs this. @see T106347
|
||||
display: table;
|
||||
|
||||
.mw-headline {
|
||||
width: 100%;
|
||||
}
|
||||
.mw-headline {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
> span {
|
||||
display: table-cell;
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
> .mw-editsection > .mw-ui-icon-element {
|
||||
margin-top: -0.75em;
|
||||
margin-bottom: -0.75em;
|
||||
> span {
|
||||
display: table-cell;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Toggling indicators are unusable without JavaScript
|
||||
.client-nojs {
|
||||
.section-heading .indicator {
|
||||
display: none;
|
||||
.mw-editsection > .mw-ui-icon-element {
|
||||
margin-top: -0.75em;
|
||||
margin-bottom: -0.75em;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue