style: add fade animations to roc, back button, tags and waline comment, refactor katex import method

This commit is contained in:
radishzzz 2025-05-17 22:33:14 +01:00
parent dda2bb6caa
commit 90c2099fec
10 changed files with 58 additions and 12 deletions

View file

@ -1,7 +1,7 @@
<script>
function resetFadeUpAnimation() {
document.querySelectorAll('.animation-fade-up').forEach((container) => {
const childElements = Array.from(container.children).slice(0, 20)
const childElements = Array.from(container.children)
childElements.forEach(element =>
(element as HTMLElement).style.animationName = 'none',
)