From c320ba524c98301b0c339618739042d9076cb90e Mon Sep 17 00:00:00 2001 From: saicaca Date: Sat, 26 Oct 2024 16:03:38 +0800 Subject: [PATCH] fix: missing CSS classes --- src/base.css | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/src/base.css b/src/base.css index cfefb2d..f5cacea 100644 --- a/src/base.css +++ b/src/base.css @@ -63,6 +63,23 @@ hover:decoration-[var(--link-hover)] active:decoration-[var(--link-active)] underline-offset-[0.25rem] } + .toc-hide, + .toc-not-ready { + @apply opacity-0 pointer-events-none + } + + #toc-inner-wrapper { + mask-image: linear-gradient(to bottom, transparent 0%, black 2rem, black calc(100% - 2rem), transparent 100%); + } + + .hide-scrollbar { + scrollbar-width: none; + -ms-overflow-style: none; + } + .hide-scrollbar::-webkit-scrollbar { + display: none; + } + .text-90 { @apply text-black/90 dark:text-white/90 }