mirror of
https://github.com/ChenQihan666/MyBlog-Next.git
synced 2026-08-14 11:29:33 +08:00
Add styling for prose table and prose heading
This commit is contained in:
+9
-1
@@ -49,7 +49,15 @@
|
|||||||
.prose {
|
.prose {
|
||||||
@apply prose-a:underline-offset-8 prose-ul:overflow-x-clip
|
@apply prose-a:underline-offset-8 prose-ul:overflow-x-clip
|
||||||
prose-a:!decoration-dashed hover:prose-a:text-skin-accent
|
prose-a:!decoration-dashed hover:prose-a:text-skin-accent
|
||||||
prose-img:mx-auto prose-img:border-2 prose-img:border-skin-line;
|
prose-img:mx-auto prose-img:border-2 prose-img:border-skin-line
|
||||||
|
prose-headings:!mb-3
|
||||||
|
prose-th:border prose-th:border-skin-line
|
||||||
|
prose-td:border prose-td:border-skin-line;
|
||||||
|
}
|
||||||
|
.prose thead th:first-child,
|
||||||
|
tbody td:first-child,
|
||||||
|
tfoot td:first-child {
|
||||||
|
padding-left: 0.5714286em;
|
||||||
}
|
}
|
||||||
.theme-dark .prose {
|
.theme-dark .prose {
|
||||||
@apply prose-invert;
|
@apply prose-invert;
|
||||||
|
|||||||
Reference in New Issue
Block a user