Index:A thousand years hence. Being personal experiences (IA thousandyearshen00gree).djvu/styles.css

From Wikisource
Jump to navigation Jump to search
.wst-heading {
	text-align: center;
}

.wst-heading.chapter-num {
	text-transform: uppercase;
	margin-top: 1em;
	margin-bottom: 1em;
	font-size: 120%;
}

.wst-heading.chapter-title {
	font-variant: all-small-caps;
	margin-bottom: 1em;
}
.wst-heading.chapter-title.left {
	text-align: left;
	margin-left: 2em;
	text-indent: -2em;
}
.wst-heading.subsection {
	font-variant: small-caps;
	margin-top: 1em;
}
._toc-outer {
	border-collapse: collapse;
	margin: 0 auto 0 auto;
}

._toc-outer td[colspan="2"]{
	text-align: center;
	padding-top: 2em;
}

._toc-outer td:nth-last-child(2) {
	position: relative;
	overflow: hidden;
	width: 100%;
}

/* required to stop it from overriding classed rules */
._toc-outer td:nth-last-child(2):not([class]) {
	padding-left: 1em;
	text-indent: -1em;
}

._toc-outer td:nth-child(2) {
	text-align: right;
	padding-left: 1em;
}

._toc-outer td:nth-last-child(2)::after {
	position: absolute;
	padding-left: 0.25em;
	padding-right: 0em;
	word-spacing: 3em;
	content: "... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ...";
	text-align: right;
	text-indent: 0;
}
._toc-outer tr:nth-child(2n) td:nth-last-child(2)::after {
	padding-right: 2em;
}

._toc-outer ._i1 { /* 2em indent, 1em hanging */
	padding-left: 3em;
	text-indent: -1em;
}
._toc-outer ._i2 { /* 4em indent, 1em hanging */
	padding-left: 5em;
	text-indent: -1em;
}
._toc-outer ._i3 { /* 6em indent, 1em hanging */
	padding-left: 7em;
	text-indent: -1em;
}
._toc-pheader td {
	font-size: 80%;
	font-variant: all-small-caps;
}