mediawiki-skins-MinervaNeue/resources/skins.minerva.base.styles/content/lists.less

58 lines
977 B
Plaintext
Raw Normal View History

.content {
ol {
padding-left: 2.25em;
}
ul {
list-style-type: disc;
padding-left: 1em;
& > li > ul {
list-style-type: circle;
& > li > ul {
list-style-type: square;
}
}
}
/* stylelint-disable no-descending-specificity */
ol,
ul {
ol,
ul {
margin-left: 1em;
}
}
li {
margin-bottom: 10px;
&:last-child {
margin-bottom: inherit;
}
}
/* stylelint-enable no-descending-specificity */
}
/* As in Vector, indenting of definition lists, and bolding of definition terms is generically useful */
dl {
margin-top: 0.2em;
margin-bottom: 0.5em;
margin-left: 1em;
dt {
font-weight: bold;
}
/*
* Historically Minerva used a CSS reset to reset the margin of dd elements to 0.
* The main use case here is talk pages which can have significant intendation levels.
* This should likely be reconsidered for appropriate semantic use of dd elements and
* scoped to talk pages at a later date.
*/
dd {
margin: 0;
}
}