Index:A history of Japanese colour-prints by Woldemar von Seidlitz.djvu/styles.css

/*
Emulate {{plainlist/s|hanging-indent=1em|indent=2|style=font-size: 92%}}
(this would normally come from the wst-plainlist_hi1 class, but since almost
all pages use a hanging indent of 1em, we apply it unless otherwise specified.)

The list of signs (page 202) should not have any of this
(and may need further custom CSS later on)
*/
.wst-plainlist:not(.list-of-signs) li {
	font-size: 92%;
}
.wst-plainlist:not(.list-of-signs):not(.index):not(.wst-plainlist_hi2) li {
	margin-left: 3.2em;
	text-indent: -1em;
}

/* first item of "mid" templates has no indent */
.wst-plainlist:not(.list-of-signs):not(.index).wst-plainlist_m ul:first-child li:first-child {
    text-indent: 0;
}

/*
Page 28 (scan 82) and the bibliography use a hanging indent
of 2em instead of 1em, for some reason
*/
.wst-plainlist_hi2 li {
	margin-left: 4.2em;
	text-indent: -2em;
}

.wst-plainlist.index {
	margin-left: 1em;
	text-indent: -1em;
	font-variant-numeric: oldstyle-nums;
}
/*
Put a gap between sub-lists in the index
(the index has nested lists, one for each initial letter)
*/
.wst-plainlist.index ul li:not(:first-child) ul {
	margin-top: 1em;
}