mirror of
https://github.com/ChenQihan666/MyBlog-Next.git
synced 2026-08-14 07:33:07 +08:00
Update about layout prose style
This commit is contained in:
@@ -19,7 +19,7 @@ const { frontmatter } = Astro.props;
|
|||||||
<Header activeNav="about" />
|
<Header activeNav="about" />
|
||||||
<Breadcrumbs />
|
<Breadcrumbs />
|
||||||
<main id="main-content">
|
<main id="main-content">
|
||||||
<section class="mb-28 prose prose-slate max-w-3xl">
|
<section id="about" class="mb-28 prose max-w-3xl prose-img:border-0">
|
||||||
<h1 class="text-2xl sm:text-3xl tracking-wider">{frontmatter.title}</h1>
|
<h1 class="text-2xl sm:text-3xl tracking-wider">{frontmatter.title}</h1>
|
||||||
<slot />
|
<slot />
|
||||||
</section>
|
</section>
|
||||||
|
|||||||
+2
-1
@@ -74,7 +74,8 @@
|
|||||||
prose-hr:!border-skin-line prose-li:marker:!text-skin-accent
|
prose-hr:!border-skin-line prose-li:marker:!text-skin-accent
|
||||||
prose-blockquote:!border-l-skin-accent prose-blockquote:border-opacity-50;
|
prose-blockquote:!border-l-skin-accent prose-blockquote:border-opacity-50;
|
||||||
}
|
}
|
||||||
#article a {
|
#article a,
|
||||||
|
#about a {
|
||||||
@apply hover:!text-skin-accent;
|
@apply hover:!text-skin-accent;
|
||||||
}
|
}
|
||||||
.prose thead th:first-child,
|
.prose thead th:first-child,
|
||||||
|
|||||||
Reference in New Issue
Block a user