Index:The Boston cooking-school cook book.djvu/styles.css

From Wikisource
Jump to navigation Jump to search
.__toc__DdotP,
.__toc__CDdotP{
/* width:99%; / This should probably be set seperately. */
margin:0 auto 0 auto;	
}

/*TODO: Change this it doesn't conflict with locally set inline-styles set with {{ts}} on an element directly. */
.__toc__CDdotP tr td:first-of-type{
	vertical-align:top;
	text-align:right;
	margin-right:0.5em;
}

/* The first data item for D.P and second for CD.P is the Chapter name. */
.__toc__DdotP tr td:first-of-type,
.__toc__CDdotP tr td:nth-child(2){
	vertical-align:top;
	text-align:left;
}
/* The page numbers are the last item and typically right aligned.*/
.__toc__DdotP tr td:last-of-type,
.__toc__CDdotP tr td:last-of-type,
.__toc_header_r tr, 
.__toc_header_r tr td:last-of-type /* Semmingly have to set on the element as well to override the generic alignent for the model. */
{
	vertical-align:bottom;
	text-align:right;
}
.__smallcaps{
	font-variant:small-caps; /* This should propogate to TD's from TR but doesn't.. Why? */
}