详情页微调
This commit is contained in:
tangly1024
2021-12-08 17:24:08 +08:00
parent bca046cf03
commit 41b0ff7eb1
2 changed files with 3 additions and 3 deletions

View File

@@ -58,7 +58,7 @@ const Toc = ({ toc }) => {
<a
key={id}
href={`#${id}`}
className={`notion-table-of-contents-item px-5 duration-300 transform
className={`notion-table-of-contents-item px-5 duration-300 transform font-light
notion-table-of-contents-item-indent-level-${tocItem.indentLevel}
${activeSection === id && ' font-bold text-blue-400 dark:text-white'}`}
>

View File

@@ -62,7 +62,7 @@ const ArticleDetail = ({ post, blockMap, tags, prev, next, allPosts, categories
<article itemScope itemType="https://schema.org/Movie" className='animate__fadeIn animate__animated subpixel-antialiased lg:pt-32 lg:px-44 px-5 py-2 dark:border-gray-700 bg-white dark:bg-gray-800'>
{/* 文章Title */}
<h2 className='font-bold text-3xl pt-5 text-black dark:text-white font-serif'> {post.title}</h2>
<h2 className='font-bold text-4xl text-black dark:text-white font-serif'> {post.title}</h2>
<hr className='mt-4' />
<section className='flex-nowrap flex mt-1 dark:text-white font-light'>
<Link href={`/category/${post.category}`} passHref>
@@ -79,7 +79,7 @@ const ArticleDetail = ({ post, blockMap, tags, prev, next, allPosts, categories
)}
<div id='busuanzi_container_page_pv' className='hidden'>
<FontAwesomeIcon icon={faEye} className='text-gray-500 dark:text-gray-400 mt-3 ml-2' />
<FontAwesomeIcon icon={faEye} className='text-gray-500 dark:text-gray-400 mt-3 ml-3' />
&nbsp;<span id='busuanzi_value_page_pv' className='text-gray-500 dark:text-gray-400 leading-6'></span>
</div>
</section>