mediawiki-skins-MinervaNeue/skinStyles/mediawiki.hlist/minerva.less
Timo Tijhof 64134bd8a6 Remove minerva.less from global import path
Use local imports instead given all relevant files are within the
same repository, and don't vary by configuraion.

Bug: T140807
Depends-On: If3edac9a35b346af0320c12f70c0d978a6346201
Change-Id: Ife3cc345a63aff452e93accbe0a593fbaa358732
2018-05-29 12:19:00 +00:00

41 lines
809 B
Plaintext

@import '../../minerva.less/minerva.variables';
/**
* 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.
*/
// FIXME: to support hlists on enwiki projects - this should be deprecated
.hlist > ul,
.hlist > dl,
// 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.
ul.hlist {
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;
}
}