mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/MinervaNeue
synced 2024-12-01 09:16:34 +00:00
7280d255c0
* Remove ambiguity in imports - say the file extension 'less' for all instances of variables and mixins. * Separate toast styles from drawer styles so they can be imported separately * associate header-action selector with its parent (.overlay-header) not parent's parent (.overlay) so it can be imported and rendered without the Overlay. Change-Id: Ib7e19a440ba095d6424d35305fb41d643ca9764c
42 lines
828 B
Plaintext
42 lines
828 B
Plaintext
@import '../../minerva.less/minerva.variables.less';
|
|
|
|
/**
|
|
* This tweaks the default mediawiki.hlist module to provide performance optimisations
|
|
* as well as subtle tweaks to the appearance. It's a work in progress.
|
|
*/
|
|
|
|
// Horizontal Lists
|
|
//
|
|
// Use hlist class when dealing with lists where items should be horizontal.
|
|
//
|
|
// Markup:
|
|
// <ul class="hlist">
|
|
// <li>item 1</li>
|
|
// <li>item 2</li>
|
|
// </ul>
|
|
//
|
|
// Styleguide 1.5.
|
|
// FIXME: `.hlist > *` to support hlists on enwiki projects - this should be deprecated
|
|
ul.hlist,
|
|
.hlist > ul,
|
|
.hlist > dl {
|
|
li {
|
|
display: inline-block;
|
|
margin-right: 8px;
|
|
}
|
|
}
|
|
|
|
.hlist-separated {
|
|
li:after {
|
|
// Make sure we override any site styles
|
|
content: '•' !important;
|
|
padding-left: 8px;
|
|
font-size: 1em;
|
|
line-height: 1;
|
|
}
|
|
|
|
:last-child:after {
|
|
content: none !important;
|
|
}
|
|
}
|