style: optimize home page style

This commit is contained in:
XPoet 2022-10-20 17:38:05 +08:00
parent b499579def
commit 5e31c08831
2 changed files with 8 additions and 2 deletions

View File

@ -39,5 +39,5 @@ const target_date = post.date !== post.updated ? post.updated : post.date
<% } %>
</div>
<a href="<%- url_for(post.path) %>"><%- __('read_more') %>&nbsp;<i class="fas fa-angle-right"></i></a>
<a class="read-more" href="<%- url_for(post.path) %>"><%- __('read_more') %>&nbsp;<i class="fas fa-angle-right"></i></a>
</div>

View File

@ -59,7 +59,6 @@
color var(--text-color-4)
font-size 0.92rem
.home-article-meta-info {
letter-spacing 0.5px
@ -90,6 +89,12 @@
}
.read-more {
display flex
align-items center
}
hr {
flex 1
height 1px
@ -98,6 +103,7 @@
border none
}
a {
color var(--text-color-4)