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

57 lines
958 B
Plaintext
Raw Normal View History

.content {
ol {
margin: 0;
padding: 0 0 0 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: 0 0 0 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: 0.2em 0 0.5em 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;
}
}