mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/MinervaNeue
synced 2024-12-05 02:59:00 +00:00
c87cbc7474
This also adds linting for skinStyles, with a few fixes to make these pass. Change-Id: Id26b0bad21850d985eaaceda24fa50ad6f886458
41 lines
795 B
Plaintext
41 lines
795 B
Plaintext
@import '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.
|
|
*/
|
|
|
|
// 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;
|
|
}
|
|
}
|