2019-08-08 20:01:03 +00:00
|
|
|
@import '../../minerva.less/minerva.variables.less';
|
2017-06-01 23:09:24 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* 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">
|
2020-02-11 22:24:19 +00:00
|
|
|
// <li>item 1</li>
|
|
|
|
// <li>item 2</li>
|
2017-06-01 23:09:24 +00:00
|
|
|
// </ul>
|
2018-12-12 23:20:10 +00:00
|
|
|
// FIXME: `.hlist > *` to support hlists on enwiki projects - this should be deprecated
|
|
|
|
ul.hlist,
|
|
|
|
.hlist > ul,
|
|
|
|
.hlist > dl {
|
2017-06-01 23:09:24 +00:00
|
|
|
li {
|
|
|
|
display: inline-block;
|
|
|
|
margin-right: 8px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.hlist-separated {
|
|
|
|
li:after {
|
2017-10-06 22:54:22 +00:00
|
|
|
// Make sure we override any site styles
|
|
|
|
content: '•' !important;
|
2017-06-01 23:09:24 +00:00
|
|
|
padding-left: 8px;
|
2017-10-09 16:28:04 +00:00
|
|
|
font-size: 1em;
|
2017-06-01 23:09:24 +00:00
|
|
|
line-height: 1;
|
|
|
|
}
|
2018-12-12 23:20:10 +00:00
|
|
|
|
2017-06-01 23:09:24 +00:00
|
|
|
:last-child:after {
|
2017-10-06 22:54:22 +00:00
|
|
|
content: none !important;
|
2017-06-01 23:09:24 +00:00
|
|
|
}
|
|
|
|
}
|