-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
619 lines (447 loc) · 19.3 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
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
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
<!DOCTYPE html>
<html>
<head>
<!-- 这一部分是所有页面都要加载的 -->
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="chrome=1">
<title>
whbing
</title>
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
<meta name="author" content="whbing">
<meta name="description" content="王洪兵的个人网站">
<meta name="description" content="王洪兵的个人网站">
<meta property="og:type" content="website">
<meta property="og:title" content="whbing">
<meta property="og:url" content="https://whbing.github.io/index.html">
<meta property="og:site_name" content="whbing">
<meta property="og:description" content="王洪兵的个人网站">
<meta property="og:locale" content="zh-CN">
<meta name="twitter:card" content="summary">
<meta name="twitter:title" content="whbing">
<meta name="twitter:description" content="王洪兵的个人网站">
<link rel="icon" type="image/x-icon" href="/favicon.png">
<link rel="stylesheet" href="/css/bootstrap.min.css"><!--仅仅是为了打印的时候有爱心图标-->
<link rel="stylesheet" href="/css/animate.css">
<link rel="stylesheet" href="/css/uno.css">
<link rel="stylesheet" href="/css/archive.css">
<link rel="stylesheet" href="/css/font-awesome.min.css">
<link rel="stylesheet" href="/css/addfun.css">
<!--move the file to pre-->
<script src="/js/jquery.min.js"></script>
<!--myadd-->
<script src="/js/typed.min.js"></script>
</head>
<body>
<!--PC-->
<div id="pc">
<!-- 这里单独引用side-pannel模块,里面是一个header标签 -->
<!--该文件仅包含header部分,包括背景图、遮罩层、目录等-->
<header class="panel-cover">
<div class="panel-main">
<div class="panel-main__inner panel-inverted">
<div class="panel-main__content">
<!-- -----------------start首页布局----------------------- -->
<!-- 加入动态文字-->
<script>
$(function(){
//获取浏览器宽度
var _width = $(window).width();
if(_width < 768){
var $mobile_string=$("#mobile-typed-strings").html();
$("#typed-strings").html($mobile_string);
}
});
$(function(){
$("#typed").typed({
// strings: ["Typed.js is a <strong>jQuery</strong> plugin.", "It <em>types</em> out sentences.", "And then deletes them.", "Try it out!"],
stringsElement: $('#typed-strings'),
typeSpeed: 30,
backDelay: 500,
loop: true,
contentType: 'html', // or text
// defaults to false for infinite loop
loopCount: false,
showCursor: true,
// character for cursor
cursorChar: "<span class='fa fa-heart' style='color: red'></span>",
callback: function(){ foo(); },
resetCallback: function() { newTyped(); }
});
$(".reset").click(function(){
$("#typed").typed('reset');
});
});
function newTyped(){ /* A new typed object */ }
function foo(){ console.log("Callback"); }
</script>
<style>
/* code for animated blinking cursor */
.typed-cursor{
opacity: 1;
font-weight: 100;
-webkit-animation: blink 0.7s infinite;
-moz-animation: blink 0.7s infinite;
-ms-animation: blink 0.7s infinite;
-o-animation: blink 0.7s infinite;
animation: blink 0.7s infinite;
}
@keyframes blink{
0% { opacity:1; }
50% { opacity:0; }
100% { opacity:1; }
}
@-webkit-keyframes blink{
0% { opacity:1; }
50% { opacity:0; }
100% { opacity:1; }
}
@-moz-keyframes blink{
0% { opacity:1; }
50% { opacity:0; }
100% { opacity:1; }
}
@-ms-keyframes blink{
0% { opacity:1; }
50% { opacity:0; }
100% { opacity:1; }
}
@-o-keyframes blink{
0% { opacity:1; }
50% { opacity:0; }
100% { opacity:1; }
}
</style>
<div class="inner">
<!--这是打印的地方-->
<div id="typed-strings" style="display: none;"><!--这个仅仅是要打印的内容-->
<p>Who can block you , ^500 others or yourself ?^2000</p>
<p>if you know where to go ,^500 the whole world will give way to you.^4000</p>
</div>
<div id="mobile-typed-strings" style="display: none;"><!--这个仅仅是要打印的内容-->
<p>Who can block you , ^500 others or yourself ?^2000</p>
<p>if you know where to go ,<br>^500 the whole world will give way to you.^4000</p>
</div>
<div class="sub-heading">
<span id="typed" style="white-space:pre"></span>
</div>
</div>
<!--end inner-->
<div class="wow zoomIn" data-wow-duration="1s" data-wow-offset="100">
<div class="wow tada" data-wow-delay="1s" data-wow-duration="1s">
<div class="wow rubberBand" data-wow-delay="2000ms" data-wow-duration="1s">
<div class="wow pulse" data-wow-delay="300ms" data-wow-iteration="5" data-wow-duration="2s">
<h1 class="panel-cover__title panel-title"><a class="un_decration" href="/" title="link to homepage">whbing</a></h1>
</div>
</div>
</div>
</div>
<hr class="panel-cover__divider" />
<!-- -----------------end 首页---------------------------- -->
<!-- -----------------start其他页面布局-------------------- -->
<!-- -----------------end 其他---------------------------- -->
<div class="navigation-wrapper">
<nav class="cover-navigation cover-navigation--primary">
<ul class="navigation">
<li class="navigation__item" >
<a href="/archives" title="" class="">文章</a>
</li>
<li class="navigation__item" >
<a href="/archive" title="" class="">分类</a>
</li>
<li class="navigation__item" >
<a href="/general" title="" class="">归档</a>
</li>
<li class="navigation__item" >
<a href="/about" title="" class="">关于</a>
</li>
</ul>
</nav>
<!-- ----------------------------
To add a new social icon simply duplicate one of the list items from below
and change the class in the <i> tag to match the desired social network
and then add your link to the <a>. Here is a full list of social network
classes that you can use:
icon-social-500px
icon-social-behance
icon-social-delicious
icon-social-designer-news
icon-social-deviant-art
icon-social-digg
icon-social-dribbble
icon-social-facebook
icon-social-flickr
icon-social-forrst
icon-social-foursquare
icon-social-github
icon-social-google-plus
icon-social-hi5
icon-social-instagram
icon-social-lastfm
icon-social-linkedin
icon-social-medium
icon-social-myspace
icon-social-path
icon-social-pinterest
icon-social-rdio
icon-social-reddit
icon-social-skype
icon-social-spotify
icon-social-stack-overflow
icon-social-steam
icon-social-stumbleupon
icon-social-treehouse
icon-social-tumblr
icon-social-twitter
icon-social-vimeo
icon-social-xbox
icon-social-yelp
icon-social-youtube
icon-social-zerply
icon-mail
-------------------------------->
<!-- add social info here -->
</div>
</div>
</div>
<div class="panel-cover--overlay"></div>
</div>
</header>
<!--如果不是home,加一个side的复制层-->
<div class="content-wrapper">
<div class="content-wrapper__inner entry">
<!-- 首页body部分的内容,其实不需要的 -->
<!-- do nothing -->
<!--非pc首页内容-->
<!--当宽度>1280px时,隐藏-->
<div class="main-post-list">
<ol class="post-list">
<li>
<h2 class="post-list__post-title post-title">
<a href="/2018/02/01/1.大数据工具简单分析天猫年底月销量/" title="link to spark简单分析天猫年底月销量">spark简单分析天猫年底月销量</a>
</h2>
<div class="post-list__meta">
<span title="建立时间" class="post-meta-item-icon">
<i class="fa fa-file-text-o"></i>
</span>
<time datetime="2018-02-01" class="post-list__meta--date date">2018-02-01</time>
<span class="post-meta-divider">|</span>
<span title="更新时间" class="post-meta-item-icon">
<i class="fa fa-file-text"></i>
</span>
<time datetime="2018-02-01" class="post-list__meta--date date">2018-02-01</time>
<!-- 如果有分类 -->
<span class="post-meta-divider">|</span>
<font class="categories">
<span title="分类" class="post-meta-item-icon">
<i class="fa fa-folder-o"></i>
</span>
<a class="categories-link" href="/categories/spark/">spark</a>
</font>
<!-- 如果有tags -->
<span class="tag-span">
<span class="post-meta-divider">|</span>
<span title="标签" class="post-meta-item-icon">
<i class="fa fa-tags"></i>
</span>
<font class="tags">
<a class="tags-link" href="/tags/scrapy/">scrapy</a>, <a class="tags-link" href="/tags/spark/">spark</a>
</font>
</span>
</div>
<div class="excerpt">
</div>
<hr class="post-list__divider" />
</li>
<li>
<h2 class="post-list__post-title post-title">
<a href="/2017/12/30/hexo-lovetter主题开发/" title="link to hexo-lovetter主题开发">hexo-lovetter主题开发</a>
</h2>
<div class="post-list__meta">
<span title="建立时间" class="post-meta-item-icon">
<i class="fa fa-file-text-o"></i>
</span>
<time datetime="2017-12-30" class="post-list__meta--date date">2017-12-30</time>
<span class="post-meta-divider">|</span>
<span title="更新时间" class="post-meta-item-icon">
<i class="fa fa-file-text"></i>
</span>
<time datetime="2017-12-31" class="post-list__meta--date date">2017-12-31</time>
<!-- 如果有分类 -->
<span class="post-meta-divider">|</span>
<font class="categories">
<span title="分类" class="post-meta-item-icon">
<i class="fa fa-folder-o"></i>
</span>
<a class="categories-link" href="/categories/博客主题/">博客主题</a>
</font>
<!-- 如果有tags -->
<span class="tag-span">
<span class="post-meta-divider">|</span>
<span title="标签" class="post-meta-item-icon">
<i class="fa fa-tags"></i>
</span>
<font class="tags">
<a class="tags-link" href="/tags/lovetter主题/">lovetter主题</a>
</font>
</span>
</div>
<div class="excerpt">
</div>
<hr class="post-list__divider" />
</li>
</ol>
<hr class="post-list__divider " />
<nav class="pagination" role="navigation">
<span class="pagination__page-number"> 1 / 1</span>
</nav>
</div>
<footer class="footer">
<span class="footer__copyright">© 2017-2018. | 由<a href="https://hexo.io/">Hexo</a>强力驱动 | 主题<a href="https://github.com/whbing/lovetter">Lovetter</a></span>
</footer>
</div>
</div>
</div>
<!--mobile-->
<div id="mobile">
<div id="m-header" class="mid-col">
<nav id="mobile-nav">
<div class="slider-trigger">
<i class="fa fa-bars" aria-hidden="true"></i>
</div>
<div class="overlay js-overlay" style="background: rgb(77, 77, 77); visibility: visible;"></div>
<div class="intrude-less">
<header id="header" class="inner">
<div class="profilepic">
<img src="/images/myphoto.jpg" width="100%">
</div>
<hgroup>
<h1 class="header-author">whbing</h1>
</hgroup>
<p class="header-subtitle">
<i class="fa fa-heart-o"></i> 写是最好的记忆 <i class="fa fa-heart-o"></i>
</p>
<div class="social">
<a class="github" target="_blank" href="https://github.com/whbing" title="github"><i class="fa fa-github-square fa-lg"></i></a>
<a class="weibo" target="_blank" href="http://weibo.com/wanghongbing0704" title="weibo"><i class="fa fa-weibo fa-lg"></i></a>
</div>
<nav class="header-menu">
<ul>
<li class="mobile-menu-li mobile-menu-home">
<a class="active" href="/">主页</a>
</li>
<li class="mobile-menu-li mobile-menu-archives">
<a href="/general/" >归档</a>
</li>
</ul>
</nav>
</header>
</div>
</nav>
</div>
<div class="content-wrapper">
<div class="content-wrapper__inner entry">
<!-- 首页body部分的内容,其实不需要的 -->
<!-- do nothing -->
<!--非pc首页内容-->
<!--当宽度>1280px时,隐藏-->
<div class="main-post-list">
<ol class="post-list">
<li>
<h2 class="post-list__post-title post-title">
<a href="/2018/02/01/1.大数据工具简单分析天猫年底月销量/" title="link to spark简单分析天猫年底月销量">spark简单分析天猫年底月销量</a>
</h2>
<div class="post-list__meta">
<span title="建立时间" class="post-meta-item-icon">
<i class="fa fa-file-text-o"></i>
</span>
<time datetime="2018-02-01" class="post-list__meta--date date">2018-02-01</time>
<span class="post-meta-divider">|</span>
<span title="更新时间" class="post-meta-item-icon">
<i class="fa fa-file-text"></i>
</span>
<time datetime="2018-02-01" class="post-list__meta--date date">2018-02-01</time>
<!-- 如果有分类 -->
<span class="post-meta-divider">|</span>
<font class="categories">
<span title="分类" class="post-meta-item-icon">
<i class="fa fa-folder-o"></i>
</span>
<a class="categories-link" href="/categories/spark/">spark</a>
</font>
<!-- 如果有tags -->
<span class="tag-span">
<span class="post-meta-divider">|</span>
<span title="标签" class="post-meta-item-icon">
<i class="fa fa-tags"></i>
</span>
<font class="tags">
<a class="tags-link" href="/tags/scrapy/">scrapy</a>, <a class="tags-link" href="/tags/spark/">spark</a>
</font>
</span>
</div>
<div class="excerpt">
</div>
<hr class="post-list__divider" />
</li>
<li>
<h2 class="post-list__post-title post-title">
<a href="/2017/12/30/hexo-lovetter主题开发/" title="link to hexo-lovetter主题开发">hexo-lovetter主题开发</a>
</h2>
<div class="post-list__meta">
<span title="建立时间" class="post-meta-item-icon">
<i class="fa fa-file-text-o"></i>
</span>
<time datetime="2017-12-30" class="post-list__meta--date date">2017-12-30</time>
<span class="post-meta-divider">|</span>
<span title="更新时间" class="post-meta-item-icon">
<i class="fa fa-file-text"></i>
</span>
<time datetime="2017-12-31" class="post-list__meta--date date">2017-12-31</time>
<!-- 如果有分类 -->
<span class="post-meta-divider">|</span>
<font class="categories">
<span title="分类" class="post-meta-item-icon">
<i class="fa fa-folder-o"></i>
</span>
<a class="categories-link" href="/categories/博客主题/">博客主题</a>
</font>
<!-- 如果有tags -->
<span class="tag-span">
<span class="post-meta-divider">|</span>
<span title="标签" class="post-meta-item-icon">
<i class="fa fa-tags"></i>
</span>
<font class="tags">
<a class="tags-link" href="/tags/lovetter主题/">lovetter主题</a>
</font>
</span>
</div>
<div class="excerpt">
</div>
<hr class="post-list__divider" />
</li>
</ol>
<hr class="post-list__divider " />
<nav class="pagination" role="navigation">
<span class="pagination__page-number"> 1 / 1</span>
</nav>
</div>
<footer class="footer">
<span class="footer__copyright">© 2017-2018. | 由<a href="https://hexo.io/">Hexo</a>强力驱动 | 主题<a href="https://github.com/whbing/lovetter">Lovetter</a></span>
</footer>
</div>
</div>
</div>
<!-- 这里的页面单独提出来了-->
<!--myadd-->
<link rel="stylesheet" href="/css/highlight.min.css ">
<!--<link rel="stylesheet" href="//cdn.bootcss.com/highlight.js/9.2.0/styles/atelier-lakeside-light.min.css">-->
<!--<link rel="stylesheet" href="//cdn.bootcss.com/highlight.js/9.2.0/styles/solarized-light.min.css">-->
<!--<script src="//cdn.bootcss.com/highlight.js/9.2.0/highlight.min.js"></script>-->
<script src="/js/wow.min.js"></script>
<script src="/js/highlight.min.js"></script>
<!--<script src="/js/bootstrap.min.js"></script>-->
<script src="/js/addfun.js"></script><!--init the wowJS-->
</body>
</html>