Compare commits

...

3 Commits

Author SHA1 Message Date
6546730d1d fix: 撤回0fe29c7更改,修复其导致的文章页面抖动问题 2026-03-30 15:12:27 +08:00
d122f19ead chore: 添加备案信息 2026-03-30 15:08:22 +08:00
b570c9e621 chore: 更新关于页面 2026-03-30 15:07:49 +08:00
6 changed files with 122 additions and 18 deletions

49
public/image.svg Normal file
View File

@@ -0,0 +1,49 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
version="1.1"
style="display:block"
viewBox="0 0 716.8 716.8"
width="350"
height="350"
id="svg33"
xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg">
<defs
id="defs33" />
<path
fill="#a6d4eb"
d="m 230.10802,139.23103 c 0.173,-13.411 -0.96,-28.877 8.814,-39.464 7.389,-8.005 18.272,-9.119004 28.64,-9.535004 41.032,-1.648 82.724,-0.106 123.82,-0.127 l 51.813,0.005 c 9.99,0.009 20.354,-0.545 30.284,0.642 7.653,0.914004 14.525,1.979004 20.314,7.525004 11.444,10.963 10.268,26.372 10.306,40.893 20.284,22.728 80.22904,79.49803 98.66104,97.93003 18.432,18.432 25.14761,30.00191 31.43809,40.24191 7.26713,11.82983 9.52191,31.43809 9.52191,41.67809 v 38.91201 94.20805 65.536 c 10e-4,14.69 -0.23001,28.624 -1.59001,43.264 -0.782,8.42 -3.747,17.17 -7.872,24.55 -10.418,18.63 -27.289,27.15 -47.187,32.63 -35.013,9.63 -70.759,17.52 -106.085,25.98 -22.107,5.3 -45.268,12.64 -67.805,14.96 -23.727,2.43 -48.67,-1.44 -72.252,-4.03 l -76.089,-8.33 -78.493,-8.48 c 0,0 -74.79071,-12.3292 -78.44136,-14.048 -13.049651,-6.144 -18.812691,-11.6037 -27.385651,-20.48 -10.11256,-14.3288 -10.24,-59.392 -10.24,-59.392 v -137.4782 c 0,0 0,-77.56185 6.90598,-98.0259 3.25353,-9.64097 6.815,-19.442 12.834,-27.611 9.333,-12.667 21.849001,-23.489 32.985001,-34.589 l 68.867,-68.201 c 12.5,-12.35099 26.354,-24.48999 37.404,-38.11699 0.281,-0.346 0.554,-0.698 0.832,-1.047 z"
id="path2"
style="display:inline" />
<path
style="display:block;fill:#cccccc;fill-opacity:1;stroke:#6e6e6e;stroke-width:0.774048;stroke-opacity:0"
d="m 643.78868,330.39021 c 0,0 -0.35178,-27.03287 -1.7741,-31.92725 -1.41983,-4.88581 -2.53508,-9.81373 -4.8689,-14.84037 -2.14477,-4.61948 -7.01648,17.29298 -9.90194,10.72496 -2.78722,-6.3444 8.79403,15.24875 11.35565,18.61884 1.69708,2.23269 5.25664,7.36569 5.18929,17.42382 z"
id="path38" />
<path
fill="#1699e5"
d="m 230.10802,139.23103 c 0.173,-13.411 -0.96,-28.877 8.814,-39.464 7.389,-8.005 18.272,-9.119004 28.64,-9.535004 41.032,-1.648 82.724,-0.106 123.82,-0.127 l 51.813,0.005 c 9.99,0.009 20.354,-0.545 30.284,0.642 7.653,0.914004 14.525,1.979004 20.314,7.525004 11.444,10.963 10.268,26.372 10.306,40.893 10.00576,11.21135 47.44216,46.71115 78.18104,77.45003 16.80034,16.80034 32.89095,31.77052 43.008,45.056 8.38232,11.00748 10.65371,18.36352 12.288,22.528 6.49877,15.35792 0.88259,22.55707 -16.72729,26.34557 -4.18558,0.90047 0.0934,0.33432 0.0934,0.33432 0,0 -202.05086,7.30405 -202.12128,7.62834 -8.051,-0.129 -20.41086,-4.64727 -27.04386,-8.89427 -1.578,-1.013 -3.142,-2.048 -4.692,-3.103 -28.013,-25.054 -54.115,-52.835 -80.861,-79.286 -10.732,-10.613 -21.971,-24.411 -34.612,-32.58 -3.714,-2.401 -8.647,-2.935 -12.982,-2.788 -3.381,0.115 -7.33,0.805 -10.208,2.695 -12.667,8.319 -32.616,30.853 -44.309,42.37 -21.983,21.653 -45.778,42.738 -66.251,65.739 -4.011,4.507 -10.029,11.238 -11.317,17.186 -3.39,15.649 -2.063,33.535 -2.07,49.515 l -0.022,65.934 v 85.5 c 0.001,15.02 -0.704,30.38 0.283,45.35 0.518,7.85 2.921,13.39 8.976,18.6 1.308,1.13 1.246,1.05 2.436,1.88 -1.319,0.21 -1.48,0.26 -3.026,0.31 -13.189,0.44 -35.741001,-0.5 -47.443001,-7.45 -8.61367,-5.112 -10.59682,-8.2601 -11.30298,-14.7099 -1.898,-17.38 -4.139,-33.66 -4.096,-51.2 v -106.7582 c -0.049,-23.95 2.18598,-76.5539 6.90598,-98.0259 2.184,-9.938 6.815,-19.442 12.834,-27.611 9.333,-12.667 21.849001,-23.489 32.985001,-34.589 l 68.867,-68.201 c 12.5,-12.35099 26.354,-24.48999 37.404,-38.11699 0.281,-0.346 0.554,-0.698 0.832,-1.047 z"
id="path3"
style="display:inline" />
<path
fill="#f3f2f2"
d="m 136.14802,586.63002 c -1.19,-0.83 -1.128,-0.75 -2.436,-1.88 -6.055,-5.21 -8.458,-10.75 -8.976,-18.6 -0.987,-14.97 -0.282,-30.33 -0.283,-45.35 v -85.5 l 0.022,-65.934 c 0.007,-15.98 -1.32,-33.866 2.07,-49.515 1.288,-5.948 7.306,-12.679 11.317,-17.186 20.473,-23.001 44.268,-44.086 66.251,-65.739 11.693,-11.517 31.642,-34.051 44.309,-42.37 2.878,-1.89 6.827,-2.58 10.208,-2.695 4.335,-0.147 9.268,0.387 12.982,2.788 12.641,8.169 23.88,21.967 34.612,32.58 26.746,26.451 52.848,54.232 80.861,79.286 4.8,8.603 10.233,17.332 11.609,27.264 1.523,10.987 0.698,22.953 0.697,34.049 l -0.031,62.252 -0.072,101.49 c -0.003,18 0.671,36.25 -0.165,54.22 -0.253,5.43 -0.87,11.25 -2.449,16.46 -1.195,3.94 -3.813,6.36 -7.439,8.29 -3.468,1.85 -7.303,2.76 -11.215,2.97 -8.998,0.46 -37.971,-2.6 -46.568,-5.26 -4.434,-1.36 -8.121,-3.91 -10.245,-8.12 -5.068,-10.04 -2.472,-89.92 -2.485,-108.16 -0.009,-13.37 1.595,-28.51 -3.21,-41.18 -3.167,-8.35 -8.504,-13.62 -16.891,-16.65 -12.332,-4.45 -54.592,-8.54 -68.103,-7.35 -4.431,0.38 -8.929,1.52 -12.868,3.62 -7.818,4.17 -13,12.05 -15.438,20.4 -4.64,15.9 -2.087,80.66 -1.963,101.59 0.047,8.05 0.897,16.85 -0.424,24.78 -0.807,4.84 -2.773,10.51 -7.328,13.05 -11.859,6.63 -42.977,-1.63 -56.349,-3.6 z"
id="path4"
style="display:inline" />
<rect
style="display:inline;fill:#ffffff;fill-opacity:1;stroke:#6e6e6e;stroke-width:0.774048;stroke-opacity:0"
id="rect36"
width="186.88643"
height="6.1440268"
x="253.31686"
y="134.70003"
ry="2.976815"
rx="0" />
<rect
style="fill:#ffffff;fill-opacity:1;stroke:#6e6e6e;stroke-width:0.774048;stroke-opacity:0"
id="rect37"
width="36.879272"
height="6.1439657"
x="449.16003"
y="134.70003"
ry="3.0085199" />
</svg>

