mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/MinervaNeue
synced 2024-11-15 18:29:50 +00:00
a7b66f6f63
* Move method to SkinMinerva * Turn preparePageContent into a getter that returns the subject page * Use getSubjectPage in template For mobile special pages this now means the page has two .content elements On those pages I've disabled the initial content element. It also means various .content <heading> and .content ul rules now apply that need to be disabled. While testing several other issues were taken care of - for example the h2 in errors Depends-On: I7761396d6a33830f279742be01240796573556a7 Bug: T291871 Change-Id: I13bc4b5dae7aed86eca31ef306212365e1759481
45 lines
962 B
Plaintext
45 lines
962 B
Plaintext
// stylelint-disable selector-max-id
|
|
@import '../minerva.less/minerva.variables.less';
|
|
|
|
// Override MobileFrontend styles (can be weakened/removed when MobileDiff no longer exists)
|
|
#mw-mf-diffview .mw-diff-empty-line {
|
|
del,
|
|
ins {
|
|
width: 100%;
|
|
}
|
|
}
|
|
|
|
// By default a pseudo element is used for skins like Vector. We don't want this on Minerva.
|
|
.mw-diff-movedpara-right,
|
|
.mw-diff-movedpara-left,
|
|
.rtl .mw-diff-movedpara-left,
|
|
.rtl .mw-diff-movedpara-right {
|
|
&:after {
|
|
content: none;
|
|
}
|
|
}
|
|
|
|
.mw-special-MobileDiff {
|
|
#mw-mf-diffarea {
|
|
padding-left: 0;
|
|
padding-right: 0;
|
|
}
|
|
}
|
|
|
|
@media all and ( max-width: @width-breakpoint-tablet ) {
|
|
.mw-special-MobileDiff {
|
|
.content-unstyled {
|
|
margin: 0 @contentMargin;
|
|
}
|
|
}
|
|
}
|
|
|
|
@media all and ( max-width: @width-breakpoint-tablet ) {
|
|
// T233151: Remove post-content margin on mobile diff page drawer
|
|
// .post-content margin
|
|
#mw-mf-userinfo .post-content {
|
|
margin: 0;
|
|
}
|
|
}
|
|
// stylelint-enable selector-max-id
|