2017-07-12 15:12:40 +00:00
|
|
|
.content {
|
|
|
|
ul {
|
2017-11-02 17:56:51 +00:00
|
|
|
list-style: square outside;
|
|
|
|
padding-left: 1em;
|
|
|
|
|
2017-07-12 15:12:40 +00:00
|
|
|
& > li > ul {
|
|
|
|
list-style-type: disc;
|
2018-12-12 23:20:10 +00:00
|
|
|
|
2017-07-12 15:12:40 +00:00
|
|
|
& > li > ul {
|
|
|
|
list-style-type: circle;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
ol {
|
|
|
|
list-style: decimal inside;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* stylelint-disable no-descending-specificity */
|
|
|
|
ol,
|
|
|
|
ul {
|
|
|
|
ol,
|
|
|
|
ul {
|
|
|
|
margin-left: 1em;
|
|
|
|
}
|
2018-12-12 23:20:10 +00:00
|
|
|
|
2017-07-12 15:12:40 +00:00
|
|
|
li {
|
|
|
|
margin-bottom: 10px;
|
2018-12-12 23:20:10 +00:00
|
|
|
|
2017-07-12 15:12:40 +00:00
|
|
|
&:last-child {
|
|
|
|
margin-bottom: inherit;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
/* stylelint-enable no-descending-specificity */
|
|
|
|
}
|
|
|
|
|
|
|
|
dl {
|
|
|
|
margin-left: 1em;
|
2018-12-12 23:20:10 +00:00
|
|
|
|
2017-07-12 15:12:40 +00:00
|
|
|
dt {
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
2018-12-12 23:20:10 +00:00
|
|
|
|
2017-07-12 15:12:40 +00:00
|
|
|
dd {
|
|
|
|
display: block;
|
|
|
|
// Some dd's may contain images so these need to be scrollable
|
|
|
|
// Text will not become scrollable.
|
|
|
|
// (see T160946)
|
|
|
|
overflow: auto;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
/* the following rule is completely copied from mediawiki.skinning.content[1], as
|
|
|
|
* don't want to include this module in mobile/minerva, see T129375.
|
|
|
|
* [1] https://github.com/wikimedia/mediawiki/blob/0687f250d6fb4196a7aa60af4fe11c7d21f3c455
|
|
|
|
* /resources/src/mediawiki.skinning/content.css#L260
|
|
|
|
*/
|
|
|
|
/* Hide elements that are marked as "empty" according to legacy Tidy rules,
|
|
|
|
* except if a client script removes the mw-hide-empty-elt class from the body
|
|
|
|
*/
|
|
|
|
body.mw-hide-empty-elt .mw-empty-elt {
|
|
|
|
display: none;
|
|
|
|
}
|