After

Width:  |  Height:  |  Size: 5.3 KiB

BIN
public/recorded.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

View File

@@ -2,6 +2,7 @@
import { profileConfig } from "../config";
import { url } from "../utils/url-utils";
import Recorded from "./Recorded.astro";
const currentYear = new Date().getFullYear();
---
@@ -14,8 +15,6 @@ const currentYear = new Date().getFullYear();
&copy; <span id="copyright-year">{currentYear}</span> {profileConfig.name}. All Rights Reserved. /
<a class="transition link text-[var(--primary)] font-medium" target="_blank" href={url('rss.xml')}>RSS</a> /
<a class="transition link text-[var(--primary)] font-medium" target="_blank" href={url('sitemap-index.xml')}>Sitemap</a><br>
Powered by
<a class="transition link text-[var(--primary)] font-medium" target="_blank" href="https://astro.build">Astro</a> &
<a class="transition link text-[var(--primary)] font-medium" target="_blank" href="https://github.com/saicaca/fuwari">Fuwari</a>
<Recorded />
</div>
</div>

View File

@@ -0,0 +1,18 @@
<a
class="whitespace-nowrap inline-flex items-center max-w-full overflow-hidden"
target="_blank"
href={"https://beian.miit.gov.cn/"}>鲁ICP备2025144068号-1</a
><br />
<a
class="whitespace-nowrap inline-flex items-center max-w-full overflow-hidden"
target="_blank"
href={"https://beian.mps.gov.cn/#/query/webSearch?code=37011302000501"}
>
<img
src="/recorded.png"
class="w-4 h-4 mr-1.5"
alt="备案图标"
loading="lazy"
/>
鲁公网安备37011302000501号</a
><br />

