-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
308 lines (287 loc) · 13 KB
/
index.html
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
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
<!DOCTYPE html>
<html lang="cn" dir="auto">
<head>
<meta name="generator" content="Hugo 0.109.0"><meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="robots" content="index, follow">
<title>x3fang的博客</title>
<link rel="stylesheet" href="//cdn.bootcss.com/font-awesome/4.3.0/css/font-awesome.min.css">
<meta name="description" content="x3fang 博客 blog PaperMod">
<meta name="author" content="
作者: x3fang">
<link rel="canonical" href="http://x3fang.github.io/">
<link crossorigin="anonymous" href="/assets/css/stylesheet.954da0a8fbb09e770daa97aa84827474ac3a19a270a87bc52110edbb67a064ca.css" integrity="" rel="preload stylesheet" as="style">
<link rel="icon" href="https://x3fang.github.io/img/favicon.ico">
<link rel="icon" type="image/png" sizes="16x16" href="https://x3fang.github.io/img/favicon-16x16.png">
<link rel="icon" type="image/png" sizes="32x32" href="https://x3fang.github.io/img/favicon-32x32.png">
<link rel="apple-touch-icon" href="https://x3fang.github.io/img/apple-touch-icon.png">
<link rel="mask-icon" href="https://x3fang.github.io/img/Q.png">
<meta name="theme-color" content="#2e2e33">
<meta name="msapplication-TileColor" content="#2e2e33">
<link rel="alternate" type="application/rss+xml" href="http://x3fang.github.io/index.xml">
<link rel="alternate" type="application/json" href="http://x3fang.github.io/index.json">
<noscript>
<style>
#theme-toggle,
.top-link {
display: none;
}
</style>
<style>
@media (prefers-color-scheme: dark) {
:root {
--theme: rgb(29, 30, 32);
--entry: rgb(46, 46, 51);
--primary: rgb(218, 218, 219);
--secondary: rgb(155, 156, 157);
--tertiary: rgb(65, 66, 68);
--content: rgb(196, 196, 197);
--hljs-bg: rgb(46, 46, 51);
--code-bg: rgb(55, 56, 62);
--border: rgb(51, 51, 51);
}
.list {
background: var(--theme);
}
.list:not(.dark)::-webkit-scrollbar-track {
background: 0 0;
}
.list:not(.dark)::-webkit-scrollbar-thumb {
border-color: var(--theme);
}
}
</style>
</noscript><link rel='stylesheet' href='//cdn.jsdelivr.net/npm/[email protected]/build/web/hack.css'>
<meta property="og:title" content="x3fang的博客" />
<meta property="og:description" content="x3fang 博客 blog PaperMod" />
<meta property="og:type" content="website" />
<meta property="og:url" content="http://x3fang.github.io/" />
<meta name="twitter:card" content="summary"/>
<meta name="twitter:title" content="x3fang的博客"/>
<meta name="twitter:description" content="x3fang 博客 blog PaperMod"/>
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "Organization",
"name": "x3fang的博客",
"url": "http://x3fang.github.io/",
"description": "x3fang 博客 blog PaperMod",
"thumbnailUrl": "https://x3fang.github.io/img/favicon.ico",
"sameAs": [
"https://github.com/x3fang", "img/qq.png", "mailto:[email protected]", "index.xml"
]
}
</script>
</head>
<body class="list" id="top">
<script>
if (localStorage.getItem("pref-theme") === "dark") {
document.body.classList.add('dark');
} else if (localStorage.getItem("pref-theme") === "light") {
document.body.classList.remove('dark')
} else if (window.matchMedia('(prefers-color-scheme: dark)').matches) {
document.body.classList.add('dark');
}
</script>
<header class="header">
<nav class="nav">
<div class="logo">
<a href="http://x3fang.github.io/" accesskey="h" title="x3fang的博客 (Alt + H)">x3fang的博客</a>
<div class="logo-switches">
<button id="theme-toggle" accesskey="t" title="(Alt + T)">
<svg id="moon" xmlns="http://www.w3.org/2000/svg" width="24" height="18" viewBox="0 0 24 24"
fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round"
stroke-linejoin="round">
<path d="M21 12.79A9 9 0 1 1 11.21 3 7 7 0 0 0 21 12.79z"></path>
</svg>
<svg id="sun" xmlns="http://www.w3.org/2000/svg" width="24" height="18" viewBox="0 0 24 24"
fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round"
stroke-linejoin="round">
<circle cx="12" cy="12" r="5"></circle>
<line x1="12" y1="1" x2="12" y2="3"></line>
<line x1="12" y1="21" x2="12" y2="23"></line>
<line x1="4.22" y1="4.22" x2="5.64" y2="5.64"></line>
<line x1="18.36" y1="18.36" x2="19.78" y2="19.78"></line>
<line x1="1" y1="12" x2="3" y2="12"></line>
<line x1="21" y1="12" x2="23" y2="12"></line>
<line x1="4.22" y1="19.78" x2="5.64" y2="18.36"></line>
<line x1="18.36" y1="5.64" x2="19.78" y2="4.22"></line>
</svg>
</button>
</div>
</div>
<ul id="menu">
<li>
<a href="http://x3fang.github.io/search" title="🔎搜索">
<span>🔎搜索</span>
</a>
</li>
<li>
<a href="http://x3fang.github.io/" title="🖼️主页">
<span class="active">🖼️主页</span>
</a>
</li>
<li>
<a href="http://x3fang.github.io/tags/" title="🎫标签">
<span>🎫标签</span>
</a>
</li>
<li>
<a href="http://x3fang.github.io/archives" title="⌚时间轴">
<span>⌚时间轴</span>
</a>
</li>
<li>
<a href="http://x3fang.github.io/links" title="🤙友链">
<span>🤙友链</span>
</a>
</li>
<li>
<a href="http://x3fang.github.io/gy" title="🙋🏻关于我">
<span>🙋🏻关于我</span>
</a>
</li>
</ul>
</nav>
</header>
<main class="main"><div class="profile">
<div class="profile_inner">
<img draggable="false" src="https://x3fang.github.io/img/Q.png" alt="profile image" title=""
height="150" width="150" />
<h1>(〃‘▽’〃)</h1>
<span>🧨学而时习之,不亦说乎?有朋自远方来,不亦乐乎?<br/>👏🏼欢迎光临x3fang的博客<br/></span><div class="social-icons">
<a href="https://github.com/x3fang" target="_blank" rel="noopener noreferrer me" title="Github主页">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"
stroke-linecap="round" stroke-linejoin="round">
<path d="M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71"></path>
<path d="M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71"></path>
</svg>
</a>
<a href="img/qq.png" target="_blank" rel="noopener noreferrer me" title="QQ">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"
stroke-linecap="round" stroke-linejoin="round">
<path transform="scale(0.04) translate(75 40)" stroke-width="50"
d="M433.754 420.445c-11.526 1.393-44.86-52.741-44.86-52.741 0 31.345-16.136 72.247-51.051 101.786 16.842 5.192 54.843 19.167 45.803 34.421-7.316 12.343-125.51 7.881-159.632 4.037-34.122 3.844-152.316 8.306-159.632-4.037-9.045-15.25 28.918-29.214 45.783-34.415-34.92-29.539-51.059-70.445-51.059-101.792 0 0-33.334 54.134-44.859 52.741-5.37-.65-12.424-29.644 9.347-99.704 10.261-33.024 21.995-60.478 40.144-105.779C60.683 98.063 108.982.006 224 0c113.737.006 163.156 96.133 160.264 214.963 18.118 45.223 29.912 72.85 40.144 105.778 21.768 70.06 14.716 99.053 9.346 99.704z">
</path>
</svg>
</a>
<a href="mailto:[email protected]" target="_blank" rel="noopener noreferrer me" title="邮件">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"
stroke-linecap="round" stroke-linejoin="round">
<path d="M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71"></path>
<path d="M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71"></path>
</svg>
</a>
<a href="index.xml" target="_blank" rel="noopener noreferrer me" title="网页源代码">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"
stroke-linecap="round" stroke-linejoin="round">
<path d="M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71"></path>
<path d="M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71"></path>
</svg>
</a>
</div>
<div class="buttons">
<a class="button" href="posts/tech" rel="noopener" title="👨🏻💻技术">
<span class="button-inner">
👨🏻💻技术
</span>
</a>
<a class="button" href="posts/read" rel="noopener" title="📕阅读">
<span class="button-inner">
📕阅读
</span>
</a>
<a class="button" href="posts/life" rel="noopener" title="🏖生活">
<span class="button-inner">
🏖生活
</span>
</a>
<a class="button" href="posts/games" rel="noopener" title="🎮游戏">
<span class="button-inner">
🎮游戏
</span>
</a>
<a class="button" href="posts/lnet" rel="noopener" title="🧿建站">
<span class="button-inner">
🧿建站
</span>
</a>
<a class="button" href="lt" rel="noopener" title="🤿论坛">
<span class="button-inner">
🤿论坛
</span>
</a>
</div>
</div>
</div>
</main>
<footer class="footer">
<span id="busuanzi_container_site_uv">
本站访客数<span id="busuanzi_value_page_uv"><i class="fa fa-spinner fa-spin"></i></span> 人次
</span>
</br>
<span>© 2023 <a href="http://x3fang.github.io/">x3fang的博客</a></span>
<span>
Powered by
<a href="https://gohugo.io/" rel="noopener noreferrer" target="_blank">Hugo</a> &
<a href="https://github.com/adityatelange/hugo-PaperMod/" rel="noopener" target="_blank">PaperMod</a>
</span>
</footer>
<a href="#top" aria-label="go to top" title="Go to Top (Alt + G)" class="top-link" id="top-link" accesskey="g">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 12 6" fill="currentColor">
<path d="M12 6H0l6-6z" />
</svg>
</a>
<script>
let menu = document.getElementById('menu')
if (menu) {
menu.scrollLeft = localStorage.getItem("menu-scroll-position");
menu.onscroll = function () {
localStorage.setItem("menu-scroll-position", menu.scrollLeft);
}
}
document.querySelectorAll('a[href^="#"]').forEach(anchor => {
anchor.addEventListener("click", function (e) {
e.preventDefault();
var id = this.getAttribute("href").substr(1);
if (!window.matchMedia('(prefers-reduced-motion: reduce)').matches) {
document.querySelector(`[id='${decodeURIComponent(id)}']`).scrollIntoView({
behavior: "smooth"
});
} else {
document.querySelector(`[id='${decodeURIComponent(id)}']`).scrollIntoView();
}
if (id === "top") {
history.replaceState(null, null, " ");
} else {
history.pushState(null, null, `#${id}`);
}
});
});
</script>
<script>
var mybutton = document.getElementById("top-link");
window.onscroll = function () {
if (document.body.scrollTop > 800 || document.documentElement.scrollTop > 800) {
mybutton.style.visibility = "visible";
mybutton.style.opacity = "1";
} else {
mybutton.style.visibility = "hidden";
mybutton.style.opacity = "0";
}
};
</script>
<script>
document.getElementById("theme-toggle").addEventListener("click", () => {
if (document.body.className.includes("dark")) {
document.body.classList.remove('dark');
localStorage.setItem("pref-theme", 'light');
} else {
document.body.classList.add('dark');
localStorage.setItem("pref-theme", 'dark');
}
})
</script>
</body>
</html>