custom footer

This commit is contained in:
2025-08-13 22:27:14 +08:00
parent 1b776034a9
commit 52c7654316
6 changed files with 473 additions and 889 deletions

View File

@@ -256,19 +256,140 @@ noticeOutdate:
message_prev: It has been message_prev: It has been
message_next: days since the last update, the content of the article may be outdated. message_next: days since the last update, the content of the article may be outdated.
# --------------------------------------
# Footer Settings # Footer Settings
# -------------------------------------- # --------------------------------------
footer: footer:
nav: nav:
owner: owner:
enable: true enable: false
since: 2024 since: 2025
# Copyright of theme and framework # Copyright of theme and framework
copyright: copyright:
enable: true enable: false
version: true version: false
custom_text: custom_text: |
<div class="my-footer-svg-div">
<svg class="my-footer-wave-svg" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 100" preserveAspectRatio="none">
<path class="my-footer-wave-path" d="M851.8,100c125,0,288.3-45,348.2-64V0H0v44c3.7-1,7.3-1.9,11-2.9C80.7,22,151.7,10.8,223.5,6.3C276.7,2.9,330,4,383,9.8 c52.2,5.7,103.3,16.2,153.4,32.8C623.9,71.3,726.8,100,851.8,100z"></path>
</svg>
</div>
<div class="my-footer-content-div" >
<div class="my-footer-content">
<div class="my-footer-content-column">
<div class="my-footer-logo">
<a class="my-footer-logo-link" href="#">
<span class="hidden-link-text">LOGO</span>
<img src="/image/footer/qlogo_white_no_words.png" style="height:40%; width:40%">
</a>
</div>
<div class="my-footer-menu">
<h2 class="my-footer-menu-name">开始</h2>
<ul id="menu-get-started" class="my-footer-menu-list">
<li class="menu-item menu-item-type-post_type menu-item-object-product">
<a href="/about">关于本站</a>
</li>
</ul>
</div>
</div>
<div class="my-footer-content-column">
<div class="my-footer-menu">
<h2 class="my-footer-menu-name">快速链接</h2>
<ul id="menu-company" class="my-footer-menu-list">
<li class="menu-item menu-item-type-post_type menu-item-object-product">
<a href="https://hexo.io/zh-cn/">Hexo</a>&nbsp;&nbsp;<a href="https://github.com/jerryc127/hexo-theme-butterfly">Butterfly</a>
</li>
<li class="menu-item menu-item-type-taxonomy menu-item-object-category">
<a href="/archives/">归档</a>&nbsp;|&nbsp;<a href="/tags">标签</a>&nbsp;|&nbsp;<a href="/categories/">分类</a>
</li>
<li class="menu-item menu-item-type-post_type menu-item-object-product">
<a href="/p/91b7dad/">同款页脚</a>
</li>
<li class="menu-item menu-item-type-post_type menu-item-object-product">
<a href="https://www.foreverblog.cn/" rel="noopener external nofollow noreferrer" target="_blank" > <img class="img-foreverblog" src="/image/footer/forever_logo_en_default_white.png" alt="" style="width:auto;height:21px;margin-top:6px"> </a>
</li>
</ul>
</div>
</div>
<div class="my-footer-content-column">
<div class="my-footer-menu">
<h2 class="my-footer-menu-name">法律声明</h2>
<ul id="menu-legal" class="my-footer-menu-list">
<li class="menu-item menu-item-type-post_type menu-item-object-page menu-item-privacy-policy menu-item-170434">
<a href="/privacy.html">隐私政策</a>
</li>
</ul>
</div>
<div class="my-footer-call-to-action">
<h2 class="my-footer-call-to-action-title">联系本站</h2>
<ul id="menu-legal" class="my-footer-menu-list">
<li class="menu-item menu-item-type-post_type menu-item-object-page menu-item-privacy-policy menu-item-170434">
<a href="/DO_NOT_render/wechatOA/index.html">无</a>
</li>
<li class="menu-item menu-item-type-post_type menu-item-object-page menu-item-privacy-policy menu-item-170434">
<a class="my-footer-call-to-action-link" href="mailto:bishsh2006@outlook.com" target="_self">邮箱</a>
</li>
</ul>
</div>
</div>
<div class="my-footer-content-column">
<ul id="menu-get-started" class="my-footer-menu-list">
<li class="menu-item menu-item-type-post_type menu-item-object-product">
<a href="https://notbyai.fyi/" target="_blank" rel="external nofollow noopener noreferrer"><img class="img-not-ai" src="https://pic.biss.click/i/2025/08/13/790271.svg" alt="Written by Human, Not by AI"></a>
</li>
<li class="menu-item menu-item-type-post_type menu-item-object-product">
<a href="/pages/cc.html" ><img src="https://pic.biss.click/i/2025/08/13/481798.svg" alt="署名-非商业性使用-相同方式共享 4.0 国际"></a>
</li>
<li class="menu-item menu-item-type-post_type menu-item-object-product">
©2024-2025 By biss
</li>
</ul>
</div>
<div class="my-footer-social-links"> <svg class="my-footer-social-amoeba-svg" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 236 54">
<path class="my-footer-social-amoeba-path" d="M223.06,43.32c-.77-7.2,1.87-28.47-20-32.53C187.78,8,180.41,18,178.32,20.7s-5.63,10.1-4.07,16.7-.13,15.23-4.06,15.91-8.75-2.9-6.89-7S167.41,36,167.15,33a18.93,18.93,0,0,0-2.64-8.53c-3.44-5.5-8-11.19-19.12-11.19a21.64,21.64,0,0,0-18.31,9.18c-2.08,2.7-5.66,9.6-4.07,16.69s.64,14.32-6.11,13.9S108.35,46.5,112,36.54s-1.89-21.24-4-23.94S96.34,0,85.23,0,57.46,8.84,56.49,24.56s6.92,20.79,7,24.59c.07,2.75-6.43,4.16-12.92,2.38s-4-10.75-3.46-12.38c1.85-6.6-2-14-4.08-16.69a21.62,21.62,0,0,0-18.3-9.18C13.62,13.28,9.06,19,5.62,24.47A18.81,18.81,0,0,0,3,33a21.85,21.85,0,0,0,1.58,9.08,16.58,16.58,0,0,1,1.06,5A6.75,6.75,0,0,1,0,54H236C235.47,54,223.83,50.52,223.06,43.32Z"></path>
</svg>
<a class="my-footer-social-link github" href="https://github.com/bishshi" target="_blank" rel="external nofollow noopener noreferrer">
<span class="hidden-link-text">Github</span>
<svg class="my-footer-social-icon-svg" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32">
<path class="my-footer-social-icon-path" d="M 16 4 C 9.371094 4 4 9.371094 4 16 C 4 21.300781 7.4375 25.800781 12.207031 27.386719 C 12.808594 27.496094 13.027344 27.128906 13.027344 26.808594 C 13.027344 26.523438 13.015625 25.769531 13.011719 24.769531 C 9.671875 25.492188 8.96875 23.160156 8.96875 23.160156 C 8.421875 21.773438 7.636719 21.402344 7.636719 21.402344 C 6.546875 20.660156 7.71875 20.675781 7.71875 20.675781 C 8.921875 20.761719 9.554688 21.910156 9.554688 21.910156 C 10.625 23.746094 12.363281 23.214844 13.046875 22.910156 C 13.15625 22.132813 13.46875 21.605469 13.808594 21.304688 C 11.144531 21.003906 8.34375 19.972656 8.34375 15.375 C 8.34375 14.0625 8.8125 12.992188 9.578125 12.152344 C 9.457031 11.851563 9.042969 10.628906 9.695313 8.976563 C 9.695313 8.976563 10.703125 8.65625 12.996094 10.207031 C 13.953125 9.941406 14.980469 9.808594 16 9.804688 C 17.019531 9.808594 18.046875 9.941406 19.003906 10.207031 C 21.296875 8.65625 22.300781 8.976563 22.300781 8.976563 C 22.957031 10.628906 22.546875 11.851563 22.421875 12.152344 C 23.191406 12.992188 23.652344 14.0625 23.652344 15.375 C 23.652344 19.984375 20.847656 20.996094 18.175781 21.296875 C 18.605469 21.664063 18.988281 22.398438 18.988281 23.515625 C 18.988281 25.121094 18.976563 26.414063 18.976563 26.808594 C 18.976563 27.128906 19.191406 27.503906 19.800781 27.386719 C 24.566406 25.796875 28 21.300781 28 16 C 28 9.371094 22.628906 4 16 4 Z "></path>
</svg>
</a>
<a class="my-footer-social-link email" href="mailto:bishsh2006@outlook.com" target="_blank" rel="external nofollow noopener noreferrer">
<span class="hidden-link-text">Email</span>
<svg class="my-footer-social-icon-svg" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512">
<!--! Font Awesome Free 6.4.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2023 Fonticons, Inc. -->
<path class="my-footer-social-icon-path" d="M48 64C21.5 64 0 85.5 0 112c0 15.1 7.1 29.3 19.2 38.4L236.8 313.6c11.4 8.5 27 8.5 38.4 0L492.8 150.4c12.1-9.1 19.2-23.3 19.2-38.4c0-26.5-21.5-48-48-48H48zM0 176V384c0 35.3 28.7 64 64 64H448c35.3 0 64-28.7 64-64V176L294.4 339.2c-22.8 17.1-54 17.1-76.8 0L0 176z"/>
</svg>
</a>
<a class="my-footer-social-link follow" href="https://app.follow.is" target="_blank" rel="external nofollow noopener noreferrer">
<span class="hidden-link-text">Follow</span>
<svg class="my-footer-social-icon-svg" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512">
<!--!Font Awesome Free 6.7.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2024 Fonticons, Inc.-->
<path class="my-footer-social-icon-path" d="M64 32C28.7 32 0 60.7 0 96L0 416c0 35.3 28.7 64 64 64l320 0c35.3 0 64-28.7 64-64l0-320c0-35.3-28.7-64-64-64L64 32zM96 136c0-13.3 10.7-24 24-24c137 0 248 111 248 248c0 13.3-10.7 24-24 24s-24-10.7-24-24c0-110.5-89.5-200-200-200c-13.3 0-24-10.7-24-24zm0 96c0-13.3 10.7-24 24-24c83.9 0 152 68.1 152 152c0 13.3-10.7 24-24 24s-24-10.7-24-24c0-57.4-46.6-104-104-104c-13.3 0-24-10.7-24-24zm0 120a32 32 0 1 1 64 0 32 32 0 1 1 -64 0z"/>
</svg>
</a>
<a class="my-footer-social-link rss" href="/atom.xml" target="_blank" rel="external nofollow noopener noreferrer">
<span class="hidden-link-text">RSS</span>
<svg class="my-footer-social-icon-svg" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512">
<!--! Font Awesome Free 6.4.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2023 Fonticons, Inc. -->
<path class="my-footer-social-icon-path" d="M0 64C0 46.3 14.3 32 32 32c229.8 0 416 186.2 416 416c0 17.7-14.3 32-32 32s-32-14.3-32-32C384 253.6 226.4 96 32 96C14.3 96 0 81.7 0 64zM0 416a64 64 0 1 1 128 0A64 64 0 1 1 0 416zM32 160c159.1 0 288 128.9 288 288c0 17.7-14.3 32-32 32s-32-14.3-32-32c0-123.7-100.3-224-224-224c-17.7 0-32-14.3-32-32s14.3-32 32-32z"/>
</svg>
</a>
</div>
</div>
</div>
<div class="my-footer-copyright">
<div class="my-footer-copyright-wrapper">
<p class="my-footer-copyright-text">
<a href="" rel="noopener external nofollow noreferrer"><img class="icp-icon" src="/image/footer/icp.ico"><span>萌ICP备</span></a>
&nbsp;|&nbsp;<a href="" rel="noopener external nofollow noreferrer"><img class="icp-icon" src=""><span>版权所有</span></a>
&nbsp;|&nbsp;&nbsp;
</p>
</div>
# -------------------------------------- # --------------------------------------
# Aside Settings # Aside Settings
@@ -1154,140 +1275,4 @@ ai_summary:
enable: true enable: true
title: BiのAI摘要 title: BiのAI摘要
loadingText: AI正在绞尽脑汁想思路ING··· loadingText: AI正在绞尽脑汁想思路ING···
modelName: HunYuan-Lite modelName: HunYuan-Lite
#hexo-butterfly-footer-marcus
#see https://blog.marcus233.top/p/footer.html
footer_beautify:
enable: true
priority: 5 #过滤器优先权
enable_page: all # 应用页面
layout: # 挂载容器类型
type: id
name: footer
index: 1
footer_icons:
enable: true
left:
- icon: fa-solid fa-compass
link: https://www.biss.click/
desrc: 个人主页
class: out
- icon: fa-brands fa-qq
link: https://res.abeim.cn/api/qq/?qq=705333835
desrc: 联系QQ
class: out
- icon: fa-solid fa-envelope
link: mailto:biss2006@outlook.com
desrc: 发送邮件
class: out
right:
- icon: fa-brands fa-github
link: https://github.com/bishshi
desrc: Github主页
class: out
- icon: fa-brands fa-bilibili
link: https://space.bilibili.com/538701063
desrc: 哔哩哔哩主页
class: out
- icon: fa-solid fa-comment
link: /message/
desrc: 留言
class: in
footer_logo:
enable: true
url: https://free.picui.cn/free/2025/08/10/689845496a283.png
footer_group:
enable: true
footer_group_link:
- group_title: 直达
footer_links:
- text: 时间轴
link: /timeline/
class: in
- text: 留言墙
link: /message/
class: in
- text: 说说
link: /artitalk/
class: in
- text: 友链订阅
link: /link/
class: in
- group_title: 分类
footer_links:
- text: 建站手札
link: /categories/website
class: in
- text: 生活点滴
link: /categories/life
class: in
- text: 资源分享
link: /categories/resource
class: in
- text: 学习笔记
link: /categories/learning
class: in
- text: 查看全部
link: /categories/
class: in
- group_title: 标签
footer_links:
- text: 网站建设
link: /tags/website
class: in
- text: 漫记
link: /tags/min
class: in
- text: 英语
link: /tags/english
class: in
- text: 学习笔记
link: /categories/note
class: in
- text: 实用教程
link: /categories/实用教程
class: in
- text: 查看全部
link: /tags/
class: in
- group_title: 关于
footer_links:
- text: 关于我
link: /about/
class: in
- text: RSS订阅
link: /atom.xml
class: in
- text: 更新记录
link: /archives/
class: in
- text: 我的相册
link: /picture/
class: in
footer_friend_links:
enable: false
number: 5
footer_bottom:
copyright:
enable: true
author: biss
link: https://blog.biss.click/
time: 2025
left:
- text: fastly
desrc: 本站CDN支持
link: https://fastly.com/
right:
- text: Hexo
desrc: 框架
link: https://hexo.io/zh-cn/
- text: Butterfly
desrc: 主题
link: https://butterfly.js.org/
runtime:
enable: true
time: 2024/08/09 00:00:00
footer_css: https://cdn1.tianli0.top/npm/hexo-butterfly-footer-marcus/lib/footer.min.css
footer_js: https://cdn1.tianli0.top/npm/hexo-butterfly-footer-marcus/lib/footer.min.js

