Index:The Cantonese Made Easy Vocabulary.pdf/styles.css

dt, dd, dd ol, dd ol li {
	margin: 0;
	display: inline;
}

/* we have to add our own list numbers if everything must be inline */

dd ol {
	vertical-align: top;
	counter-reset: definition-list-counter;
}

dd ol li {
	counter-increment: definition-list-counter;
}

dd ol li:before {
	content: "\a" counter(definition-list-counter) ". ";
	white-space: pre;
	font-weight: bold;
}

dd ol li:first-of-type:before {
	white-space: normal;
}

dd ol li:only-child:before {
	content: "";
}

/* indent */

dl {
	text-indent: -1em;
	padding-left: 1em;
}