Template:Hanging indent/sandbox/styles.css
Appearance
/* Core template styles */
/* Hanging indent */
.wst-hanging-indent {
margin-left: 2em;
text-indent: -2em;
}
.wst-hanging-indent p {
text-indent: inherit;
margin-left: 0;
}
/* No hanging on the first para of a continued page */
.wst-hanging-indent.wst-hanging-indent-mid p:first-child {
text-indent: 0;
}
/* Adaptations to work well with other templates */
/* div col */
.wst-div-col .wst-hanging-indent p:nth-child(1) {
margin-top: 0;
}
/* dotted TOCs */
/* No hanging indent on first paragraph as it's a continuation from a previous one. */
.wst-hanging-indent-mid > .wst-toc-dotcell:first-child {
text-indent: 0;
}