View File

@@ -1,11 +1,55 @@
# About
This is the demo site for [Fuwari](https://github.com/saicaca/fuwari).
<div class="logo-container">
<img src="/image.svg" alt="icon" class="logo-icon">
<span class="logo-text">
MilkBlogs<span class="logo-dot">.</span>
</span>
</div>
::github{repo="saicaca/fuwari"}
<style>
.logo-container {
display: flex;
align-items: center;
justify-content: center;
width: 100%;
height: 100%;
box-sizing: border-box;
}
.logo-icon {
height: clamp(3rem, 5vw, 8rem); /* 与文字大小保持一致的比例 */
width: auto;
flex-shrink: 0;
margin-right: clamp(5px, 1vw, 20px); /* 间距也响应式 */
}
.logo-text {
font-size: clamp(3rem, 5vw, 8rem);
white-space: nowrap;
text-align: center;
}
.logo-dot {
color: #ff1e00ff
}
</style>
## 👋 Hi欢迎来到MilkBlogs
我是一名**电子信息专业**学生 ,立志成为一名优秀的**嵌入式系统工程师**。
## 🏗技术栈
* 📟 嵌入式 MCU 开发 (Bare-metal & RTOS)
* 🐧 嵌入式 Linux
* <...> C / C++ , Python ,Shell , Rust (探索中)
## 🚀开源
网站项目已开源
::gitea{repo="CapaCake/milkblogs-fuwari" service="https://git.milkfunc.top"}
> ### Sources of images used in this site
> - [Unsplash](https://unsplash.com/)
> - [星と少女](https://www.pixiv.net/artworks/108916539) by [Stella](https://www.pixiv.net/users/93273965)
> - [Rabbit - v1.4 Showcase](https://civitai.com/posts/586908) by [Rabbit_YourMajesty](https://civitai.com/user/Rabbit_YourMajesty)
## 📬建立联系
如果你有什么问题,欢迎交流:
* **GitHub**: [@CapaCake](https://github.com/CapaCake)
* **Blog**: [milkfunc.top](https://milkfunc.top)
* **Email**: [executor.cat@outlook.com](executor.cat@outlook.com)
## 🥂鸣谢
本站基于以下优秀的开源项目构建:
* **Framework**: [Astro](https://astro.build/)
* **BlogTemplate**: [Fuwari](https://github.com/saicaca/fuwari)

View File

@@ -22,15 +22,9 @@
a:not(.no-styling) {
@apply relative bg-none link font-medium text-[var(--primary)]
underline decoration-[var(--link-underline)] decoration-1 decoration-dashed underline-offset-4;
box-decoration-break: clone;
-webkit-box-decoration-break: clone;
display: inline-block;
&:hover, &:active {
@apply decoration-transparent;
background: var(--btn-plain-bg-hover);
border-bottom: 1px dashed var(--link-hover);
text-decoration: none;
}
}