diff options
Diffstat (limited to 'styles.css')
-rw-r--r-- | styles.css | 42 |
1 files changed, 32 insertions, 10 deletions
@@ -1,12 +1,3 @@ -@font-face { - font-family: "STIXTwoMath"; - src: url("STIXTwoMath-Regular.otf"); -} - -math { - font-family: "STIXTwoMath"; -} - code.hljs { padding: 2px; border-radius: 2px; @@ -17,6 +8,37 @@ pre code.hljs { border-radius: 0.5em; } -pre.code-block { +:not(.katex-display) > .katex { + font-size: 1em; +} + +.message-content { + width: 100% !important; +} + +.message-parts-container { + counter-reset: katexEqnNo mmlEqnNo; /* Reset equation counter per message */ + white-space: normal; +} + +.message-parts-container > * { margin: 0.5em 0; } + +:is(.message-parts-container, .parent-text) a { + color: #1083c7; + text-decoration: none; +} + +:is(.message-parts-container, .parent-text) > :first-child { + margin-top: 0; +} + +:is(.message-parts-container, .parent-text) > :nth-last-child(-n + 1 of :not(.edited)) { + display: inline; /* Allow '(edited)' to follow on same line */ + margin-bottom: 0; +} + +.edited::before { + content: " "; +} |