Commit Graph

65 Commits

Author SHA1 Message Date
rbetree
cc48a02676 refactor: 对原本的过长style.css进行拆分 2026-01-24 23:20:05 +08:00
rbetree
50a416ef8e feat: 微调样式和配色 2026-01-24 22:02:13 +08:00
rbetree
b457b26c04 feat: 首页添加时间和todo模块 2026-01-22 15:08:33 +08:00
rbetree
e7a4547027 fix: 给侧边栏submenu-header添加一致的过渡动画 2026-01-21 19:48:05 +08:00
rbetree
1625f7342c feat: 调整页面顶部区域&重构项目页热力图&优化markdown内容页 2026-01-21 19:21:51 +08:00
rbetree
280d376bac feat(templates):新增 Markdown 内容页支持
新增 template: content:构建期使用 markdown-it 将本地Markdown 渲染为 HTML(禁用 raw HTML/图片),并按MeNav的URLscheme白名单策略对链接做安全降级
2026-01-20 18:23:32 +08:00
rbetree
f773b9e290 feat: 收紧 gap/padding 2026-01-19 22:34:11 +08:00
rbetree
0c6b3a68e1 refactor: 重构侧边栏布局,新增独立子菜单面板
Fixes: #36
2026-01-17 02:01:50 +08:00
rbetree
3e78332b54 style: 优化移动端ui逻辑与交互一致性
- 移动端布局:站点卡片统一两列;卡片改为横排左对齐,标题/描述省略防溢出
- 移动端留白:缩短分类卡片与页面边缘的左右间距,扩大可用宽度
- 搜索交互:搜索框常驻置顶;搜索按钮未删除仅隐藏;移除“搜索面板”切换/遮罩逻辑,按钮点击仅聚焦输入框
- 顶部栏:搜索框与菜单按钮同排;菜单按钮磁贴与搜索框风格/高度更契合;加入 safe-area 适配并修复横向溢出
- 侧边栏:移动端限制宽度并隐藏横向溢出,避免撑出右侧
- 磁贴统一:右下角主题/分类按钮在移动端与桌面端统一为同款磨砂卡片风格(含 safe-area 偏移)
2026-01-05 22:40:02 +08:00
rbetree
8a1b6a2d90 refactor: 去除顶部进度条&恢复滚动条 2026-01-04 22:44:16 +08:00
rbetree
a9275ffc6d feat: 搜索框聚焦时发光 2026-01-04 22:21:21 +08:00
rbetree
4cc10dd2b2 feat: 减少渲染阻塞并压缩静态资源
- 移除首页副标题固定 Quicksand 外链字体,改为跟随全站字体变量
- 字体配置新增 fonts.preload(preload+onload 非阻塞加载,含 noscript 回退)
- Font Awesome CSS 改为 preload+onload 非阻塞加载,降低 render-blocking
- 构建阶段使用 esbuild 压缩 dist 的 style/script/pinyin-match(无 esbuild 时回退为直接复制)
- 同步更新文档说明与更新日志
2026-01-04 17:03:16 +08:00
rbetree
2bebefbfe8 feat: 添加站点卡片悬停提示功能
- 为所有站点卡片添加 data-tooltip 属性,包含完整的标题和描述信息
- tooltip 显示逻辑:
  * 鼠标悬停在整个卡片上即可触发(触发区域大,操作自然)
  * 跟随鼠标移动,实时更新位置
  * 智能边界检测,避免 tooltip 超出视口范围
  * 鼠标移出时自动隐藏
- 解决文本截断问题,用户可通过悬停查看完整内容

实现:
- 模板层:在 site-card.hbs 中为卡片添加 data-tooltip 属性
- 交互层:在 script.js 中实现 tooltip 的创建、显示、移动和隐藏逻辑
- 样式层:通过 CSS 类控制 tooltip 的可见性和位置