353
package-lock.json generated
View File

@@ -13,7 +13,6 @@
"hexo": "^7.3.0", "hexo": "^7.3.0",
"hexo-abbrlink": "^2.2.1", "hexo-abbrlink": "^2.2.1",
"hexo-ai-summary-liushen": "^1.2.1", "hexo-ai-summary-liushen": "^1.2.1",
"hexo-butterfly-footer-marcus": "^1.1.4",
"hexo-deployer-git": "^4.0.0", "hexo-deployer-git": "^4.0.0",
"hexo-douban": "^2.3.6", "hexo-douban": "^2.3.6",
"hexo-filter-mathjax": "^0.9.1", "hexo-filter-mathjax": "^0.9.1",
@@ -316,116 +315,6 @@
"node": ">=18" "node": ">=18"
} }
}, },
"node_modules/@fastify/busboy": {
"version": "2.1.1",
"resolved": "https://registry.npmmirror.com/@fastify/busboy/-/busboy-2.1.1.tgz",
"integrity": "sha512-vBZP4NlzfOlerQTnba4aqZoMhE/a9HY7HRqoOPaETQcSQuWEIyZMHGfVu6w9wGtGK5fED5qRs2DteVCjOH60sA==",
"license": "MIT",
"engines": {
"node": ">=14"
}
},
"node_modules/@inquirer/checkbox": {
"version": "4.2.0",
"resolved": "https://registry.npmmirror.com/@inquirer/checkbox/-/checkbox-4.2.0.tgz",
"integrity": "sha512-fdSw07FLJEU5vbpOPzXo5c6xmMGDzbZE2+niuDHX5N6mc6V0Ebso/q3xiHra4D73+PMsC8MJmcaZKuAAoaQsSA==",
"license": "MIT",
"dependencies": {
"@inquirer/core": "^10.1.15",
"@inquirer/figures": "^1.0.13",
"@inquirer/type": "^3.0.8",
"ansi-escapes": "^4.3.2",
"yoctocolors-cjs": "^2.1.2"
},
"engines": {
"node": ">=18"
},
"peerDependencies": {
"@types/node": ">=18"
},
"peerDependenciesMeta": {
"@types/node": {
"optional": true
}
}
},
"node_modules/@inquirer/core": {
"version": "10.1.15",
"resolved": "https://registry.npmmirror.com/@inquirer/core/-/core-10.1.15.tgz",
"integrity": "sha512-8xrp836RZvKkpNbVvgWUlxjT4CraKk2q+I3Ksy+seI2zkcE+y6wNs1BVhgcv8VyImFecUhdQrYLdW32pAjwBdA==",
"license": "MIT",
"dependencies": {
"@inquirer/figures": "^1.0.13",
"@inquirer/type": "^3.0.8",
"ansi-escapes": "^4.3.2",
"cli-width": "^4.1.0",
"mute-stream": "^2.0.0",
"signal-exit": "^4.1.0",
"wrap-ansi": "^6.2.0",
"yoctocolors-cjs": "^2.1.2"
},
"engines": {
"node": ">=18"
},
"peerDependencies": {
"@types/node": ">=18"
},
"peerDependenciesMeta": {
"@types/node": {
"optional": true
}
}
},
"node_modules/@inquirer/figures": {
"version": "1.0.13",
"resolved": "https://registry.npmmirror.com/@inquirer/figures/-/figures-1.0.13.tgz",
"integrity": "sha512-lGPVU3yO9ZNqA7vTYz26jny41lE7yoQansmqdMLBEfqaGsmdg7V3W9mK9Pvb5IL4EVZ9GnSDGMO/cJXud5dMaw==",
"license": "MIT",
"engines": {
"node": ">=18"
}
},
"node_modules/@inquirer/select": {
"version": "4.3.1",
"resolved": "https://registry.npmmirror.com/@inquirer/select/-/select-4.3.1.tgz",
"integrity": "sha512-Gfl/5sqOF5vS/LIrSndFgOh7jgoe0UXEizDqahFRkq5aJBLegZ6WjuMh/hVEJwlFQjyLq1z9fRtvUMkb7jM1LA==",
"license": "MIT",
"dependencies": {
"@inquirer/core": "^10.1.15",
"@inquirer/figures": "^1.0.13",
"@inquirer/type": "^3.0.8",
"ansi-escapes": "^4.3.2",
"yoctocolors-cjs": "^2.1.2"
},
"engines": {
"node": ">=18"
},
"peerDependencies": {
"@types/node": ">=18"
},
"peerDependenciesMeta": {
"@types/node": {
"optional": true
}
}
},
"node_modules/@inquirer/type": {
"version": "3.0.8",
"resolved": "https://registry.npmmirror.com/@inquirer/type/-/type-3.0.8.tgz",
"integrity": "sha512-lg9Whz8onIHRthWaN1Q9EGLa/0LFJjyM8mEUbL1eTi6yMGvBf8gvyDLtxSXztQsxMvhxxNpJYrwa1YHdq+w4Jw==",
"license": "MIT",
"engines": {
"node": ">=18"
},
"peerDependencies": {
"@types/node": ">=18"
},
"peerDependenciesMeta": {
"@types/node": {
"optional": true
}
}
},
"node_modules/@jridgewell/gen-mapping": { "node_modules/@jridgewell/gen-mapping": {
"version": "0.3.13", "version": "0.3.13",
"resolved": "https://registry.npmmirror.com/@jridgewell/gen-mapping/-/gen-mapping-0.3.13.tgz", "resolved": "https://registry.npmmirror.com/@jridgewell/gen-mapping/-/gen-mapping-0.3.13.tgz",
@@ -513,21 +402,6 @@
"node": ">= 14" "node": ">= 14"
} }
}, },
"node_modules/ansi-escapes": {
"version": "4.3.2",
"resolved": "https://registry.npmmirror.com/ansi-escapes/-/ansi-escapes-4.3.2.tgz",
"integrity": "sha512-gKXj5ALrKWQLsYG9jlTRmR/xKluxHV+Z9QEwNIgCfM1/uwPMCuzVVnh5mwTd+OuBZcwSIMbqssNWRm1lE51QaQ==",
"license": "MIT",
"dependencies": {
"type-fest": "^0.21.3"
},
"engines": {
"node": ">=8"
},
"funding": {
"url": "https://github.com/sponsors/sindresorhus"
}
},
"node_modules/ansi-regex": { "node_modules/ansi-regex": {
"version": "5.0.1", "version": "5.0.1",
"resolved": "https://registry.npmmirror.com/ansi-regex/-/ansi-regex-5.0.1.tgz", "resolved": "https://registry.npmmirror.com/ansi-regex/-/ansi-regex-5.0.1.tgz",
@@ -537,21 +411,6 @@
"node": ">=8" "node": ">=8"
} }
}, },
"node_modules/ansi-styles": {
"version": "4.3.0",
"resolved": "https://registry.npmmirror.com/ansi-styles/-/ansi-styles-4.3.0.tgz",
"integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==",
"license": "MIT",
"dependencies": {
"color-convert": "^2.0.1"
},
"engines": {
"node": ">=8"
},
"funding": {
"url": "https://github.com/chalk/ansi-styles?sponsor=1"
}
},
"node_modules/anymatch": { "node_modules/anymatch": {
"version": "3.1.3", "version": "3.1.3",
"resolved": "https://registry.npmmirror.com/anymatch/-/anymatch-3.1.3.tgz", "resolved": "https://registry.npmmirror.com/anymatch/-/anymatch-3.1.3.tgz",
@@ -741,22 +600,6 @@
"tslib": "^2.0.3" "tslib": "^2.0.3"
} }
}, },
"node_modules/chalk": {
"version": "4.1.2",
"resolved": "https://registry.npmmirror.com/chalk/-/chalk-4.1.2.tgz",
"integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==",
"license": "MIT",
"dependencies": {
"ansi-styles": "^4.1.0",
"supports-color": "^7.1.0"
},
"engines": {
"node": ">=10"
},
"funding": {
"url": "https://github.com/chalk/chalk?sponsor=1"
}
},
"node_modules/character-parser": { "node_modules/character-parser": {
"version": "2.2.0", "version": "2.2.0",
"resolved": "https://registry.npmmirror.com/character-parser/-/character-parser-2.2.0.tgz", "resolved": "https://registry.npmmirror.com/character-parser/-/character-parser-2.2.0.tgz",
@@ -832,33 +675,6 @@
"fsevents": "~2.3.2" "fsevents": "~2.3.2"
} }
}, },
"node_modules/cli-width": {
"version": "4.1.0",
"resolved": "https://registry.npmmirror.com/cli-width/-/cli-width-4.1.0.tgz",
"integrity": "sha512-ouuZd4/dm2Sw5Gmqy6bGyNNNe1qt9RpmxveLSO7KcgsTnU7RXfsw+/bukWGo1abgBiMAic068rclZsO4IWmmxQ==",
"license": "ISC",
"engines": {
"node": ">= 12"
}
},
"node_modules/color-convert": {
"version": "2.0.1",
"resolved": "https://registry.npmmirror.com/color-convert/-/color-convert-2.0.1.tgz",
"integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==",
"license": "MIT",
"dependencies": {
"color-name": "~1.1.4"
},
"engines": {
"node": ">=7.0.0"
}
},
"node_modules/color-name": {
"version": "1.1.4",
"resolved": "https://registry.npmmirror.com/color-name/-/color-name-1.1.4.tgz",
"integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==",
"license": "MIT"
},
"node_modules/combined-stream": { "node_modules/combined-stream": {
"version": "1.0.8", "version": "1.0.8",
"resolved": "https://registry.npmmirror.com/combined-stream/-/combined-stream-1.0.8.tgz", "resolved": "https://registry.npmmirror.com/combined-stream/-/combined-stream-1.0.8.tgz",
@@ -1203,12 +1019,6 @@
"node": ">=0.10.0" "node": ">=0.10.0"
} }
}, },
"node_modules/emoji-regex": {
"version": "8.0.0",
"resolved": "https://registry.npmmirror.com/emoji-regex/-/emoji-regex-8.0.0.tgz",
"integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==",
"license": "MIT"
},
"node_modules/encodeurl": { "node_modules/encodeurl": {
"version": "1.0.2", "version": "1.0.2",
"resolved": "https://registry.npmmirror.com/encodeurl/-/encodeurl-1.0.2.tgz", "resolved": "https://registry.npmmirror.com/encodeurl/-/encodeurl-1.0.2.tgz",
@@ -1598,15 +1408,6 @@
"integrity": "sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ==", "integrity": "sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ==",
"license": "ISC" "license": "ISC"
}, },
"node_modules/has-flag": {
"version": "4.0.0",
"resolved": "https://registry.npmmirror.com/has-flag/-/has-flag-4.0.0.tgz",
"integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==",
"license": "MIT",
"engines": {
"node": ">=8"
}
},
"node_modules/has-symbols": { "node_modules/has-symbols": {
"version": "1.1.0", "version": "1.1.0",
"resolved": "https://registry.npmmirror.com/has-symbols/-/has-symbols-1.1.0.tgz", "resolved": "https://registry.npmmirror.com/has-symbols/-/has-symbols-1.1.0.tgz",
@@ -1923,15 +1724,6 @@
"url": "https://github.com/sponsors/sindresorhus" "url": "https://github.com/sponsors/sindresorhus"
} }
}, },
"node_modules/hexo-butterfly-footer-marcus": {
"version": "1.1.4",
"resolved": "https://registry.npmmirror.com/hexo-butterfly-footer-marcus/-/hexo-butterfly-footer-marcus-1.1.4.tgz",
"integrity": "sha512-EZFVatg/jBZPq3EGqX0JGrraVgPwPjrehTzQ/oYo06td6R//SwFiK4Hsts8/eDimZR9yL425zCefzcKjx0H7lg==",
"license": "ISC",
"dependencies": {
"nrm": "^2.0.1"
}
},
"node_modules/hexo-cli": { "node_modules/hexo-cli": {
"version": "4.3.2", "version": "4.3.2",
"resolved": "https://registry.npmmirror.com/hexo-cli/-/hexo-cli-4.3.2.tgz", "resolved": "https://registry.npmmirror.com/hexo-cli/-/hexo-cli-4.3.2.tgz",
@@ -2818,15 +2610,6 @@
"integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==", "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==",
"license": "ISC" "license": "ISC"
}, },
"node_modules/ini": {
"version": "4.1.3",
"resolved": "https://registry.npmmirror.com/ini/-/ini-4.1.3.tgz",
"integrity": "sha512-X7rqawQBvfdjS10YU1y1YVreA3SsLrW9dX2CewP2EbBJM4ypVNLDkO5y04gejPwKIY9lR+7r9gn3rFPt/kmWFg==",
"license": "ISC",
"engines": {
"node": "^14.17.0 || ^16.13.0 || >=18.0.0"
}
},
"node_modules/is-binary-path": { "node_modules/is-binary-path": {
"version": "2.1.0", "version": "2.1.0",
"resolved": "https://registry.npmmirror.com/is-binary-path/-/is-binary-path-2.1.0.tgz", "resolved": "https://registry.npmmirror.com/is-binary-path/-/is-binary-path-2.1.0.tgz",
@@ -2888,15 +2671,6 @@
"node": ">=0.10.0" "node": ">=0.10.0"
} }
}, },
"node_modules/is-fullwidth-code-point": {
"version": "3.0.0",
"resolved": "https://registry.npmmirror.com/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz",
"integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==",
"license": "MIT",
"engines": {
"node": ">=8"
}
},
"node_modules/is-glob": { "node_modules/is-glob": {
"version": "4.0.3", "version": "4.0.3",
"resolved": "https://registry.npmmirror.com/is-glob/-/is-glob-4.0.3.tgz", "resolved": "https://registry.npmmirror.com/is-glob/-/is-glob-4.0.3.tgz",
@@ -3333,15 +3107,6 @@
"integrity": "sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A==", "integrity": "sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A==",
"license": "MIT" "license": "MIT"
}, },
"node_modules/mute-stream": {
"version": "2.0.0",
"resolved": "https://registry.npmmirror.com/mute-stream/-/mute-stream-2.0.0.tgz",
"integrity": "sha512-WWdIxpyjEn+FhQJQQv9aQAYlHoNVdzIzUySNV1gHUPDSdZJ3yZn7pAAbQcV7B56Mvu881q9FZV+0Vx2xC44VWA==",
"license": "ISC",
"engines": {
"node": "^18.17.0 || >=20.5.0"
}
},
"node_modules/negotiator": { "node_modules/negotiator": {
"version": "0.6.4", "version": "0.6.4",
"resolved": "https://registry.npmmirror.com/negotiator/-/negotiator-0.6.4.tgz", "resolved": "https://registry.npmmirror.com/negotiator/-/negotiator-0.6.4.tgz",
@@ -3420,48 +3185,6 @@
"node": ">=0.10.0" "node": ">=0.10.0"
} }
}, },
"node_modules/nrm": {
"version": "2.1.0",
"resolved": "https://registry.npmmirror.com/nrm/-/nrm-2.1.0.tgz",
"integrity": "sha512-42Fzxd66c0Layv7eBvK+fvCzm38TkVWRjS9lX9nNIWSnMdTkYHUst1OGHqzRpJNCxyk7TwlQXsBUe4LOtqJiow==",
"license": "MIT",
"dependencies": {
"@inquirer/checkbox": "^4.0.3",
"@inquirer/select": "^4.0.2",
"chalk": "4.1.2",
"commander": "^8.3.0",
"ini": "4.1.3",
"open": "8.4.2",
"undici": "5.28.2"
},
"bin": {
"nrm": "dist/index.js"
},
"engines": {
"node": ">=18"
}
},
"node_modules/nrm/node_modules/commander": {
"version": "8.3.0",
"resolved": "https://registry.npmmirror.com/commander/-/commander-8.3.0.tgz",
"integrity": "sha512-OkTL9umf+He2DZkUq8f8J9of7yL6RJKI24dVITBmNfZBmri9zYZQrKkuXiKhyfPSu8tUhnVBB1iKXevvnlR4Ww==",
"license": "MIT",
"engines": {
"node": ">= 12"
}
},
"node_modules/nrm/node_modules/undici": {
"version": "5.28.2",
"resolved": "https://registry.npmmirror.com/undici/-/undici-5.28.2.tgz",
"integrity": "sha512-wh1pHJHnUeQV5Xa8/kyQhO7WFa8M34l026L5P/+2TYiakvGy5Rdc8jWZVyG7ieht/0WgJLEd3kcU5gKx+6GC8w==",
"license": "MIT",
"dependencies": {
"@fastify/busboy": "^2.0.0"
},
"engines": {
"node": ">=14.0"
}
},
"node_modules/nth-check": { "node_modules/nth-check": {
"version": "2.1.1", "version": "2.1.1",
"resolved": "https://registry.npmmirror.com/nth-check/-/nth-check-2.1.1.tgz", "resolved": "https://registry.npmmirror.com/nth-check/-/nth-check-2.1.1.tgz",
@@ -4120,18 +3843,6 @@
"node": ">=8" "node": ">=8"
} }
}, },
"node_modules/signal-exit": {
"version": "4.1.0",
"resolved": "https://registry.npmmirror.com/signal-exit/-/signal-exit-4.1.0.tgz",
"integrity": "sha512-bzyZ1e88w9O1iNJbKnOlvYTrWPDl46O1bG0D3XInv+9tkPrxrN8jUUTiFlDkkmKWgn1M6CfIA13SuGqOa9Korw==",
"license": "ISC",
"engines": {
"node": ">=14"
},
"funding": {
"url": "https://github.com/sponsors/isaacs"
}
},
"node_modules/source-map": { "node_modules/source-map": {
"version": "0.7.6", "version": "0.7.6",
"resolved": "https://registry.npmmirror.com/source-map/-/source-map-0.7.6.tgz", "resolved": "https://registry.npmmirror.com/source-map/-/source-map-0.7.6.tgz",
@@ -4188,20 +3899,6 @@
"safe-buffer": "~5.2.0" "safe-buffer": "~5.2.0"
} }
}, },
"node_modules/string-width": {
"version": "4.2.3",
"resolved": "https://registry.npmmirror.com/string-width/-/string-width-4.2.3.tgz",
"integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==",
"license": "MIT",
"dependencies": {
"emoji-regex": "^8.0.0",
"is-fullwidth-code-point": "^3.0.0",
"strip-ansi": "^6.0.1"
},
"engines": {
"node": ">=8"
}
},
"node_modules/strip-ansi": { "node_modules/strip-ansi": {
"version": "6.0.1", "version": "6.0.1",
"resolved": "https://registry.npmmirror.com/strip-ansi/-/strip-ansi-6.0.1.tgz", "resolved": "https://registry.npmmirror.com/strip-ansi/-/strip-ansi-6.0.1.tgz",
@@ -4271,18 +3968,6 @@
"integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==", "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==",
"license": "MIT" "license": "MIT"
}, },
"node_modules/supports-color": {
"version": "7.2.0",
"resolved": "https://registry.npmmirror.com/supports-color/-/supports-color-7.2.0.tgz",
"integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==",
"license": "MIT",
"dependencies": {
"has-flag": "^4.0.0"
},
"engines": {
"node": ">=8"
}
},
"node_modules/supports-preserve-symlinks-flag": { "node_modules/supports-preserve-symlinks-flag": {
"version": "1.0.0", "version": "1.0.0",
"resolved": "https://registry.npmmirror.com/supports-preserve-symlinks-flag/-/supports-preserve-symlinks-flag-1.0.0.tgz", "resolved": "https://registry.npmmirror.com/supports-preserve-symlinks-flag/-/supports-preserve-symlinks-flag-1.0.0.tgz",
@@ -4409,18 +4094,6 @@
"integrity": "sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==", "integrity": "sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==",
"license": "0BSD" "license": "0BSD"
}, },
"node_modules/type-fest": {
"version": "0.21.3",
"resolved": "https://registry.npmmirror.com/type-fest/-/type-fest-0.21.3.tgz",
"integrity": "sha512-t0rzBq87m3fVcduHDUFhKmyyX+9eo6WQjZvf51Ea/M0Q7+T374Jp1aUiyUl0GKxp8M/OETVHSDvmkyPgvX+X2w==",
"license": "(MIT OR CC0-1.0)",
"engines": {
"node": ">=10"
},
"funding": {
"url": "https://github.com/sponsors/sindresorhus"
}
},
"node_modules/undici": { "node_modules/undici": {
"version": "7.13.0", "version": "7.13.0",
"resolved": "https://registry.npmmirror.com/undici/-/undici-7.13.0.tgz", "resolved": "https://registry.npmmirror.com/undici/-/undici-7.13.0.tgz",
@@ -4603,20 +4276,6 @@
"node": ">= 10.0.0" "node": ">= 10.0.0"
} }
}, },
"node_modules/wrap-ansi": {
"version": "6.2.0",
"resolved": "https://registry.npmmirror.com/wrap-ansi/-/wrap-ansi-6.2.0.tgz",
"integrity": "sha512-r6lPcBGxZXlIcymEu7InxDMhdW0KDxpLgoFLcguasxCaJ/SOIZwINatK9KY/tf+ZrlywOKU0UDj3ATXUBfxJXA==",
"license": "MIT",
"dependencies": {
"ansi-styles": "^4.0.0",
"string-width": "^4.1.0",
"strip-ansi": "^6.0.0"
},
"engines": {
"node": ">=8"
}
},
"node_modules/wrappy": { "node_modules/wrappy": {
"version": "1.0.2", "version": "1.0.2",
"resolved": "https://registry.npmmirror.com/wrappy/-/wrappy-1.0.2.tgz", "resolved": "https://registry.npmmirror.com/wrappy/-/wrappy-1.0.2.tgz",
@@ -4670,18 +4329,6 @@
"funding": { "funding": {
"url": "https://github.com/sponsors/sindresorhus" "url": "https://github.com/sponsors/sindresorhus"
} }
},
"node_modules/yoctocolors-cjs": {
"version": "2.1.2",
"resolved": "https://registry.npmmirror.com/yoctocolors-cjs/-/yoctocolors-cjs-2.1.2.tgz",
"integrity": "sha512-cYVsTjKl8b+FrnidjibDWskAv7UKOfcwaVZdp/it9n1s9fU3IkgDbhdIRKCW4JDsAlECJY0ytoVPT3sK6kideA==",
"license": "MIT",
"engines": {
"node": ">=18"
},
"funding": {
"url": "https://github.com/sponsors/sindresorhus"
}
} }
} }
} }

