mirror of
https://github.com/reonokiy/blog.nokiy.net.git
synced 2025-06-16 19:51:07 +02:00
chore: refine styling and update birth-of-retypeset article
- Remove view transitions for pin icon and desktop article timestamp - Adjust scrollbar thickness - Optimize apiflashKey path reference - Reduce underline offset distance
This commit is contained in:
parent
abdcd76a80
commit
712f49fe20
5 changed files with 32 additions and 35 deletions
|
@ -45,6 +45,7 @@ function getPostPath(post: Post) {
|
|||
data-disable-transition-on-theme
|
||||
>
|
||||
{post.data.title}
|
||||
</a>
|
||||
|
||||
{/* pinned icon */}
|
||||
{pinned && (
|
||||
|
@ -58,7 +59,6 @@ function getPostPath(post: Post) {
|
|||
<path d="M16.5 23.6c.6-6.1 1.1-8.6 7.2-15.5L15.9.4C9 6.5 6.5 7 .4 7.5l7.4 7.4-6.4 7 .7.7 7-6.4zm-.8-21.3 6 6c-5 6.1-5.7 8.1-6.2 12.2L3.4 8.5C7.5 8 9.5 7.3 15.6 2.3Z" />
|
||||
</svg>
|
||||
)}
|
||||
</a>
|
||||
</h3>
|
||||
|
||||
{/* mobile post time */}
|
||||
|
@ -74,11 +74,7 @@ function getPostPath(post: Post) {
|
|||
</div>
|
||||
|
||||
{/* desktop post time */}
|
||||
<div
|
||||
class="hidden text-3.65 leading-6.875 font-time lg:(ml-2.5 inline)"
|
||||
transition:name={`time-${post.data.abbrlink || post.id}`}
|
||||
data-disable-transition-on-theme
|
||||
>
|
||||
<div class="hidden text-3.65 leading-6.875 font-time lg:(ml-2.5 inline)">
|
||||
<PostDate
|
||||
date={post.data.published}
|
||||
minutes={post.remarkPluginFrontmatter.minutes}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue