2020-01-20 21:47:19 +00:00
|
|
|
// stylelint-disable selector-max-id
|
2021-10-04 22:03:29 +00:00
|
|
|
@import '../minerva.less/minerva.variables.less';
|
2020-01-20 21:47:19 +00:00
|
|
|
|
|
|
|
// 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 {
|
2023-03-31 19:50:36 +00:00
|
|
|
&::after {
|
2020-01-20 21:47:19 +00:00
|
|
|
content: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-10-04 22:03:29 +00:00
|
|
|
.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;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-01-20 21:47:19 +00:00
|
|
|
@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;
|
|
|
|
}
|
|
|
|
}
|
2020-02-28 20:28:59 +00:00
|
|
|
// stylelint-enable selector-max-id
|