mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/MinervaNeue
synced 2024-11-24 06:13:54 +00:00
Merge "Replace #content
selector by .mw-body
"
This commit is contained in:
commit
2880fa63eb
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue