-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsearch.xml
More file actions
105 lines (54 loc) · 5.82 KB
/
search.xml
File metadata and controls
105 lines (54 loc) · 5.82 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
<?xml version="1.0" encoding="utf-8"?>
<search>
<entry>
<title>你好,这是我的博客网站</title>
<link href="/2026/03/16/Hello,Hexo/"/>
<url>/2026/03/16/Hello,Hexo/</url>
<content type="html"><![CDATA[<h1 id="Hello-这是我的第一篇文章"><a href="#Hello-这是我的第一篇文章" class="headerlink" title="Hello,这是我的第一篇文章"></a>Hello,这是我的第一篇文章</h1><h2 id="网站简介"><a href="#网站简介" class="headerlink" title="网站简介"></a>网站简介</h2><p>基于Hexo搭建 + Butterfly 主题 + GitHub Pages托管的个人博客网站</p><h2 id="网站初衷"><a href="#网站初衷" class="headerlink" title="网站初衷"></a>网站初衷</h2><ul><li>✨ <strong>记录与沉淀</strong>:记录笔记(也许懒得上传),更多记录学习生活,想找个地方好好记录下来,既是给自己留档,也希望能帮到偶尔刷到的朋友;</li><li>🛠️ <strong>技术实践</strong>:从 Hexo 环境搭建、Butterfly 主题定制(比如改背景、调字体、加粒子特效),到页面样式优化,一点点把「空白模板」改成自己喜欢的样子,本身也是件超有成就感的事; </li><li>☁️ <strong>专属小天地</strong>:没有算法、没有推送,就想安安静静待着,分享我喜欢的东西——可能是编程技巧、动漫壁纸,也可能只是日常的碎碎念。</li></ul><h2 id="网站内容"><a href="#网站内容" class="headerlink" title="网站内容"></a>网站内容</h2><p>暂无,后期会慢慢更新笔记,项目,继续新增魔改小功能</p>]]></content>
<categories>
<category> 指南 </category>
</categories>
</entry>
<entry>
<title></title>
<link href="/css/custom.css"/>
<url>/css/custom.css</url>
<content type="html"><![CDATA[/* 页脚与头图透明 */#footer { background: transparent !important;}#page-header { background: transparent !important;}/* 白天模式遮罩透明 */#footer::before { background: transparent !important;}#page-header::before { background: transparent !important;}/* 夜间模式遮罩透明 */[data-theme="dark"] #footer::before { background: transparent !important;}[data-theme="dark"] #page-header::before { background: transparent !important;}/* 一级菜单居中 */#nav .menus_items { position: absolute !important; width: fit-content !important; left: 50% !important; transform: translateX(-50%) !important;}/* 子菜单横向展示 */#nav .menus_items .menus_item:hover .menus_item_child { display: flex !important;}/* 这里的2是代表导航栏的第2个元素,即有子菜单的元素,可以按自己需求修改 */.menus_items .menus_item:nth-child(5) .menus_item_child { left: -38px;}/* 夜间模式菜单栏发光字 */[data-theme="dark"] #nav .site-page,[data-theme="dark"] #nav .menus_items .menus_item .menus_item_child li a { text-shadow: 0 0 2px var(--theme-color) !important;}/* 手机端适配 */[data-theme="dark"] #sidebar #sidebar-menus .menus_items .site-page { text-shadow: 0 0 2px var(--theme-color) !important;}]]></content>
</entry>
<entry>
<title>关于</title>
<link href="/about/index.html"/>
<url>/about/index.html</url>
<content type="html"><![CDATA[<!-- GitCalendar容器 --><div id="gitZone"></div>]]></content>
</entry>
<entry>
<title>分类</title>
<link href="/categories/index.html"/>
<url>/categories/index.html</url>
<content type="html"><![CDATA[]]></content>
</entry>
<entry>
<title>友链</title>
<link href="/link/index.html"/>
<url>/link/index.html</url>
<content type="html"><![CDATA[]]></content>
</entry>
<entry>
<title>音乐</title>
<link href="/music/index.html"/>
<url>/music/index.html</url>
<content type="html"><![CDATA[]]></content>
</entry>
<entry>
<title></title>
<link href="/js/light.js"/>
<url>/js/light.js</url>
<content type="html"><![CDATA[// 霓虹灯效果// 颜色数组var arr = ["#39c5bb", "#f14747", "#f1a247", "#f1ee47", "#b347f1", "#1edbff", "#ed709b", "#5636ed"];// 颜色索引var idx = 0;// 切换颜色function changeColor() { // 仅夜间模式才启用 if (document.getElementsByTagName('html')[0].getAttribute('data-theme') == 'dark') { document.getElementById("site-name").style.textShadow = arr[idx] + " 0 0 20px"; document.getElementById("site-title").style.textShadow = arr[idx] + " 0 0 20px"; document.getElementById("site-subtitle").style.textShadow = arr[idx] + " 0 0 20px"; document.getElementsByClassName("author-info__name")[0].style.textShadow = arr[idx] + " 0 0 15px"; document.getElementsByClassName("author-info__description")[0].style.textShadow = arr[idx] + " 0 0 15px"; idx++; if (idx == 8) { idx = 0; } } else { // 白天模式恢复默认 document.getElementById("site-name").style.textShadow = "#1e1e1ee0 1px 1px 1px"; document.getElementById("site-title").style.textShadow = "#1e1e1ee0 1px 1px 1px"; document.getElementById("site-subtitle").style.textShadow = "#1e1e1ee0 1px 1px 1px"; document.getElementsByClassName("author-info__name")[0].style.textShadow = ""; document.getElementsByClassName("author-info__description")[0].style.textShadow = ""; }}// 开启计时器(这里是周期,时间单位是ms)window.setInterval(changeColor, 1200);]]></content>
</entry>
<entry>
<title>tags</title>
<link href="/tags/index.html"/>
<url>/tags/index.html</url>
<content type="html"><![CDATA[]]></content>
</entry>
</search>