mediawiki-skins-MinervaNeue/resources/skins.minerva.base.styles/content/lists.less
Timo Tijhof 0d61c78f73 Move skins.minerva.content.styles into skins.minerva.base.styles
This could be made even simpler by not using a LESS varialbe for
hacks.less, but loading it conditionally through the moduel def.
But, as a first step we can merge the two as-is.

Given that the subject and target are always referenced together
in page views, there is no need to keep an alias around. However,
I'm keeping it anyway so as to not produce any
`/* {"skins.foo":"missing"} */` appendix to the stylesheet response
for these cached URLs.

Bug: T266361
Change-Id: I8578faab8ca32bd49be90711cbd5e182763b8065
2021-06-21 17:50:37 +00:00

53 lines
665 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 {
margin-left: 1em;
dt {
font-weight: bold;
}
dd {
display: block;
// Some dd's may contain images so these need to be scrollable
// Text will not become scrollable.
// (see T160946)
overflow: auto;
}
}