View File

@@ -17,7 +17,6 @@
"hexo": "^7.3.0", "hexo": "^7.3.0",
"hexo-abbrlink": "^2.2.1", "hexo-abbrlink": "^2.2.1",
"hexo-ai-summary-liushen": "^1.2.1", "hexo-ai-summary-liushen": "^1.2.1",
"hexo-butterfly-footer-marcus": "^1.1.4",
"hexo-deployer-git": "^4.0.0", "hexo-deployer-git": "^4.0.0",
"hexo-douban": "^2.3.6", "hexo-douban": "^2.3.6",
"hexo-filter-mathjax": "^0.9.1", "hexo-filter-mathjax": "^0.9.1",

View File

@@ -16,7 +16,6 @@ html(lang=config.language data-theme=theme.display_mode class=htmlClassHideAside
#web_bg(style=getBgPath(theme.background)) #web_bg(style=getBgPath(theme.background))
!=partial('includes/sidebar', {}, {cache: true}) !=partial('includes/sidebar', {}, {cache: true})
#body-wrap(class=pageType) #body-wrap(class=pageType)
include ./header/index.pug include ./header/index.pug
@@ -30,7 +29,7 @@ html(lang=config.language data-theme=theme.display_mode class=htmlClassHideAside
- const footerBg = theme.footer_img - const footerBg = theme.footer_img
- const footer_bg = footerBg ? footerBg === true ? bg_img : getBgPath(footerBg) : '' - const footer_bg = footerBg ? footerBg === true ? bg_img : getBgPath(footerBg) : ''
footer#footer(style='background: transparent') footer#footer(style=footer_bg)
!=partial('includes/footer', {}, {cache: true}) !=partial('includes/footer', {}, {cache: true})
include ./rightside.pug include ./rightside.pug

View File

@@ -1,321 +0,0 @@
#footer_icons{
border-radius:12px 12px 0 0;
padding-top:2rem;
display:-webkit-box;
display:-moz-box;
display:-webkit-flex;
display:-ms-flexbox;
display:box;
display:flex;
-webkit-box-lines:multiple;
-moz-box-lines:multiple;
-o-box-lines:multiple;
-webkit-flex-wrap:wrap;
-ms-flex-wrap:wrap;
flex-wrap:wrap;
-webkit-box-pack:center;
-moz-box-pack:center;
-o-box-pack:center;
-ms-flex-pack:center;
-webkit-justify-content:center;
justify-content:center;
-webkit-box-align:center;
-moz-box-align:center;
-o-box-align:center;
-ms-flex-align:center;
-webkit-align-items:center;
align-items:center
}
#footer_icons .icon_link{
height:40px;
width:40px;
display:-webkit-box;
display:-moz-box;
display:-webkit-flex;
display:-ms-flexbox;
display:box;
display:flex;
-webkit-box-align:center;
-moz-box-align:center;
-o-box-align:center;
-ms-flex-align:center;
-webkit-align-items:center;
align-items:center;
-webkit-box-pack:center;
-moz-box-pack:center;
-o-box-pack:center;
-ms-flex-pack:center;
-webkit-justify-content:center;
justify-content:center;
margin:1rem;
background-color:var(--font-color);
border-radius:50%
}
#footer_icons .icon_link:hover{
background-color:var(--marcus-blue)!important
}
#footer_icons .icon_link i{
font-size:20px;
color:#fff;
-webkit-transition:.3s;
-moz-transition:.3s;
-o-transition:.3s;
-ms-transition:.3s;
transition:.3s
}
#footer_icons>div{
display:-webkit-box;
display:-moz-box;
display:-webkit-flex;
display:-ms-flexbox;
display:box;
display:flex
}
#footer_icons img.footer_logo{
border-radius:50%;
width:60px;
height:60px;
margin:0 1rem;
cursor:pointer;
filter:drop-shadow(0 0 12px rgba(150,255,246,.4))!important;
-webkit-transition:all .25s;
-moz-transition:all .25s;
-o-transition:all .25s;
-ms-transition:all .25s;
transition:all .25s
}
#footer_icons img.footer_logo:hover{
filter:drop-shadow(0 0 15px rgba(144,255,246,.7))!important
}
@media screen and (max-width:768px){
#footer_icons img.footer_logo{
display:none
}
#footer_icons a.icon_link{
margin:1rem 20px
}
}
#footer_content,#footer_icons{
margin:auto;
max-width:1220px;
width:97%;
background:rgba(245,249,255,.6)
}
@media screen and (min-width:2000px){
#footer_content,#footer_icons{
max-width:1720px!important
}
}
#footer_content{
border-radius:0 0 12px 12px;
display:-webkit-box;
display:-moz-box;
display:-webkit-flex;
display:-ms-flexbox;
display:box;
display:flex;
-webkit-box-pack:justify;
-moz-box-pack:justify;
-o-box-pack:justify;
-ms-flex-pack:justify;
-webkit-justify-content:space-between;
justify-content:space-between;
-webkit-box-lines:multiple;
-moz-box-lines:multiple;
-o-box-lines:multiple;
-webkit-flex-wrap:wrap;
-ms-flex-wrap:wrap;
flex-wrap:wrap;
margin-bottom:2rem;
padding:0 2rem 2rem
}
#footer_content #friend-links-in-footer .footer-title button{
font-size:14px;
color:var(--font-color);
margin-left:5px;
-webkit-transition:.3s;
-moz-transition:.3s;
-o-transition:.3s;
-ms-transition:.3s;
transition:.3s
}
#footer_content #friend-links-in-footer .footer-title button:hover{
color:var(--marcus-blue)
}
@media screen and (max-width:768px){
#footer_content #friend-links-in-footer h3{
padding-left:10px
}
}
#footer_content .footer-group{
min-width:120px
}
#footer_content .footer-title{
color:var(--font-color)
}
#footer_content .footer-links{
display:-webkit-box;
display:-moz-box;
display:-webkit-flex;
display:-ms-flexbox;
display:box;
display:flex;
-webkit-box-orient:vertical;
-moz-box-orient:vertical;
-o-box-orient:vertical;
-webkit-flex-direction:column;
-ms-flex-direction:column;
flex-direction:column
}
#footer_content .footer-item{
font-size:1rem;
line-height:1.7;
color:var(--font-color)
}
#footer_content .footer-item:hover{
color:var(--marcus-blue)
}
@media screen and (max-width:768px){
#footer_content{
padding:1rem
}
#footer_content .footer-group{
text-align:center
}
}
#footer-bottom{
padding:1rem;
background:var(--card-bg);
z-index:2;
border-top:1px solid #e3e8f7
}
#footer-bottom a{
display:-webkit-box;
display:-moz-box;
display:-webkit-flex;
display:-ms-flexbox;
display:box;
display:flex
}
#footer-bottom a:not(:first-child)::before{
content:'|';
font-size:14px;
line-height:2.45;
margin:0 10px
}
@media screen and (max-width:768px){
#footer-bottom a:not(:first-child)::before{
line-height:2.25;
margin:0 8px
}
}
#footer-bottom a:hover{
color:var(--marcus-blue)
}
#footer-bottom a:hover::before{
color:var(--font-color)
}
#footer-bottom .footer-bottom-content{
display:-webkit-box;
display:-moz-box;
display:-webkit-flex;
display:-ms-flexbox;
display:box;
display:flex;
-webkit-box-pack:justify;
-moz-box-pack:justify;
-o-box-pack:justify;
-ms-flex-pack:justify;
-webkit-justify-content:space-between;
justify-content:space-between;
max-width:1220px;
width:100%;
margin:0 auto;
-webkit-box-lines:multiple;
-moz-box-lines:multiple;
-o-box-lines:multiple;
-webkit-flex-wrap:wrap;
-ms-flex-wrap:wrap;
flex-wrap:wrap
}
#footer-bottom .footer-bottom-content *{
font-size:17px;
white-space:nowrap;
color:var(--font-color)
}
@media screen and (min-width:2000px){
#footer-bottom .footer-bottom-content{
max-width:1480px
}
}
#footer-bottom .footer-bottom-left,#footer-bottom .footer-bottom-right{
display:-webkit-box;
display:-moz-box;
display:-webkit-flex;
display:-ms-flexbox;
display:box;
display:flex;
-webkit-box-orient:vertical;
-moz-box-orient:vertical;
-o-box-orient:vertical;
-webkit-flex-direction:column;
-ms-flex-direction:column;
flex-direction:column
}
#footer-bottom .footer-bottom-left div,#footer-bottom .footer-bottom-left span,#footer-bottom .footer-bottom-right div,#footer-bottom .footer-bottom-right span{
display:-webkit-box;
display:-moz-box;
display:-webkit-flex;
display:-ms-flexbox;
display:box;
display:flex;
-webkit-box-align:center;
-moz-box-align:center;
-o-box-align:center;
-ms-flex-align:center;
-webkit-align-items:center;
align-items:center
}
#footer-bottom .footer-bottom-right div{
-webkit-box-pack:end;
-moz-box-pack:end;
-o-box-pack:end;
-ms-flex-pack:end;
-webkit-justify-content:flex-end;
justify-content:flex-end
}
@media screen and (max-width:768px){
#footer-bottom{
padding:1rem 0!important
}
#footer-bottom .footer-bottom-content *{
font-size:1rem
}
#footer-bottom .footer-bottom-left,#footer-bottom .footer-bottom-right{
width:100%;
-webkit-box-align:center;
-moz-box-align:center;
-o-box-align:center;
-ms-flex-align:center;
-webkit-align-items:center;
align-items:center
}
}
[data-theme=dark] #footer_icons .icon_link{
background-color:#ececec
}
[data-theme=dark] #footer_icons .icon_link i{
color:#202020
}
[data-theme=dark] #footer_icons .icon_link:hover i{
color:#fff
}
[data-theme=dark] #footer_icons img.footer_logo{
filter:drop-shadow(0 0 12px rgba(255,255,255,.3))!important
}
[data-theme=dark] #footer_icons img.footer_logo:hover{
filter:drop-shadow(0 0 15px rgba(255,255,255,.5))!important
}
[data-theme=dark] #footer_content,[data-theme=dark] #footer_icons{
background:rgba(24,24,30,.5)
}

