2017-10-31 21:41:23 +00:00
|
|
|
@import '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.
|
|
|
|
*/
|
|
|
|
|
|
|
|
// FIXME: to support hlists on enwiki projects - this should be deprecated
|
|
|
|
.hlist > ul,
|
2017-10-31 21:41:23 +00:00
|
|
|
.hlist > dl,
|
2017-06-01 23:09:24 +00:00
|
|
|
// 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 {
|
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;
|
|
|
|
}
|
|
|
|
:last-child:after {
|
2017-10-06 22:54:22 +00:00
|
|
|
content: none !important;
|
2017-06-01 23:09:24 +00:00
|
|
|
}
|
|
|
|
}
|