Template:Hanging indent/styles.css
外观
/*
* Core template styles.
*/
/* Hanging indent */
.hanging-indent{
margin-left: 2em;
text-indent: -2em;
}
.hanging-indent p {
text-indent: -2em;
}
/* No hanging on the first para of a continued page */
.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;
}