feat: 更新頁腳配置,增加導航欄和版權信息,改進樣式和結構

fix: 修改 getBgPath 函數以使用 this.url_for 獲取圖片的正確路徑
feat: 增加右側配置按鈕的動畫效果
This commit is contained in:
Jerry
2025-03-23 23:20:12 +08:00
parent a3f6b625ed
commit ca030589fb
10 changed files with 136 additions and 60 deletions

View File

@@ -13,17 +13,16 @@
background-color: var(--mark-bg)
content: ''
#footer-wrap
position: relative
padding: 40px 20px
color: var(--light-grey)
text-align: center
& > *
position: relative
color: var(--light-grey)
a
color: var(--light-grey)
transition: all .3s ease-in-out
&:hover
text-decoration: underline
color: $light-blue
.footer-separator
margin: 0 4px
@@ -33,3 +32,56 @@
max-height: 1.4em
width: auto
vertical-align: text-bottom
.footer-flex
display: flex
flex-direction: row
flex-wrap: wrap
justify-content: space-between
margin: 0 auto
padding: 40px 60px
max-width: 1200px
width: 100%
text-align: left
gap: 13px
+maxWidth768()
padding: 30px
gap: 10px
.footer-flex-items
flex-shrink: 0
min-width: 100px
text-align: left
white-space: nowrap
.footer-flex-title
margin-bottom: 5px
white-space: nowrap
font-weight: 600
font-size: 1.4em
.footer-flex-item
margin: 10px 0
white-space: nowrap
a
display: block
white-space: nowrap
.footer-other
padding: 40px 20px
width: 100%
text-align: center
if hexo-config('footer.nav')
padding: 10px 8px
background-color: rgba(0, 0, 0, .1)
.copyright,
.framework-info,
.footer_custom_text
font-size: .9em
else
.framework-info
display: block