Index:California Digital Library (IA surnamesofchines00jone).pdf/styles.css

h2 { text-align: center; }

table { counter-reset: rime; }

th { font-weight: normal; }

th[colspan="5"] b { font-size: 150%; }

th[colspan="5"]:before { counter-increment: rime; content: counter(rime); float: left; font-weight: bold; }

th[colspan="5"]:after { content: counter(rime, lower-roman); /* XXX: The preprocessor doesn't recognize the CJK options. lmao ok? */ float: right; }

th:lang(zh) { text-align: left; font-size: 175%; }

tr:lang(zh) + tr th, tr:lang(zh) + tr + tr th { font-style: italic; text-align: left; }

tr:lang(zh) + tr td { text-transform: uppercase; }