feat(v1.2.0): 主题配色系统 + Hero 文字效果/一言颜色;修复 /douban 500、友链悬浮光圈裁切、瞬间顶图间距;Halo 版本要求 2.26+
- 新增官方预设调色板 11 套(浅/深双套色板,玻璃/阴影自动跟随),强调色留空跟随配色 - Hero 一言独立颜色配置(浅/深);文字显示效果:阴影/光晕/半透明遮罩/渐变遮罩/容器;默认无效果,移除自带散光 - /douban 适配 plugin-douban 1.2.6 SQLite 扁平化数据结构(item.spec.* -> item.*) - 友链卡片去掉 overflow:hidden,修复悬浮光圈被裁切;徽章简化为仅显示可达性 - 瞬间页顶图与首条卡片增加间距;theme-color 随配色/明暗联动
This commit is contained in:
1 parent
a08782a959
commit
a127d5a314
16 files changed
+627
-70
No files matched your search
@@ -54,8 +54,7 @@ import Layout from "../layouts/Layout.astro";
|
||||
rel="noopener noreferrer"
|
||||
class="wi-links__card"
|
||||
th:with="verification=${link.status?.verification},
|
||||
accessState=${verification?.access?.state != null ? verification.access.state.name() : null},
|
||||
backlinkState=${verification?.backlink != null and verification.backlink.state != null ? verification.backlink.state.name() : null}"
|
||||
accessState=${verification?.access?.state != null ? verification.access.state.name() : null}"
|
||||
>
|
||||
<div class="wi-links__card-glow"></div>
|
||||
<div class="wi-links__card-inner">
|
||||
@@ -74,16 +73,16 @@ import Layout from "../layouts/Layout.astro";
|
||||
th:text="${#strings.substring(link.spec.displayName, 0, 1)}"
|
||||
></span>
|
||||
</div>
|
||||
<!-- 反链 / 可达性检测徽章(plugin-links 后台「友链检测」产生,未检测过则不显示) -->
|
||||
<!-- 可达性检测徽章(plugin-links 后台「友链检测」产生):绿点=可访问,红点=异常,未检测不显示 -->
|
||||
<span
|
||||
class="wi-links__check wi-links__check--ok"
|
||||
th:if="${accessState == 'ACCESSIBLE' and backlinkState != 'MISSING'}"
|
||||
th:title="${backlinkState == 'FOUND' ? '访问正常 · 反链有效' : '访问正常'}"
|
||||
th:if="${accessState == 'ACCESSIBLE'}"
|
||||
th:title="'站点访问正常'"
|
||||
></span>
|
||||
<span
|
||||
class="wi-links__check wi-links__check--bad"
|
||||
th:if="${accessState == 'INACCESSIBLE' or backlinkState == 'MISSING'}"
|
||||
th:title="${accessState == 'INACCESSIBLE' ? '站点访问异常' : '未检测到反链'}"
|
||||
th:if="${accessState == 'INACCESSIBLE'}"
|
||||
th:title="'站点访问异常'"
|
||||
></span>
|
||||
</span>
|
||||
<div class="wi-links__info">
|
||||
@@ -523,8 +522,9 @@ import Layout from "../layouts/Layout.astro";
|
||||
border-radius: 16px;
|
||||
text-decoration: none;
|
||||
color: inherit;
|
||||
overflow: hidden;
|
||||
display: flex;
|
||||
/* 注意:这里绝不能加 overflow:hidden —— 悬浮时内层卡片会上移 4px 并投射大范围
|
||||
阴影,裁切会把阴影切出一条"断开的光带"、卡片顶部被削平(v1.2.0 修复) */
|
||||
}
|
||||
|
||||
.wi-links__card-glow {
|
||||
|
||||
Reference in new issue
Block a user