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

/* Adapted from Index:A Chinese and English vocabulary, in the Tie-chiu dialect.djvu/styles.css */

dl { /*--ch-width: 3rem;*/ /* XXX: parser strips CSS variables */ display: flex; flex-direction: row; flex-wrap: wrap; } dt { /*width: var(--ch-width);*/ width: 3rem; font-size: 3em; font-weight:normal; line-height: 100%; /* align to top */ padding-bottom: 0.25em; padding-bottom: 0.25em; padding-bottom: 0.25em; }

dd { margin: 0; /*width: calc(100% - var(--ch-width));*/ width: calc(100% - 5em); /*line-height: 100%; align to top */ padding-bottom: 0.5em; }