Index:Collingwood - Life and Letters of Lewis Carroll.djvu/styles.css

From Wikisource
Jump to navigation Jump to search
/* lists of illustrations */
._illustrationlist{
	margin: 0 auto;
}

._illustrationlist th{
	font-weight: normal;
	font-variant: all-small-caps;
	text-align: right;
}

/* even table rows (photo names) */
._illustrationlist tr:nth-child(even) td:nth-child(1){
	font-variant: all-small-caps;
	padding-right: 2em;
	
	/* hanging indent */
	padding-left: 2em;
	text-indent: -2em;
}

/* odd table rows (photo descriptions) */
._illustrationlist tr:nth-child(odd) td:nth-child(1){
	padding-left: 2em;
	font-style: italic;
}

/* page numbers */
._illustrationlist td:nth-child(2){
	text-align: right;
}

/*  sum table on page 58 */
.__sumtable{
	margin: 0 auto;
}

.__sumtable td:first-child{
	padding-right: 10em;
}

/* savings table on page 61 */
.__savingstable{
	margin: 0 auto;
	border-collapse: collapse;
}

/* headers */
.__savingstable th{
	font-weight: normal;
	text-align: center;
}

.__savingstable td{
	padding-right: 1em;
}

/* investing types */
.__savingstable td:first-child{
	
	/* hanging indent */
	padding-left: 2em;
	text-indent: -2em;
}

.__savingstable td:nth-child(n + 2){
	text-align: right;
}

/* sums at the bottom: add border */
.__savingstable tr:last-child td:nth-child(n + 2){
	border-top: 1px solid black;
}