mediawiki-skins-MinervaNeue/resources/skins.minerva.base.styles/content/lists.less
libraryupgrader 842a91590a build: Updating npm dependencies
* eslint-config-wikimedia: 0.27.0 → 0.28.2
  The following rules are failing and were disabled:
  * tests/selenium:
    * implicit-arrow-linebreak
    * no-mixed-spaces-and-tabs
* grunt-banana-checker: 0.11.1 → 0.13.0
* stylelint-config-wikimedia: 0.16.1 → 0.17.2
  The following rules no longer exist and were removed:
  * stylistic/selector-list-comma-newline-after
* braces: 3.0.2 → 3.0.3
  * https://github.com/advisories/GHSA-grv7-fg5c-xmjg

Change-Id: Ia94454c1da778f241085714e1601a0233d547570
2024-08-01 15:27:33 +01:00

56 lines
848 B
Plaintext

.content {
ol {
margin: 0;
padding: 0 0 0 2.25em;
padding-inline: 2.25em 0;
}
ul {
list-style-type: disc;
padding-left: 1em;
padding-inline: 1em 0;
& > 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;
margin-inline: 1em 0;
}
}
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;
margin-inline: 1em 0;
}
}