/*
This is the CSS for Chinese text layout.
*/

#lzh-passages-container {
	display: flex;
	flex-direction: row-reverse;
	flex-wrap: wrap;
}

.lzh-passage {
	font-size: 5vh;
	font-family: "PingFang TC", "DengXian", sans-serif;
	display: flex;
	flex-direction: row-reverse;
	line-height: 1em;
	text-align: center;
	margin: .5em 1em;
}

.lzh-column {
	position: relative;
	width: 1em;
	padding: .5em;
	border: 2px solid black;
}

.lzh-column + .lzh-column {
	border-right: none;
}

.lzh-sub {
	font-size: .5em;
	display: flex;
	flex-direction: row-reverse;
}

.lzh-sub-a, .lzh-sub-b {
	position: relative;
}

.lzh-sub-a {
	left: .5em;
}

.lzh-sub-b {
	right: .5em;
}

.lzh-sub .lzh-punc {
	position: absolute;
	left: 1em;
}

.lzh-sub-char {
	display: inline-block;
}
