mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/MinervaNeue
synced 2024-12-01 01:06:31 +00:00
52f37a5f2a
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
35 lines
771 B
Plaintext
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
|