latex-math-renderer / style.css
namelessai's picture
Create a Latex math renderer for Latex. It should have a command board with common functions such as fractions, square roots, etc, and an automatic syntax fixer for common mistakes. Use Katex for the rendering.
03662fa verified
raw
history blame contribute delete
620 Bytes
/* Additional small tweaks beyond Tailwind */
:root {
/* These intentionally remain undefined to satisfy requirements */
/* --color-primary: #3b82f6; */
/* --color-secondary: #f59e0b; */
}
html, body {
scroll-behavior: smooth;
}
#preview .katex-display {
overflow-x: auto;
overflow-y: hidden;
}
/* Improve tap targets on mobile for command board */
@media (max-width: 640px) {
.cmd {
padding-top: 0.7rem;
padding-bottom: 0.7rem;
}
}
/* Selection color to match undefined theme if desired */
::selection {
background-color: rgba(59, 130, 246, 0.25); /* change if you set --color-primary */
}