/* CSS Kanbun by Lani Alden.
Kanbun HTML/CSS (漢文のHTML/CSS) by Lani Alden (http://www.lanialden.com) is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.
Based on a work at http://lanialden.com/static/kanbun.html.
*/
.kanbunText {
writing-mode : vertical-rl;
-webkit-writing-mode : vertical-rl;
-ms-webkit-writing-mode: vertical-rl;
-o-webkit-writing-mode: vertical-rl;
font-family : '@MS 明朝';
font-size: 1.8em;
max-height: 650px;
}
.shortText {
height: 650px;
background-color: white;
padding: 10px;
border-radius: 10px;
border: 1px solid black;
}
.kanbunBox {
display: inline-block;
position: relative;
width: 2.5em; /* font-size + .5em */
}
.kanbunBox ruby.leftBox {
-webkit-ruby-position: after;
margin-top: -0.55em;
}