MinervaNeue/skinStyles/mobile.special.mobileoptions.styles/minerva.less
jdlrobson 89fdcca241 [Bug] Special:MobileOptions heading padding should be consistent
This simplifies commit 17a3b5b6b0

The top or bottom margins of contained elements will always collapse together
(per http://seifi.org/css/understanding-taming-collapsing-margins-in-css.html)

What we actually want is a margin bottom in tablet mode for Special:MobileOptions
and a padding bottom for taglines that only exists if the tagline is not empty

Bug: T202557
Change-Id: I741f08d2dec04f94b7c233a04a3fca7a065520f8
2018-11-15 11:38:06 -08:00

22 lines
326 B
Plaintext

@import '../../minerva.less/minerva.variables';
@media all and ( min-width: @width-breakpoint-tablet ) {
.ns-special .pre-content {
background: #fff;
margin-bottom: 15px;
.tagline,
h1 {
margin: 0 @contentMargin;
}
}
.ns-special #content {
background: @colorGray14;
form {
background: #fff;
}
}
}