Skip to content

Commit 67ca0ea

Browse files
Change Font Family
1 parent 5375129 commit 67ca0ea

2 files changed

Lines changed: 4 additions & 9 deletions

File tree

src/components/Footer.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ import { url } from "../utils/url-utils";
2121
</div>
2222

2323
<!--运行时间 -->
24-
<script type="text/javascript">function runtime(){const t=new Date("01/01/2026 08:00:00"),n=new Date,s=n-t,e=Math.floor(s/1e3),o=Math.floor(e/86400),i=Math.floor(e%86400/3600),a=Math.floor(e%3600/60),r=e%60;document.getElementById("runningtime").innerHTML=`⭐本站已运行: ${o}天${i}小时${a}分${r}秒 ☁️`}setInterval(runtime,1e3)</script>
24+
<script type="text/javascript">function runtime(){const t=new Date("01/01/2026 00:00:00"),n=new Date,s=n-t,e=Math.floor(s/1e3),o=Math.floor(e/86400),i=Math.floor(e%86400/3600),a=Math.floor(e%3600/60),r=e%60;document.getElementById("runningtime").innerHTML=`⭐本站已运行: ${o}天${i}小时${a}分${r}秒 ☁️`}setInterval(runtime,1e3)</script>
2525
<div class="transition text-50 text-sm text-center hidden md:block"><p id="runningtime"> </p></div>
2626

2727
<!--右侧备案等信息 -->

src/styles/main.css

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,8 @@
1-
@font-face {
2-
font-family: 'blog font';
3-
src: url('https://api.fis.ink/fishcpy/ziti/fontwx.woff2') format('truetype');
4-
font-weight: normal;
5-
font-style: normal;
6-
font-display: swap;
7-
}
1+
/* 导入 ChillRoundFRegular 字体 */
2+
@import url('https://cdn.xrbk.cn/fonts/ChillRoundFRegular/result.css');
83

94
:root {
10-
--font-primary: 'blog font', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
5+
--font-primary: '寒蝉全圆体', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
116
}
127

138
/* 自定义鼠标样式 - 仅在桌面端显示 */

0 commit comments

Comments
 (0)