Update about layout prose style

This commit is contained in:
Sat Naing
2022-09-26 12:18:16 +06:30
parent df307b7a5f
commit 88b95df2e4
2 changed files with 3 additions and 2 deletions
+1 -1
View File
@@ -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
View File
@@ -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,