Index:Chronologies and calendars (IA chronologiescale00macdrich).pdf/styles.css

From Wikisource
Jump to navigation Jump to search
._toc {
	margin: 0 auto;
}

._toc ._toc-h td{
	font-variant: all-small-caps;
	font-size: 80%;
}

._toc td:nth-last-child(3){
	text-align: right;
	padding-right: 1em;
}

._toc td:nth-last-child(2) {
	overflow: hidden;
	position: relative;
	font-variant: small-caps;
}

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

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

.wst-heading {
	text-align: center;
}

.wst-heading._chapter-num {
	text-transform: uppercase;
	margin-top: 1em;
	margin-bottom: 0.5em;
}

/* modern forms for kxyAKNSVY with variant A, for some reason 'ss01','cv05' 0 doesn't seem to work? but the font isn't that close either. ref: https://unifraktur.sourceforge.net/maguntia.html */
.wst-heading._chapter-title, .wst-heading._index-title {
	font-family:'UnifrakturMaguntia', 'UnifrakturCook', 'Unifraktur', serif;
	font-feature-settings: 'cv01', 'cv02', 'cv03', 'cv04' 2, 'cv06', 'cv07', 'cv08', 'cv09', 'cv10';
	font-size: 120%;
}

.wst-heading._chapter-title#Introduction\.{
	letter-spacing: 0.1em;
}

.wst-heading._index-title {
	letter-spacing: 0.15em;
}

#__p43-table{
	border-collapse: collapse;
	border-top: 1px solid black;
	border-bottom: 1px solid black;
	margin: 0.5em auto;
}

#__p43-table tr:nth-child(3) td{
	border-top: 1px solid black;
}

#__p43-table td{
	text-align: center;
	font-size: 92%;
	padding: 0.25em;
}

#__p43-table td:nth-child(n+2), #__p43-table tr:nth-child(2) td:first-child {
	border-left: 1px solid black;
}

#__frc-table{
	margin: 0 auto;
}
#__frc-table tr:nth-child(2n+1) td{
	text-align: center;
}

.__p77table, .__p83table {
	border-collapse:collapse;
	text-align: center;
	font-size: 92%;
}
.__p77table tr:first-child, .__p83table > tbody > tr:first-child{
	border-top: 1px solid black;
	border-bottom: 1px solid black;
	font-size: 80%;
}

.__p77table td, .__p83table > tbody > tr > td {
	padding-left:0.5em;
	padding-right:0.5em;
}

.__p77table td:nth-child(n+2), .__p83table > tbody > tr > td:nth-child(n+2){
	border-left: 1px solid black;
}
.__p77table tr:last-child, .__p83table > tbody > tr:last-child{
	border-bottom: 1px solid black;
}

#__roman-cal-table {
	border-collapse: collapse;
	margin: 0 auto;
	border: 1px solid black;
}

#__roman-cal-table td{
	font-size: 92%;
	padding-left: 0.5em;
	padding-right: 0.5em;
}

#__roman-cal-table tr:first-child {
	border: 1px solid black;
}

#__roman-cal-table td:not([rowspan]){
	border-left: 1px solid black;
}

._british-cal-table,._british-cal-table-e {
	border-collapse: collapse;
	border: 1px solid black;
	margin: 0 auto 1em auto;
}

._british-cal-table td,._british-cal-table-e td{
	border-left: 1px solid black;
	text-align: center;
	padding-left: 0.5em;
	padding-right: 0.5em;
}

._british-cal-table td:nth-child(4n+1),._british-cal-table-e td:nth-last-child(5n+4),._british-cal-table-e td:nth-last-child(5n+5){
	text-align: right;
}

._british-cal-table td:nth-child(4),._british-cal-table-e td:nth-last-child(6){
	border-right: 3px double black;
}

#__samvat-cal-table tr:first-child td{
	text-align:center;
}

#__samvat-cal-table tr:nth-child(n+2) td:nth-child(5n+2){
	text-align:right;
}

#__samvat-cal-table tr:nth-child(n+2) td:nth-child(3){
	padding-left:0.5em;
	padding-right:0.5em;
}

#__samvat-cal-table td:nth-child(5), #__chinese-cal-table td:nth-child(3){
	padding-left:1em;
	padding-right:1em;
}

#__bengali-cal-table {
	margin: 0 auto;
}

#__bengali-cal-table tr:first-child td,
#__bengali-cal-table tr td:nth-child(n+3):nth-child(-n+5){
	text-align: center;
}

#__bengali-cal-table tr td:nth-child(3){
	padding-left: 2em;
	padding-right: 1em;
}

#__bengali-cal-table tr td:nth-child(5){
	padding-left: 1em;
	padding-right: 2em;
}

#__bengali-cal-table tr:nth-child(n+2) td:nth-child(5n+2) {
	text-align: right;
}

#__chinese-cal-table td[colspan="2"]{
	text-align:center;
}

#__chinese-cal-table td:nth-child(2n+2){
	text-align:right;
}


._index-table {
	margin: 0 auto;
	font-size: 92%;
	border-collapse: collapse;
}

._index-table td:nth-child(1):nth-last-child(1) {
	padding: 0.5em;
}

._index-table td:nth-child(1) {
	overflow: hidden;
	position: relative;
	vertical-align: top;
}

._index-table td:nth-child(1)::after{
	position: absolute;
	padding-left: 0.5em;
	word-spacing: 2em;
	content: "- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -";
	text-align: right;
	text-indent: 0;
}

._index-table td:nth-child(2){
	text-align: right;
	padding-left: 1em;
	vertical-align: bottom;
}