mediawiki-skins-MinervaNeue/resources/skins.minerva.base.styles/content/lists.less
Ed Sanders eaeca6f328 Move dd scroll hack to .content scope
Bug: T304148
Change-Id: I24090527206e4ff7d53c5256cce1bd9981be8ae9
2022-05-03 15:59:28 +01:00

54 lines
772 B
Plaintext

.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 */
dl dd {
display: block;
// Some dd's may contain images so these need to be scrollable
// Text will not become scrollable.
// (see T160946)
overflow: auto;
}
}
/* As in Vector, indenting of definition lists, and bolding of defintion terms is generically useful */
dl {
margin-left: 1em;
dt {
font-weight: bold;
}
}