mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/MinervaNeue
synced 2024-12-21 01:52:49 +00:00
f6165152a2
This is akin to I404710209d59241991716bb7180bcaabcafffcec which was for the most of desktop skins but since Minerva doesn't have any dependency to `elements` and `i18n-all-lists-margins` it should have it's own implementation of the change. Bug: T371082 Change-Id: I1b98ced874a1caf049e7e09dbb678105d4d9e4d4
60 lines
963 B
Plaintext
60 lines
963 B
Plaintext
.content {
|
|
ol {
|
|
margin: 0;
|
|
padding: 0 0 0 2.25em;
|
|
padding-inline-start: 2.25em;
|
|
padding-inline-end: 0;
|
|
}
|
|
|
|
ul {
|
|
list-style-type: disc;
|
|
padding-left: 1em;
|
|
padding-inline-start: 1em;
|
|
padding-inline-end: 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-start: 1em;
|
|
margin-inline-end: 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-start: 1em;
|
|
margin-inline-end: 0;
|
|
}
|
|
}
|