mirror of
https://github.com/ChenQihan666/MyBlog-Next.git
synced 2026-08-14 11:29:33 +08:00
Add table of contents base style
This commit is contained in:
+12
-1
@@ -44,11 +44,22 @@
|
||||
@apply w-6 h-6 inline-block fill-skin-base group-hover:fill-skin-accent;
|
||||
}
|
||||
.prose {
|
||||
@apply prose-a:underline-offset-8 prose-li:overflow-x-clip prose-a:!decoration-dashed hover:prose-a:text-skin-accent prose-img:mx-auto;
|
||||
@apply prose-a:underline-offset-8 prose-li:overflow-x-clip
|
||||
prose-a:!decoration-dashed hover:prose-a:text-skin-accent
|
||||
prose-img:mx-auto;
|
||||
}
|
||||
.theme-dark .prose {
|
||||
@apply prose-invert;
|
||||
}
|
||||
#article h2#table-of-contents {
|
||||
@apply mb-2;
|
||||
}
|
||||
#article h2#table-of-contents + p {
|
||||
@apply hidden;
|
||||
}
|
||||
#article details {
|
||||
@apply cursor-pointer inline-block select-none;
|
||||
}
|
||||
}
|
||||
|
||||
@layer components {
|
||||
|
||||
Reference in New Issue
Block a user