style(friends): 更新友链

2. 移除“中域科技” blog.zhongyudata.com
3. 新增友链 Card 卡片边框
This commit is contained in:
Ad-closeNN
2026-03-03 20:08:51 +08:00
parent 776b750fa2
commit 9a90bd6143
+3 -1
View File
@@ -176,6 +176,7 @@ import { Icon } from "astro-icon/components";
<div class="text-sm text-black/50 dark:text-white/50">¡El pueblo unido jamás será vencido!</div> <div class="text-sm text-black/50 dark:text-white/50">¡El pueblo unido jamás será vencido!</div>
</a> </a>
<!--
<a href="https://blog.zhongyudata.com" target="_blank" class="friend-card"> <a href="https://blog.zhongyudata.com" target="_blank" class="friend-card">
<div class="flex items-center gap-2"> <div class="flex items-center gap-2">
<img src="https://zyblog.cn-nb1.rains3.com/zhongyudata.png" loading="lazy" class="w-5 h-5 rounded"> <img src="https://zyblog.cn-nb1.rains3.com/zhongyudata.png" loading="lazy" class="w-5 h-5 rounded">
@@ -183,6 +184,7 @@ import { Icon } from "astro-icon/components";
</div> </div>
<div class="text-sm text-black/50 dark:text-white/50">技术与生活</div> <div class="text-sm text-black/50 dark:text-white/50">技术与生活</div>
</a> </a>
-->
<a href="https://xhc861.top" target="_blank" class="friend-card"> <a href="https://xhc861.top" target="_blank" class="friend-card">
<div class="flex items-center gap-2"> <div class="flex items-center gap-2">
@@ -234,7 +236,7 @@ import { Icon } from "astro-icon/components";
<style> <style>
.friend-card { .friend-card {
@apply flex flex-col gap-1 p-4 rounded-lg bg-[var(--card-bg)] hover:bg-black/5 dark:hover:bg-white/5; @apply flex flex-col gap-1 p-4 rounded-lg bg-[var(--card-bg)] hover:bg-black/5 dark:hover:bg-white/5 border border-black/20 dark:border-white/20;
transition-property: all; transition-property: all;
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
transition-duration: 0.15s; transition-duration: 0.15s;