View File

@@ -586,91 +586,366 @@
} }
} }
/* 侧边栏的统计栏美化 */ /* 侧边栏的统计栏美化 */
/* ===========================================
极简版权卡片 参考图片重制
亮色 / 暗色 自动切换
=========================================== */
:root { /*https://codepen.io/poojanahelia/pen/Exabvdy*/
/* 亮色变量 */
--card-bg: #ffffff; #footer {
--card-border: #e5e7eb; background-color: rgba(0, 0, 0, 0); /* 修改透明色 */
--text-primary: #111827; color: #fff;
--text-secondary: #6b7280; padding: 0;
--link-color: #2563eb;
--link-hover: #3b82f6;
} }
[data-theme=dark]{ #footer .footer-other {
:root { padding: 0;
/* 暗色变量 */
--card-bg: #111827;
--card-border: #374151;
--text-primary: #f9fafb;
--text-secondary: #9ca3af;
--link-color: #60a5fa;
--link-hover: #93c5fd;
}
} }
/* 强制暗色模式(加 .dark 到 <html> 或 <body> */ .footer-copyright{
.dark { padding: 0;
--card-bg: #111827;
--card-border: #374151;
--text-primary: #f9fafb;
--text-secondary: #9ca3af;
--link-color: #60a5fa;
--link-hover: #93c5fd;
} }
/* 版权卡片整体 */ .my-footer-logo {
.post-copyright { color: white;
margin: 2rem 0;
padding: 1.5rem 1.75rem;
background: var(--card-bg);
border: 1px solid var(--card-border);
border-radius: 8px;
font-size: 0.925rem;
line-height: 1.6;
color: var(--text-primary);
} }
/* 标题(文章名) */ .my-footer-wave-svg {
.post-copyright__title { height: 50px;
font-weight: 700; width: 100%;
font-size: 1.125rem; transform: scale(-1, -1) translateY(-10px); /*;*/
margin-bottom: 0.75rem;
color: var(--text-primary);
} }
/* 链接 */ .my-footer-wave-path {
.post-copyright__link { fill: #177ecd;
color: var(--link-color);
text-decoration: none;
word-break: break-all;
} }
.post-copyright__link:hover { .my-footer-content {
color: var(--link-hover); margin-left: auto;
text-decoration: underline; margin-right: auto;
max-width: 1230px;
padding: 40px 15px 450px;
position: relative;
} }
/* 元数据行 */ .my-footer-content-column {
.post-copyright__meta { box-sizing: border-box;
margin-top: 0.5rem; float: left;
color: var(--text-secondary); padding-left: 15px;
padding-right: 15px;
width: 100%;
color: #fff;
} }
.post-copyright__meta strong { .my-footer-content-column ul li a {
color: var(--text-primary); color: #fff;
font-weight: 600; text-decoration: none;
} }
/* 移动端适配 */ .my-footer-logo-link {
@media (max-width: 600px) { display: inline-block;
.post-copyright { }
padding: 1.25rem;
font-size: 0.875rem; .my-footer-menu {
} margin-top: 15px;
} }
.my-footer-menu-name {
color: #fffff2;
font-size: 15px;
font-weight: 900;
letter-spacing: .1em;
line-height: 18px;
margin-bottom: 0;
margin-top: 0;
text-transform: uppercase;
}
.my-footer-menu-list {
list-style: none;
margin-bottom: 0;
margin-top: 10px;
padding-left: 0;
}
.my-footer-menu-list li {
margin-top: 5px;
}
.my-footer-call-to-action-description {
color: #fffff2;
margin-top: 10px;
margin-bottom: 20px;
}
.my-footer-call-to-action-button:hover {
background-color: #fffff2;
color: #00bef0;
}
.button:last-of-type {
margin-right: 0;
}
.my-footer-call-to-action-button {
background-color: #03708c;
border-radius: 21px;
color: #fffff2;
display: inline-block;
font-size: 11px;
font-weight: 900;
letter-spacing: .1em;
line-height: 18px;
padding: 12px 30px;
margin: 0 10px 10px 0;
text-decoration: none;
text-transform: uppercase;
transition: background-color .2s;
cursor: pointer;
position: relative;
}
.my-footer-call-to-action {
margin-top: 17px;
}
.my-footer-call-to-action-title {
color: #fffff2;
font-size: 14px;
font-weight: 900;
letter-spacing: .1em;
line-height: 18px;
margin-bottom: 0;
margin-top: 0;
text-transform: uppercase;
}
.my-footer-call-to-action-link-wrapper {
margin-bottom: 0;
margin-top: 10px;
color: #fff;
text-decoration: none;
}
.my-footer-call-to-action-link-wrapper a {
color: #fff;
text-decoration: none;
}
.my-footer-social-links {
bottom: -1px;
height: 54px;
position: absolute;
right: 0;
width: 236px;
}
.my-footer-social-amoeba-svg {
height: 54px;
left: 0;
display: block;
position: absolute;
top: 0;
width: 236px;
}
.my-footer-social-amoeba-path {
fill: #03708c;
}
.my-footer-social-link.email {
height: 41px;
left: 5px;
top: 14px;
width: 41px;
}
.my-footer-social-link {
display: block;
padding: 10px;
position: absolute;
}
.hidden-link-text {
position: absolute;
clip: rect(1px 1px 1px 1px);
clip: rect(1px, 1px, 1px, 1px);
-webkit-clip-path: inset(0px 0px 99.9% 99.9%);
clip-path: inset(0px 0px 99.9% 99.9%);
overflow: hidden;
height: 1px;
width: 1px;
padding: 0;
border: 0;
top: 50%;
}
.my-footer-social-icon-svg {
display: block;
}
.my-footer-social-icon-path {
fill: #fffff2;
transition: fill .2s;
}
.my-footer-social-link.follow {
height: 42px;
left: 124px;
top: 13px;
width: 42px;
}
.my-footer-social-link.rss {
height: 43px;
left: 178px;
top: 10px;
width: 43px;
}
.my-footer-social-link.github {
height: 62px;
left: 54px;
top: -4px;
width: 62px;
}
.my-footer-copyright {
background-color: #03708c;
color: #fff;
padding: 15px 30px;
text-align: center;
}
.my-footer-copyright-wrapper {
margin-left: auto;
margin-right: auto;
max-width: 1200px;
}
.my-footer-copyright-text {
color: #fff;
font-size: 13px;
font-weight: 400;
line-height: 18px;
margin-bottom: 0;
margin-top: 0;
}
.my-footer-copyright-link {
color: #fff;
text-decoration: none;
}
.my-footer-content-div {
background: #177ecd
}
.my-footer-svg-div {
width: 100%;
max-height: 200px;
}
/* Media Query For different screens */
@media (min-width: 320px) and (max-width: 479px) {
/* smartphones, portrait iPhone, portrait 480x320 phones (Android) */
.my-footer-content {
margin-left: auto;
margin-right: auto;
max-width: 1230px;
padding: 40px 15px 649px;
position: relative;
}
/* 不展示logo */
.my-footer-logo {
display: none;
}
}
@media (min-width: 480px) and (max-width: 599px) {
/* smartphones, Android phones, landscape iPhone */
.my-footer-content {
margin-left: auto;
margin-right: auto;
max-width: 1230px;
padding: 40px 15px 738px;
position: relative;
}
.my-footer-logo {
padding-left: 177px; /* Qlogo 稍微偏移一点 */
padding-right: 170px;
}
}
@media (min-width: 600px) and (max-width: 800px) {
/* portrait tablets, portrait iPad, e-readers (Nook/Kindle), landscape 800x480 phones (Android) */
.my-footer-content {
margin-left: auto;
margin-right: auto;
max-width: 1230px;
padding: 40px 15px 758px;
position: relative;
}
}
@media (min-width: 801px) {
/* tablet, landscape iPad, lo-res laptops ands desktops */
}
@media (min-width: 1025px) {
/* big landscape tablets, laptops, and desktops */
}
@media (min-width: 1281px) {
/* hi-res laptops and desktops */
}
@media (min-width: 760px) {
.my-footer-content {
margin-left: auto;
margin-right: auto;
max-width: 1230px;
padding: 10px 15px 237px;
position: relative;
}
.my-footer-content-column {
/*五列的话 19.99 %*/
width: 24.99%;
}
}
@media (min-width: 568px) {
}
@media (min-width: 600px) and (max-width: 760px) {
/* 在这里编写适用于小屏幕的样式 */
.my-footer-logo {
padding-left: 212px; /* Qlogo 稍微偏移一点 */
padding-right: 204px;
}
}
/* 页脚波浪的颜色 */
[data-theme='dark'] .my-footer-wave-path {
fill: #0f3858;
}
[data-theme='dark'] .my-footer-content-div {
background-color: #0f3858;
}
/* 页脚海底的颜色 */
[data-theme='dark'] .my-footer-copyright {
background-color: #2b3f49;
}
[data-theme='dark'] .my-footer-social-amoeba-path {
fill: #2b3f49;
}