Issue: #31
2026-01-03 18:03:50 +08:00
rbetree
87b4cea290 feat: 重构搜索框样式 2026-01-02 23:02:02 +08:00
rbetree
0e151156df feat: 优化各层级折叠与标题样式
- 优化完善各层级下的折叠样式;桌面端隐藏,悬浮动画等
- 优化各层级标题;固定标题前的图标宽度,对齐标题
2026-01-02 20:16:18 +08:00
rbetree
30d50ebcd7 fix: 修复外部资源、图标模式与嵌套交互(#30)
Fixes: https://github.com/rbetree/menav/issues/30

- Font Awesome:bootcdn→Cloudflare cdnjs
- favicon:gstatic `.com` 失败自动回退 `.cn`
- `icons.mode`:修复 `site.yml` 配置未生效(提升到顶层)
- 站点级图标覆盖:支持 `faviconUrl` / `forceIconMode`(优先级:`faviconUrl` > `forceIconMode` > `icons.mode`)
- 折叠交互:恢复二级分组折叠按钮(桌面端悬停显示)
- 新标签页:递归补齐多级 `sites.external` 默认值
2026-01-02 18:09:20 +08:00
rbetree
d2ceeb674f refactor: 调整文章页卡片并排数 2025-12-28 19:40:38 +08:00
rbetree
4eea833f20 feat: 调整字体 2025-12-28 19:28:04 +08:00
rbetree
387cd2492e feat: 页面模板差异化改进 + 配置优化 + 兼容清理 (#29)
- 首页判定:navigation 第一项
- 模板:page/projects/articles/bookmarks/search-results
- bookmarks:update: YYYY-MM-DD | from: git|mtime
- articles:RSS 聚合只读条目 + 分类聚合 + 影子写回结构
- projects:repo 卡片 + 可选热力图 + 自动抓取元信息
- 工作流:构建前 sync + schedule 定时刷新
- 移除兼容:config.yml/config.yaml、navigation.yml、home 特例
- 迁移说明:config/update-instructions.md
2025-12-28 00:22:54 +08:00
rbetree
ac14586845 fix: 修复移动端完整可视 2025-12-23 14:56:45 +08:00
rbetree
ed435b3381 feat: 更新展示图 2025-12-23 02:43:55 +08:00
rbetree
92f2884541 feat: 更新logo 2025-12-23 02:28:07 +08:00
rbetree
ba78c8e564 feat: 微调ui布局 2025-12-23 02:04:55 +08:00
rbetree
03b743e337 refactor: 修改社交链接样式布局 2025-12-22 22:28:28 +08:00
rbetree
e2fae7f362 feat: 微调ui布局 2025-12-22 21:00:59 +08:00
rbetree
a59c37d5ba refactor: 重构多层级设计 2025-12-22 20:02:44 +08:00
rbetree
2b366ae7ca feat: 优化调整卡片样式布局
- 站点卡片改为紧凑布局并统一动态渲染
- 搜索框玻璃拟态与 Ctrl/Cmd+K 聚焦
2025-12-22 19:56:03 +08:00
rbetree
ecc5e287b5 refactor: 统一样式变量并规范过渡动画 2025-12-22 16:39:04 +08:00
rbetree
cc35e3e7c9 refactor: 修改项目logo 2025-11-09 21:50:31 +08:00
rbetree
3ae40b23d5 feat: 优化书签转换逻辑和分类嵌套结构 2025-11-01 00:19:30 +08:00
rbetree
cb144d5315 fix: 修复侧边栏切换图标错位
Close #21
2025-10-27 16:09:08 +08:00
rbetree
886bc464d1 feat: 新增'分类展开/收起'按钮 2025-10-27 15:01:17 +08:00
rbetree
153dee9dbc feat: 调整卡片样式间距 2025-10-27 14:19:15 +08:00
rbetree
ee19312ef3 feat: 优化category与group栏样式效果 2025-10-26 19:56:55 +08:00
coolzr
6bfaef04e7 fix: 修复站点卡片的悬浮效果被category遮住的问题 2025-10-24 14:17:36 +08:00
coolzr
ad3cba549b feat: 所有页面支持1到4层级的嵌套结构 2025-10-24 00:40:43 +08:00
coolzr
8d4d76184d fix: 加载中图标修复 2025-10-23 23:07:42 +08:00
coolzr
656ad451b5 fix: 加载中图标修复 2025-10-20 02:14:04 +08:00
coolzr
807122437c feat: 优化紧凑移动端布局 2025-10-19 22:02:10 +08:00
coolzr
a403cf8f0d feat: 优化样式 2025-10-19 20:55:38 +08:00
coolzr
cfcb4ab15c fix: 修复搜索框样式 2025-10-19 02:57:25 +08:00
coolzr
c014f96a4d feat: 优化侧边栏动画和样式布局 2025-10-19 02:39:03 +08:00
coolzr
139c21ebe4 feat: 优化搜索框样式 2025-10-19 01:49:15 +08:00
coolzr
aa264cc727 feat(icons): 添加favicon模式,自动匹配图标
- 新增配置 icons.mode(manual | favicon),默认 favicon,未配置场景下自动生效
- 模板调用 t3.gstatic.com/faviconV2 获取站点图标;加载中显示旋转占位,失败回退至 Font Awesome 图标
- 新增 ifHttpUrl 与 encodeURIComponent,提升模板安全性与可读性
- 搜索索引优先读取 .icon-fallback,保证 favicon 模式下图标类名一致
- 样式新增 .favicon-icon 与 hover 效果,维持卡片观感一致性
2025-10-18 23:50:53 +08:00
coolzr
95398e074a fix: 修复主题偶发渲染错误与闪烁
1. CSS 主题预加载: 浅色变量同时应用到 html.theme-preload,避免首帧读取到暗色变量导致的错色与闪烁
2. transition:
	- 移除会引起首帧抖动的相关transition:侧边栏的 width/transform 和 .content 的 transition
	- 新增作用域类 .with-anim,仅在交互(点击折叠按钮)时启用侧边栏transition,首屏不加载动画
3. 页面与分类卡片动画:
	- 移除 .page.active 的位移动画,保留透明度过渡
	- 移除 .category 的进入动画(opacity:0 + fadeIn),避免分类卡片在切页时产生浮动效果

脚本调整: 在 toggleSidebarCollapse 时添加 documentElement.with-anim,使布局过渡仅在用户交互时生效

Fixes #17
2025-10-18 17:16:15 +08:00
nsnans
338d0304d1 feat(search): 引入拼音搜索
* add pinyin search

* style(highlight): keep theme-aware background

- restore theme-aware .highlight with --highlight-bg

- add highlight vars for light/dark

chore: load pinyin lib before script.js

- ensure pinyin-match.js loads before script.js to avoid runtime dependency issues

docs: add third-party notice for pinyin-match

- add placeholder notice; replace with upstream license after verification

---------

Co-authored-by: neo <neo@example.com>
Co-authored-by: Maintainer (PR Edit) <maintainer@local>
2025-10-14 03:49:17 +08:00
Zuoling Rong
217324f743 fix: 优化侧边栏显示 2025-07-07 13:45:12 +08:00
Zuoling Rong
5f382d2540 fix: 优化明暗切换按钮样式 2025-07-07 02:12:29 +08:00
Zuoling Rong
edbf1aaf97 fix: 优化页面布局与欢迎文本对齐效果 2025-07-07 01:49:45 +08:00
Zuoling Rong
db28c58db1 docs(readme): 优化文档 2025-05-14 13:58:04 +08:00