Merge "Replace #content selector by .mw-body"

This commit is contained in:
jenkins-bot 2019-12-03 18:49:33 +00:00 committed by Gerrit Code Review
commit 2880fa63eb
3 changed files with 5 additions and 8 deletions

View file

@ -30,19 +30,16 @@ main {
display: block;
}
// FIXME: should we use .mw-body here instead?
// stylelint-disable selector-max-id
#content {
.mw-body {
// avoid margin collapsing (see T147956)
border-top: 1px solid transparent;
padding-bottom: 32px;
}
.overlay-enabled,
#content {
.mw-body {
background-color: @skinContentBgColor;
}
// stylelint-enable selector-max-id
.header-container {
border-bottom: 1px solid @colorGray12;

View file

@ -1,6 +1,5 @@
@import '../../minerva.less/minerva.variables.less';
// stylelint-disable selector-max-id
@media all and ( min-width: @width-breakpoint-tablet ) {
.ns-special .pre-content {
background: #fff;
@ -12,7 +11,7 @@
}
}
.ns-special #content {
.ns-special .mw-body {
background: @colorGray14;
form {
@ -21,6 +20,7 @@
}
}
// stylelint-disable selector-max-id
#mobile-options &.indicator-circle {
overflow: initial;

View file

@ -16,7 +16,7 @@
}
.ns-special {
#content #section_0 { // stylelint-disable-line selector-max-id
.mw-body #section_0 { // stylelint-disable-line selector-max-id
font-size: 1.5em;
font-weight: bold;
}