mediawiki-skins-MinervaNeue/resources/skins.minerva.base.styles/content/lists.less
Bartosz Dziewoński b3f1fb5313 Definition list has no left margin, only definition items do
This matches how the indents are applied by other skins.

Bug: T367092
Change-Id: I7cf78065bd8ddd6c97a242dfcce586704029ccc1
2024-06-21 23:34:24 +02:00

52 lines
746 B
Plaintext

.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 */
}
dl {
/* Unlike other lists, a definition list has no left margin, only definition items do */
margin: 0.2em 0 0.5em 0;
/* As in Vector, indenting of definition items, and bolding of definition terms is generically useful */
dt {
font-weight: bold;
}
dd {
margin: 0 0 0 1em;
}
}