文章详情按钮

This commit is contained in:
tangly1024
2022-02-18 11:15:13 +08:00
parent 386126c77c
commit 6ff655f689
2 changed files with 6 additions and 7 deletions

View File

@@ -151,8 +151,8 @@ nav {
.glassmorphism{
background: hsla(0, 0%, 100%, .75);
-webkit-backdrop-filter: blur(10px);
backdrop-filter: blur(10px);
-webkit-backdrop-filter: blur(10px);
backdrop-filter: blur(10px);
}
.dark .glassmorphism{
@@ -184,7 +184,6 @@ nav {
padding-top: 160px;
bottom: -1px;
margin-top: -200px;
text-align: center;
width: 100%;
background-image: linear-gradient(-180deg,rgba(255,255,255,0) 0%,#fff 70%);
padding-bottom: 34px;
@@ -192,4 +191,4 @@ nav {
.shadow-text{
text-shadow: 0.1em 0.1em 0.2em black;
}
}

View File

@@ -59,9 +59,9 @@ const BlogPostCard = ({ post, showSummary }) => {
/>
</div> }
<div className='article-cover pointer-events-none'>
<Link href={`${BLOG.PATH}/article/${post.slug}`} passHref>
<a className='hover:bg-opacity-100 hover:scale-105 pointer-events-auto transform duration-300 rounded-md p-2 text-red-500 cursor-pointer'>
<div className='article-cover pointer-events-none text-right'>
<Link href={`${BLOG.PATH}/article/${post.slug}`}>
<a className='hover:bg-opacity-100 hover:scale-105 hover:underline pointer-events-auto transform duration-300 p-3 text-white bg-gray-800 cursor-pointer'>
{locale.COMMON.ARTICLE_DETAIL}
<FontAwesomeIcon className='ml-1' icon={faAngleRight} /></a>
</Link>