.dictionary { position: relative; left: 50%; transform: translate(-50%, 0); font-size: small; vertical-align: bottom; } .dictionary .headword { display: inline-block; color: red; font-weight: bold; text-decoration: underline; } .dictionary .headword i { color: inherit; } .dictionary .pronounciation { display: inline-block; font-family: monospace; } .dictionary .conjugation { display: inline-block; font-weight: bold; } .dictionary ol li { margin-left: 10px; } .dictionary ol li q { display: block; text-indent: 0.625em; font-family: serif; font-size: small; } .dictionary ol li i { display: block; right: 0.625em; font-size: small; position: absolute; } .dictionary ol li:before { font-weight: bold; } .dictionary .sense .example { font-style: italic; } .dictionary .sense .reference { text-decoration: underline; font-family: serif; } .dictionary ol.fifth { counter-reset: section 4; list-style-type: none; } .dictionary ol { counter-reset: section; list-style-type: none; } .dictionary li::before { counter-increment: section; content: counters(section,".") " "; }