mediawiki-skins-MinervaNeue/resources/skins.minerva.mainMenu.styles/MainMenuFooter.less
Volker E 52f37a5f2a Enable stylelint 'selector-max-id' rule and disable only on occurrence
Enabling 'selector-max-id' rule, and changing in rare exceptions like
`#bodyContent` to `.mw-body > .content` where there's only one less
specific option.

Bug: T239183
Change-Id: I9d929eaae09475b2e20d96cb19081aba3aec5877
2019-11-27 17:36:59 -08:00

35 lines
771 B
Plaintext

@import '../../minerva.less/minerva.variables.less';
// todo: use .menu (or make a new BEM class). At time of writing, this would require additional
// changes to have sufficient specificity.
// stylelint-disable selector-max-id
#mw-mf-page-left {
ul {
// This is, like, the area for the disclaimer.
&.hlist {
li {
background-color: transparent;
border: 0;
margin: 0;
font-size: 0.75em; // equals `12px` at base `font-size: 16px`
// T173507
&:after {
content: none;
}
a {
color: @colorProgressive;
padding: 0.7em 12px; // equals `8.4px` via 0.75em assuming 16px base
&:hover {
background-color: transparent;
box-shadow: none;
}
}
}
}
}
}
// stylelint-enable selector-max-id