Index:Library Legislation - Yust - 1921.djvu/styles.css

From Wikisource
Jump to navigation Jump to search
/* Lists are not bulleted */
ul {
	list-style-type: none;
	list-style-image: none;
	margin-top: 0;
}

/* First level items: The index is a list of hanging-indented items */
._ll_index > ul > li {
	text-indent: -2em;
	margin-left: 2em;
	margin-top: 0.3em;
}

/* Second level items */
._ll_index > ul li > ul {
    text-indent: 2em;
    margin-left: -2em;  /* align with first level items after wrap */
}

/* all ordered lists work like this */
ol ol {
	/* fallback for user agents that can't do CSS counters */
	list-style-type: lower-alpha
}

/* try a fancy styled marker */
ol ol li::marker {
	font-style: italic;
	content: counter(list-item, lower-alpha) ") "; 
}

ol ol li {
	padding-left: 0.5em;
}