mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/MinervaNeue
synced 2024-11-16 10:50:52 +00:00
747b712509
Override provided styles Bug: T42062 Depends-On: I9305af5d30c8c24b44f4a0c6a466581c45fa3028 Change-Id: I7adda8ef99e5eee3df5bd7dc4da5081c1225f815
41 lines
763 B
Plaintext
41 lines
763 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,.hlist > ul,
|
|
// 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 {
|
|
content: '•';
|
|
padding-left: 8px;
|
|
color: @linkColor;
|
|
font-size: 16px;
|
|
line-height: 1;
|
|
}
|
|
:last-child:after {
|
|
content: '';
|
|
}
|
|
}
|