mediawiki-skins-MinervaNeue/resources/skins.minerva.mainMenu.styles/MainMenuFooter.less
Gagah Pangeran Rosfatiputra 215364be3a
Change disclaimer link container to flex box
With this change, long disclaimer links can be wrapped into new line
instead of clipped in single line.

Bug: T282314
Change-Id: I6a4fc4f62a9e593aa990de5d578059facb9b87d9
2021-11-04 20:07:58 +07:00

42 lines
857 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: @colorProgressive;
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