Skip to content

Commit

Permalink
Merge pull request #355 from everfu/dev
Browse files Browse the repository at this point in the history
Dev
  • Loading branch information
everfu authored Aug 3, 2024
2 parents 9c9924a + b40ca35 commit a8fe249
Show file tree
Hide file tree
Showing 5 changed files with 667 additions and 664 deletions.
23 changes: 13 additions & 10 deletions layout/includes/widgets/aside/asideInfoCard.pug
Original file line number Diff line number Diff line change
Expand Up @@ -39,15 +39,18 @@
.author-info__desc!= config.subtitle

.card-info__data.is-center
a(href=url_for('/archives/') title=_p('aside.card.posts') + site.posts.length)
.length-num= site.posts.length
.headline= _p('page.archives')
a(href=url_for('/tags/') title=_p('aside.card.tags') + site.tags.length)
.length-num= site.tags.length
.headline= _p('page.tag')
a(href=url_for('/categories/') title=_p('aside.card.categories') + site.categories.length)
.length-num= site.categories.length
.headline= _p('page.category')
if site.posts.length !== 0
a(href=url_for('/archives/') title=_p('aside.card.posts') + site.posts.length)
.length-num= site.posts.length
.headline= _p('page.archives')
if site.tags.length !== 0 && theme.page.tags
a(href=url_for('/tags/') title=_p('aside.card.tags') + site.tags.length)
.length-num= site.tags.length
.headline= _p('page.tag')
if site.categories.length !== 0 && theme.page.categories
a(href=url_for('/categories/') title=_p('aside.card.categories') + site.categories.length)
.length-num= site.categories.length
.headline= _p('page.category')

.card-info-social-icons.is-center
each value, label in theme.aside.card.information || {}
Expand Down Expand Up @@ -83,4 +86,4 @@
.headline= _p('page.category')
.card-info__desc_group
.author-info__description!= theme.aside.card.content
.author-info__description2!= theme.aside.card.content2
.author-info__description2!= theme.aside.card.content2
2 changes: 1 addition & 1 deletion source/css/_layout/header.styl
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@
&:hover
label
i
background var(--efu-white)
background var(--efu-card-bg)

.left
width .5rem
Expand Down
3 changes: 1 addition & 2 deletions source/css/_page/_home/home-top.styl
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
.recent-post-group
display flex
flex-direction row
justify-content space-between
justify-content start
flex-wrap wrap
align-content space-between
gap .5rem
Expand Down Expand Up @@ -80,7 +80,6 @@
display flex
flex-direction column
width calc(100% / 3 - 0.5rem)
min-width 200px
align-items flex-start
background var(--efu-card-bg)
border-radius 12px
Expand Down
12 changes: 6 additions & 6 deletions source/css/_search/algolia-search.styl
Original file line number Diff line number Diff line change
Expand Up @@ -34,14 +34,14 @@
margin-bottom 8px

.search-close-button
color var(--efu-secondtext)
position absolute
top 0.8rem
right 1rem
color var(--efu-gray)
font-size 1.4em
line-height 1
cursor pointer
padding 4px
border-radius 50px
margin-left 4px
transition .3s
transition color .2s ease-in-out 0s

&:hover
color var(--efu-main)
Expand Down Expand Up @@ -172,4 +172,4 @@
color var(--efu-white)

.ais-Pagination-item--selected a
background var(--efu-main)
background var(--efu-main)
Loading

0 comments on commit a8fe249

Please sign in to comment.