| | |
| | | } |
| | | |
| | | .text-highlight { |
| | | background-color: #fff23688; |
| | | background-color: var(--textHighlight); |
| | | padding: 0 0.1rem; |
| | | border-radius: 5px; |
| | | } |
| | | |
| | | ::selection { |
| | | background: color-mix(in srgb, var(--tertiary) 60%, rgba(255, 255, 255, 0)); |
| | | color: var(--darkgray); |
| | |
| | | .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: ""; |