-
Notifications
You must be signed in to change notification settings - Fork 0
/
404.html
601 lines (461 loc) · 17.8 KB
/
404.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
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="UTF-8">
<link rel="apple-touch-icon" sizes="76x76" href="/img/icon/titleIcon.png">
<link rel="icon" type="image/png" href="/img/icon/titleIcon.png">
<meta name="viewport"
content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no, shrink-to-fit=no">
<meta http-equiv="x-ua-compatible" content="ie=edge">
<meta name="author" content="Coumarin">
<meta name="description" content="Coumarin">
<meta http-equiv="Cache-Control" content="no-transform" />
<meta http-equiv="Cache-Control" content="no-siteapp" />
<title>页面走丢啦~ ~ Coumarin</title>
<link rel="stylesheet" href="https://cdn.staticfile.org/font-awesome/5.10.0/css/all.min.css" >
<link rel="stylesheet" href="https://cdn.staticfile.org/twitter-bootstrap/4.3.1/css/bootstrap.min.css" >
<link rel="stylesheet" href="https://cdn.staticfile.org/mdbootstrap/4.8.7/css/mdb.min.css" >
<link rel="stylesheet" href="https://cdn.staticfile.org/github-markdown-css/3.0.1/github-markdown.min.css" >
<link rel="stylesheet" href="//at.alicdn.com/t/font_1067060_qzomjdt8bmp.css">
<link rel="stylesheet" href="/lib/prettify/tomorrow-night-eighties.min.css" >
<link rel="stylesheet" href="https://cdn.staticfile.org/fancybox/3.5.7/jquery.fancybox.min.css" >
<link rel="stylesheet" href="/css/main.css" >
<script src="https://cdn.staticfile.org/jquery/3.4.1/jquery.min.js" ></script>
<style type="text/css">
.banner-bg {
background-position: center;
background-repeat: repeat-y;
background-size: cover;
background-attachment: fixed;
}
</style>
<meta name="generator" content="Hexo 4.2.1"></head>
<body class="banner-bg">
<header style="height: 80vh;">
<nav id="navbar" class="navbar fixed-top navbar-expand-lg navbar-dark scrolling-navbar">
<div class="container">
<a class="navbar-brand"
href="/"> <strong>Coumarin</strong> </a>
<button id="navbar-toggler-btn" class="navbar-toggler" type="button" data-toggle="collapse"
data-target="#navbarSupportedContent"
aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
<div class="animated-icon"><span></span><span></span><span></span></div>
</button>
<!-- Collapsible content -->
<div class="collapse navbar-collapse" id="navbarSupportedContent">
<ul class="navbar-nav ml-auto text-center">
<li class="nav-item">
<a class="nav-link" href="/">首页</a>
</li>
<li class="nav-item">
<a class="nav-link" href="/archives/">归档</a>
</li>
<li class="nav-item">
<a class="nav-link" href="/categories/">分类</a>
</li>
<li class="nav-item">
<a class="nav-link" href="/tags/">标签</a>
</li>
<li class="nav-item">
<a class="nav-link" href="/links/">友链</a>
</li>
<li class="nav-item">
<a class="nav-link" href="/about/">关于</a>
</li>
<li class="nav-item" id="search-btn">
<a class="nav-link" data-toggle="modal" data-target="#modalSearch"> <i
class="iconfont icon-search"></i> </a>
</li>
</ul>
</div>
</div>
</nav>
<div class="view intro-2 rgba-black-slight" id="background">
<div class="full-bg-img">
<div class="mask flex-center">
<div class="container text-center white-text fadeInUp">
<span class="h2" id="subtitle">
</span>
</div>
</div>
</div>
</div>
</header>
<main id="mainContent" class="rgba-black-slight">
<script type="text/javascript">
function redirect() {
location.href = "/";
}
/* setTimeout(redirect, 3000) */
$(document).ready(function(){
$(".footer-hitokoto").hide();
$(".footer-siteview").hide();
$(".footer-beian").hide();
$('#background').removeClass("rgba-black-slight");
$('#mainContent').removeClass("rgba-black-slight");
$('#footerContent').removeClass("rgba-black-slight");
});
</script>
</main>
<div id="sidebar" class="sidebar-hide">
<span class="sidebar-button sidebar-button-shift" id="toggle-sidebar" >
<i class="fa fa-arrow-right on" aria-hidden="true"></i>
</span>
<div class="sidebar-overlay"></div>
<div class="sidebar-intrude">
<div class="sidebar-avatar">
<img src="/img/icon/Icon.png" srcset="/img/icon/Icon.png" alt="avatar"/>
</div>
<div class="text-center sidebar-about">
<p class="h3 sidebar-author">Coumarin</p>
<p class="sidebar-subtitle">Coumarin</p>
<a href="https://github.com/Quejiahao" class="h4" target="_blank">
<i class="fab fa-github" aria-hidden="true"></i>
</a>
<a href="mailto:i@kumarino.com" class="h4" target="_blank">
<i class="fas fa-envelope" aria-hidden="true"></i>
</a>
</div>
<div class="sidebar-friend">
<p class="h6 sidebar-friend-title">
<span class="sidebar-label-left"><i class="fas fa-user-friends"></i></span>
<span class="sidebar-label">友情链接</span>
</p>
<ul class="list-group">
<a href="https://www.hellosirui.com/" target="_blank">
<li class="list-group-item">
<i class="fas fa-quote-left"></i>
HelloSirui
</li>
</a>
<a href="https://tripedal-crow.github.io/" target="_blank">
<li class="list-group-item">
<i class="fas fa-quote-left"></i>
BlackSun
</li>
</a>
</ul>
</div>
</div>
</div>
<a class="z-depth-1" id="scroll-top-button" href="#" role="button">
<i class="fa fa-chevron-up scroll-top-arrow" aria-hidden="true"></i>
</a>
<div class="modal fade" id="modalSearch" tabindex="-1" role="dialog" aria-labelledby="ModalLabel"
aria-hidden="true">
<div class="modal-dialog modal-dialog-scrollable modal-lg" role="document">
<div class="modal-content">
<div class="modal-header text-center">
<h4 class="modal-title w-100 font-weight-bold">搜索</h4>
<button type="button" id="local-search-close" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
</div>
<div class="modal-body mx-3">
<div class="md-form mb-5">
<input type="text" id="local-search-input" class="form-control validate">
<label data-error="x" data-success="v"
for="local-search-input">关键词</label>
</div>
<div class="list-group" id="local-search-result"></div>
</div>
</div>
</div>
</div>
<div id="footerContent" class="rgba-black-slight">
<footer class="pt-5">
<div class="text-center py-3">
<div class="footer-theme">
<a href="https://hexo.io" target="_blank" rel="nofollow noopener noreferrer">Hexo</a> theme <a href="https://github.com/fluid-dev/hexo-theme-fluid" target="_blank" rel="nofollow noopener noreferrer">Fluid</a> mod by <a href="https://github.com/qixa/hexo-theme-fluid-mod" target="_blank" rel="nofollow noopener noreferrer">Julydate</a>
</div>
<div class="footer-copyright">
©2020 Coumarin
<i class="iconfont icon-love"></i>
<span>萌萌哒 <span id="runtime"></span> 天啦</span>
</div>
<!-- 一言 -->
<div class="footer-hitokoto">
<a id="hitokotoa" href="#" target="_blank" rel="nofollow noopener noreferrer">
<span id="hitokoto"></span>
</a>
</div>
</div>
</footer>
</div>
<!-- SCRIPTS -->
<script src="/lib/popper/popper.min.js" ></script>
<script src="https://cdn.staticfile.org/twitter-bootstrap/4.3.1/js/bootstrap.min.js" ></script>
<script src="https://cdn.staticfile.org/mdbootstrap/4.8.7/js/mdb.min.js" ></script>
<script src="/js/main.js" ></script>
<script src="/js/lazyload.js" ></script>
<!-- Plugins -->
<script src="/lib/prettify/prettify.min.js" ></script>
<script type="text/javascript">
$(document).ready(function () {
$('pre').addClass('prettyprint linenums');
prettyPrint();
})
</script>
<script src="https://cdn.staticfile.org/typed.js/2.0.9/typed.min.js" ></script>
<script type="text/javascript">
var typed = new Typed('#subtitle', {
strings: [
' ',
"Page not found ",
],
cursorChar: "_",
typeSpeed: 70,
loop: false,
});
typed.stop();
$(document).ready(function () {
$(".typed-cursor").addClass("h2");
typed.start();
});
</script>
<script src="https://cdn.staticfile.org/anchor-js/4.2.0/anchor.min.js" ></script>
<script type="text/javascript">
anchors.options = {
placement: "right",
visible: "hover",
};
var el = "h1,h2,h3,h4,h5,h6".split(",");
var res = [];
for (item of el) {
res.push(".markdown-body > " + item)
}
anchors.add(res.join(", "))
</script>
<script src="/js/local-search.js" ></script>
<script type="text/javascript">
var path = "/local-search.xml";
var inputArea = document.querySelector("#local-search-input");
inputArea.onclick = function () {
getSearchFile(path);
this.onclick = null
}
</script>
<script src="https://cdn.jsdelivr.net/npm/smoothscroll-for-websites@1.4.10/SmoothScroll.min.js" ></script>
<style type="text/css">
html, body{
scroll-behavior: smooth;
}
@media screen and (prefers-reduced-motion: reduce){
html, body{
scroll-behavior: auto;
}
}
</style>
<!-- 随机背景 -->
<script src="https://cdn.staticfile.org/danielgindi-jquery-backstretch/2.1.15/jquery.backstretch.min.js" ></script>
<!-- 本地随机背景 -->
<script type="text/javascript">
!function(){
var random_bg_string = "https://img.xjh.me/desktop/bg/acg/64082849_p0.jpg,https://img.xjh.me/desktop/bg/acg/63946708_p0.jpg,https://img.xjh.me/desktop/bg/acg/59756207_p0.jpg,https://img.xjh.me/desktop/bg/acg/63374320_p0.jpg,https://img.xjh.me/desktop/bg/nature/59190594_p0.jpg,https://img.xjh.me/desktop/bg/acg/63093148_p0.jpg,https://img.xjh.me/desktop/bg/acg/62494753_p0.jpg,https://img.xjh.me/desktop/bg/acg/61749296_p0.jpg,";
/* 去除图片链接组末尾逗号并转换为数组 */
random_bg_string = random_bg_string.substring(0,random_bg_string.length-1);
var random_bg_array = random_bg_string.split(",");
/* 首张图片随机 */
var n = Math.floor(Math.random() * random_bg_array.length);
$(".banner-bg").backstretch(
random_bg_array,
{
duration: 20 * 1000,
fade: 2 * 1000,
start: n,
animateFirst: false
}
);
}();
</script>
<script type="text/javascript">
/*一言API*/
$(document).ready(function(){
getHitokoto();
});
function hitokoto(e) {
$("#hitokoto").stop().fadeOut(function() {
$("#hitokoto").html(e.hitokoto);
var element = document.getElementById('hitokotoa');
element.href = "https://hitokoto.cn/?uuid=" + e.uuid;
$("#hitokoto").stop().fadeIn()
})
};
function getHitokoto() {
var e = ["a", "b", "c", "d", "e", "i"];
fetch('https://v1.hitokoto.cn/?encode=json&charset=utf-8&c=' + e[Math.floor(Math.random() * e.length)],{
cache: 'no-cache',
method: 'GET',
mode: 'cors'
}).then(
response => response.json()
).then(
data => {
hitokoto(data)
setTimeout(getHitokoto, 1e4)
}
).catch(
console.error
)
};
</script>
<script async src="//cdn.jsdelivr.net/npm/busuanzi@2.3.0/bsz.pure.mini.js" ></script>
<script type="text/javascript">
//定义获取词语下标
var a_idx = 0;
jQuery(document).ready(function ($) {
//点击body时触发事件
$("body").click(function (e) {
//需要显示的词语
var a = new Array("富强", "民主", "文明", "和谐", "自由", "平等", "公正", "法治", "爱国", "敬业", "诚信", "友善");
//设置词语给span标签
var $i = $("<span/>").text(a[a_idx]);
//下标等于原来下标+1 余 词语总数
a_idx = (a_idx + 1) % a.length;
//获取鼠标指针的位置,分别相对于文档的左和右边缘。
//获取x和y的指针坐标
var x = e.pageX, y = e.pageY;
//在鼠标的指针的位置给$i定义的span标签添加css样式
$i.css({
"z-index": 999,
"top": y - 20,
"left": x,
"position": "absolute",
"font-weight": "bold",
"color": rand_color()
});
// 随机颜色
function rand_color() {
return "rgb(" + ~~(255 * Math.random()) + "," + ~~(255 * Math.random()) + "," + ~~(255 * Math.random()) + ")"
}
//在body添加这个标签
$("body").append($i);
//animate() 方法执行 CSS 属性集的自定义动画。
//该方法通过CSS样式将元素从一个状态改变为另一个状态。CSS属性值是逐渐改变的,这样就可以创建动画效果。
//详情请看http://www.w3school.com.cn/jquery/effect_animate.asp
$i.animate({
//将原来的位置向上移动180
"top": y - 180,
"opacity": 0
//1500动画的速度
}, 1500, function () {
//时间到了自动删除
$i.remove();
});
});
})
;
</script>
<!-- Functions -->
<script type="text/javascript">
/* 切换背景 */
$("#background").removeClass("banner-bg");
$("body").addClass("banner-bg");
var postToTopHight = $("#board").offset().top;
$(window).scroll(function () {
var bgDisplay = false;
var scrollHeight = document.body.scrollTop + document.documentElement.scrollTop;
bgDisplay = scrollHeight >= postToTopHight;
if(bgDisplay) {
$('#background').removeClass("rgba-black-slight");
$('#mainContent').removeClass("rgba-black-slight");
$('#footerContent').removeClass("rgba-black-slight");
} else {
$('#background').addClass("rgba-black-slight");
$('#mainContent').addClass("rgba-black-slight");
$('#footerContent').addClass("rgba-black-slight");
}
});
</script>
<script type="text/javascript">
/*显示博客运行时间*/
var blogRunTime = function () {
var runTime = document.getElementById("runtime");
var runtimeDate = "2020,02,20";
var createDate = new Date(runtimeDate);
var nowDate = new Date();
var dateLine = nowDate.getTime() - createDate.getTime();
var runDate = Math.floor(dateLine / (1000 * 60 * 60 * 24));
runTime.innerHTML = runDate;
};
$(document).ready(function(){
blogRunTime();
});
</script>
<script type="text/javascript">
/*窗口监视*/
var originalTitle = document.title;
window.onblur = function(){document.title = "你不爱我了 QAQ"};
window.onfocus = function(){document.title = originalTitle};
</script>
<script type="text/javascript">
/* 雪花效果 */
console.log('雪花效果 code by kvv.me');
~function () {
function t() {
e.width = window.innerWidth,
e.height = window.innerHeight,
o = Math.round(window.innerWidth * window.innerHeight / 1e4)
}
function n() {
var t = window.innerWidth
, d = window.innerHeight
, c = e.getContext("2d");
c.clearRect(0, 0, t, d),
c.fillStyle = "rgba(255, 255, 255, 0.7)",
c.beginPath(),
a += .01;
for (var u = 0; o > u; u++) {
var l = r[u];
if (!l) {
continue
}
;c.moveTo(l.x, l.y),
c.arc(l.x, l.y, l.radius, 0, 2 * Math.PI, !0),
l.y += Math.cos(a) + l.radius / 2,
l.x += Math.sin(a * l.direction),
(l.x > t + 5 || -5 > l.x || l.y > d) && (u % 3 > 0 ? (r[u].x = Math.random() * t,
r[u].y = -10) : Math.sin(a * l.direction) > 0 ? (r[u].x = -5,
r[u].y = Math.random() * d) : (r[u].x = t + 5,
r[u].y = Math.random() * d))
}
c.fill(),
i(n)
}
var e = document.createElement("canvas")
, i = requestAnimationFrame || msRequestAnimationFrame || function(t) {
setTimeout(t, 16)
}
, a = 0
, o = 0
, r = [];
t(),
e.className = "snow",
document.body.appendChild(e);
for (var d = 0; o > d; d++)
r.push({
x: Math.random() * window.innerWidth,
y: Math.random() * window.innerHeight,
radius: 4 * Math.random() + 1,
direction: 2 * Math.random() - .5
});
addEventListener("resize", t),
i(n)
}();
</script>
<!-- 腾讯统计 -->
<script>
var _mtac = {};
(function() {
var mta = document.createElement("script");
mta.src = "//pingjs.qq.com/h5/stats.js?v2.0.4";
mta.setAttribute("name", "MTAH5");
mta.setAttribute("sid", "500711567");
var s = document.getElementsByTagName("script")[0];
s.parentNode.insertBefore(mta, s);
})();
</script>
</body>
</html>