-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
406 lines (331 loc) · 13.7 KB
/
Copy pathindex.html
File metadata and controls
406 lines (331 loc) · 13.7 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
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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>书生 | 子白</title>
<link rel="icon" type="image/x-icon" href="favicon.ico" />
<link rel="alternative" href="atom.xml" type="application/atom+xml">
<link rel="stylesheet" href="css/style.css">
<link rel="stylesheet" href="font-awesome/css/font-awesome.min.css">
<link rel="apple-touch-icon" href="touxiang.png">
<link rel="stylesheet" href="fancybox/jquery.fancybox.css">
<!-- 加载特效 -->
<script src="js/pace.js"></script>
<link href="css/pace/pace-theme-flash.css" rel="stylesheet" />
</head>
<body>
<div id="container">
<!--左半部分-->
<div class="left-col">
<div class="overlay"></div>
<div class="intrude-less">
<header id="header" class="inner">
<a href="#" class="profilepic">
<img src="img/head.jpg" class="js-avatar">
</a>
<hgroup>
<h1 class="header-author"><a href="#">书生 子白</a></h1>
</hgroup>
<form>
<input type="text" class="st-default-search-input search" id="local-search-input" placeholder="戳我搜索一下嗷"
autocomplete="off">
</form>
<div id="local-search-result"></div>
<script type="text/javascript">
(function() {'use strict';function getMatchData(keyword, data)
{var matchData = [];for (var i = 0; i < data.length; i++){if(data[i].title.toLowerCase().indexOf(keyword)>=0)matchData.push(data[i])}return matchData;}
var $input = $('#local-search-input');var $resultContent = $('#local-search-result');$input.keyup(function() {$.ajax({url: '/search.json',dataType: "json",success: function(json)
{var str = '<ul class=\"search-result-list\">';var keyword = $input.val().trim().toLowerCase();$resultContent.innerHTML = "";if ($input.val().trim().length <= 0) {$resultContent.empty();$('#switch-area').show();return;}var results = getMatchData(keyword, json);
if (results.length === 0) {$resultContent.empty();$('#switch-area').show();return;}for (var i = 0; i < results.length; i++) {str += "<li><a href='" + results[i].url + "' class='search-result-title'>" + results[i].title +"</a></li>";}str += "</ul>";$resultContent.empty();$resultContent.append(str);$('#switch-area').hide();}
});
});
})();
</script>
<div id="switch-area" class="switch-area">
<div class="switch-wrap">
<section class="switch-part switch-part1">
<nav class="header-menu">
<ul>
<li>
<div id="binft"></div>
<script>
var binft = function(r) {
function t() {
return b[Math.floor(Math.random() * b.length)]
}
function e() {
return String.fromCharCode(94 * Math.random() + 33)
}
function n(r) {
for (var n = document.createDocumentFragment(), i = 0; r > i; i++) {
var l = document.createElement("span");
l.textContent = e(), l.style.color = t(), n.appendChild(l)
}
return n
}
function i() {
var t = o[c.skillI];
c.step ? c.step-- : (c.step = g, c.prefixP < l.length ? (c.prefixP >= 0 && (c.text += l[c.prefixP]), c.prefixP++) :
"forward" === c.direction ? c.skillP < t.length ? (c.text += t[c.skillP], c.skillP++) : c.delay ? c.delay--
: (c.direction = "backward", c.delay = a) : c.skillP > 0 ? (c.text = c.text.slice(0, -1), c.skillP--) :
(c.skillI = (c.skillI + 1) % o.length, c.direction = "forward")), r.textContent = c.text, r.appendChild(
n(c.prefixP < l.length ? Math.min(s, s + c.prefixP) : Math.min(s, t.length - c.skillP))), setTimeout(
i, d)}var l = "",o = ["青青陵上柏,磊磊涧中石。", "人生天地间,忽如远行客。", "斗酒相娱乐,聊厚不为薄。", "驱车策驽马,游戏宛与洛。", "洛中何郁郁,冠带自相索。", "长衢罗夹巷,王侯多第宅。",
"两宫遥相望,双阙百余尺。", "极宴娱心意,戚戚何所迫?"].map(function(r) {return r + ""
}),
a = 2,
g = 1,
s = 5,
d = 75,
b = ["rgb(110,64,170)", "rgb(150,61,179)", "rgb(191,60,175)", "rgb(228,65,157)", "rgb(254,75,131)",
"rgb(255,94,99)", "rgb(255,120,71)", "rgb(251,150,51)", "rgb(226,183,47)", "rgb(198,214,60)",
"rgb(175,240,91)", "rgb(127,246,88)", "rgb(82,246,103)", "rgb(48,239,130)", "rgb(29,223,163)",
"rgb(26,199,194)", "rgb(35,171,216)", "rgb(54,140,225)", "rgb(76,110,219)", "rgb(96,84,200)"
],
c = {
text: "",
prefixP: -s,
skillI: 0,
skillP: 0,
direction: "forward",
delay: a,
step: g
};
i()
};
binft(document.getElementById('binft'));
</script>
</li>
<li><a href="./Blog/Home.html">博客首页</a></li>
<li><a href="./game/Game.html">游戏中心</a></li>
<li><a href="https://space.bilibili.com/" target="_blank" rel="noopener">哔哩哔哩</a></li>
</ul>
</nav>
<nav class="header-nav">
<ul class="social">
<a class="fl mail" target="_blank" href="http://mail.qq.com/cgi-bin/qm_share?t=qm_mailme&email=Z1ZeV1FQV1FWUicWFkkECAo"
title="mail">mail</a>
<a class="fl github" target="_blank" href="https://github.com/YY6896098ss" title="github">github</a>
<a class="fl zhihu" target="_blank" href="https://www.zhihu.com/people/yan-xiao-qi-43-1"
title="zhihu">zhihu</a>
<a class="fl weibo" target="_blank" href="https://weibo.com/u/7444569101" title="weibo">weibo</a>
<a class="fl rss" target="_blank" href="#" title="rss">rss</a>
</ul>
</nav>
</section>
</div>
</div>
</header>
</div>
<!--视频链接-->
<div style="position: absolute;bottom:0px;left:20px;width:40px">
<iframe frameborder="no" border="0" marginwidth="0" marginheight="10" width=260 height=110 src="http://music.163.com/outchain/player?type=2&id=1455965526&auto=1&height=66"></iframe>
</div>
</div>
<!--右半部分-->
<div class="mid-col">
<div class="body-wrap">
<!--上面部分小游戏-->
<section class="archives-wrap game-sidebar">
<div class="archive-year-wrap">
<a href="game/Game.html" class="archive-year game-archive-year">小游戏</a>
</div>
<div class="archives">
<article class="archive-article archive-type-post">
<div class="archive-article-inner">
<header class="archive-article-header">
<h1 itemprop="name">
<a class="archive-article-title" href="game/Catch-A-Mole.html">地鼠锤锤锤</a>
</h1>
<div class="article-info info-on-archive">
<div class="article-tag tagcloud">
<ul class="article-tag-list" itemprop="keywords">
<li class="article-tag-list-item"><a class="article-tag-list-link" href="game/Game.html"
rel="tag">反应</a></li>
</ul>
</div>
</div>
<div class="clearfix"></div>
</header>
</div>
</article>
<article class="archive-article archive-type-post">
<div class="archive-article-inner">
<header class="archive-article-header">
<h1 itemprop="name">
<a class="archive-article-title" href="game/Pokemon.html">精灵对战</a>
</h1>
<div class="article-info info-on-archive">
<div class="article-tag tagcloud">
<ul class="article-tag-list" itemprop="keywords">
<li class="article-tag-list-item"><a class="article-tag-list-link" href="game/Game.html"
rel="tag">策略</a></li>
</ul>
</div>
</div>
<div class="clearfix"></div>
</header>
</div>
</article>
<article class="archive-article archive-type-post">
<div class="archive-article-inner">
<header class="archive-article-header">
<h1 itemprop="name">
<a class="archive-article-title" href="game/2048.html">2048小游戏</a>
</h1>
<div class="article-info info-on-archive">
<div class="article-tag tagcloud">
<ul class="article-tag-list" itemprop="keywords">
<li class="article-tag-list-item"><a class="article-tag-list-link" href="game/Game.html"
rel="tag">益智</a></li>
</ul>
</div>
</div>
<div class="clearfix"></div>
</header>
</div>
</article>
<article class="archive-article archive-type-post">
<div class="archive-article-inner">
<header class="archive-article-header">
<h1 itemprop="name">
<a class="archive-article-title" href="game/扑克记忆消/index.html">扑克记忆消</a>
</h1>
<div class="article-info info-on-archive">
<div class="article-tag tagcloud">
<ul class="article-tag-list" itemprop="keywords">
<li class="article-tag-list-item"><a class="article-tag-list-link" href="game/Game.html"
rel="tag">记忆</a></li>
</ul>
</div>
</div>
<div class="clearfix"></div>
</header>
</div>
</article>
</div>
</section>
</div>
<footer id="footer">
<div class="outer">
<div id="footer-info">
<div class="footer-left">
© Ysevan
</div>
<div class="footer-right">
<a href="#" target="_blank">Ysevan</a> Theme <a href="#" target="_blank">Ysevan</a>
by YanYiWei
</div>
</div>
<div class="visit">
<span id="busuanzi_container_site_pv" style='display:none'>
<span id="site-visit">海贼到访数:
<span id="busuanzi_value_site_uv"></span>
</span>
</span>
<span>, </span>
<span id="busuanzi_container_page_pv" style='display:none'>
<span id="page-visit">本页阅读量:
<span id="busuanzi_value_page_pv"></span>
</span>
</span>
</div>
</div>
</footer>
</div>
<script src="./js/main.js"></script>
<!--背景-->>
<script>
$(document).ready(function() {
var backgroundnum = 3;
var backgroundimg = "url(background/bg-x.jpg)".replace(/x/gi, Math.ceil(Math.random() *
backgroundnum));
$("#mobile-nav").css({
"background-image": backgroundimg,
"background-size": "cover",
"background-position": "center"
});
$(".left-col").css({
"background-image": backgroundimg,
"background-size": "cover",
"background-position": "center"
});
})
</script>
<!--具有滚动功能的区域-->>
<div class="scroll" id="scroll">
<a href="#"><i class="fa fa-arrow-up"></i></a> <!--链接的目标位置是当前页面的顶部-->>
<a href="#comments"><i class="fa fa-comments-o"></i></a> <!--链接的目标位置是具有comments的ID的元素,通常是页面上的评论区域-->>
<a href="#footer"><i class="fa fa-arrow-down"></i></a> <!--页面的底部-->>
</div>
<!--文档加载完成后检查是否存在具有commentsID的元素。如果不存在,它将隐藏id为scroll的元素下的第二个子元素<a>,这样就隐藏了链接到评论区域的部分。-->>
<script>
$(document).ready(function() {
if ($("#comments").length < 1) {
$("#scroll > a:nth-child(2)").hide();
};
})
</script>
<button class="hide-labels">TAG 开关</button>
<!--为所有的按钮元素添加了一个点击事件处理程序-->>
<script>
$(document).ready(function() {
$("button").click(function() {
$(".article-info").toggle(200);
});
});
</script>
<script async src="https://dn-lbstatics.qbox.me/busuanzi/2.3/busuanzi.pure.mini.js">
</script>
<script language="javascript">
$(function() {
$("a[title]").each(function() {
var a = $(this);
var title = a.attr('title');
if (title == undefined || title == "") return;
a.data('title', title).removeAttr('title').hover(
function() {
var offset = a.offset();
$("<div id=\"anchortitlecontainer\"></div>").appendTo($("body")).html(title).css({
top: offset.top - a.outerHeight() - 15,
left: offset.left + a.outerWidth() / 2 + 1
}).fadeIn(function() {
var pop = $(this);
setTimeout(function() {
pop.remove();
}, pop.text().length * 800);
});
},
function() {
$("#anchortitlecontainer").remove();
});
});
});
</script>
<script type="text/javascript">
window.onload = function() {
document.getElementById("search").onclick = function() {
console.log("search")
search();
}
}
function search() {
(function(w, d, t, u, n, s, e) {
w['SwiftypeObject'] = n;
w[n] = w[n] || function() {
(w[n].q = w[n].q || []).push(arguments);
};
s = d.createElement(t);
e = d.getElementsByTagName(t)[0];
s.async = 1;
s.src = u;
e.parentNode.insertBefore(s, e);
})(window, document, 'script', '//s.swiftypecdn.com/install/v2/st.js', '_st');
_st('install', 'A1Pz-LKMXbrzcFg2FWi6', '2.0.0');
}
</script>
</div>
</body>
<!-- 页面点击小红心 -->
<script type="text/javascript" src="./js/love.js"></script>
</html>