| | |
| | | .math { |
| | | color: var(--darkgray); |
| | | fill: var(--darkgray); |
| | | overflow-wrap: anywhere; |
| | | hyphens: auto; |
| | | } |
| | | |
| | | p, |
| | | ul, |
| | | text, |
| | | a, |
| | | li, |
| | | ol, |
| | | ul, |
| | | .katex, |
| | | .math { |
| | | overflow-wrap: anywhere; |
| | | /* tr and td removed from list of selectors for overflow-wrap, allowing them to use default 'normal' property value */ |
| | | } |
| | | |
| | | .math { |
| | | &.math-display { |
| | | text-align: center; |
| | |
| | | flex: 1 1 auto; |
| | | } |
| | | |
| | | div:has(> .overflow) { |
| | | position: relative; |
| | | } |
| | | |
| | | ul.overflow, |
| | | ol.overflow { |
| | | max-height: 400; |
| | | overflow-y: auto; |
| | | position: relative; |
| | | |
| | | // clearfix |
| | | content: ""; |