Template:User:Victar/brac/style.css

.brac-wrap[data-item-count] { display: inline-block }

.brac-wrap[data-item-count="2"] { height:2em } .brac-wrap[data-item-count="3"] { height:3em } .brac-wrap[data-item-count="4"] { height:4em }

.brac-wrap[data-item-count] .content { writing-mode:vertical-rl; display: inline-block; vertical-align: middle }

.brac-wrap[data-item-count] .item { writing-mode: horizontal-tb; font-size:80%; line-height:1.25em; height:1.25em; }

.brac-wrap[data-item-count] .brac-char { display: inline-block; vertical-align: middle; font-family:"Latin Modern Roman","Book Antiqua","Palatino Linotype", Palatino, serif }

.brac-wrap[data-item-count="2"] .brac-char { line-height:2rem; margin-top:-0.5em }

.brac-wrap[data-item-count="3"] .brac-char { line-height:3rem; margin-top:-1em }

.brac-wrap[data-item-count="4"] .brac-char { line-height:4rem; margin-top:-1.5em }

.latex { font-size: 1.4em; font-family: serif; font-weight: bold; font-style: italic; } .latex .brac-char { font-style: normal; font-weight: normal; }