mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/MinervaNeue
synced 2024-12-21 01:52:49 +00:00
6f98cc6460
Remove direct usage of CSS variables in Minerva, and replace them with codex design tokens again. Document this decision in the original ADR Note: there are still a small number of CSS variables in use, including most notably the --color-link-red fix, which broke when I removed it, but this change takes care of all the ones that could be easily replaced Bug: T363743 Change-Id: I7d3a9dceb908167078987de1733774c8bd4bea2f
42 lines
859 B
Plaintext
42 lines
859 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 {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
|
|
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: @color-progressive;
|
|
padding: 0.7em 12px; // equals `8.4px` via 0.75em assuming 16px base
|
|
|
|
&:hover {
|
|
background-color: transparent;
|
|
box-shadow: none;
|
|
}
|
|
|
|
span {
|
|
font-weight: normal;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
// stylelint-enable selector-max-id
|