Index:Cary's New Itinerary (1819).djvu/styles.css

From Wikisource
Jump to navigation Jump to search
.__cni-entry{
	width:100%;
}

.__cni-entry tr td:nth-child(2),
.__cni-entry tr td:nth-child(3),
.__cni-entry tr td:nth-child(4),
.__cni-entry tr td:nth-child(5){ width: 3em}


ol.references{
list-style-position:inside ;
margin-left:0;
}

/* generic - middle column borders */
table.__midcols{
	border-collapse:collapse;
	width: 100%;
}

table.__midcols td{
	border-left:1px solid black;
}

table.__midcols th{
	border-left:1px solid black;
}

table.__midcols tr th:first-of-type {
	border-left:none;
}

table.__midcols tr td:first-of-type {
	border-left:none;
}


.__toc{
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 tr td:first-of-type{
	vertical-align:top;
	text-align:right;
	padding-right:0.5em;
}

/* Implement something that won't be possible until browsers support it {
.__toc__CDdotP>tr>td:firstoftype::after
.__toc__DdotP>tr>td:firstoftype::after {
  content: leader(dotted)}
} */


/* The first data item for D.P and second for CD.P is the Chapter name. */
.__toc__ tr td:nth-child(2){
	vertical-align:top;
	text-align:left;
}

.__toc 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;
}