-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
790 lines (602 loc) · 32.8 KB
/
index.html
File metadata and controls
790 lines (602 loc) · 32.8 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
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
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
<!DOCTYPE html>
<html class="full-height">
<head>
<meta charset="utf-8">
<link rel="stylesheet" href="//cdn.bootcss.com/bulma/0.4.1/css/bulma.min.css">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css">
<script src="//cdn.bootcss.com/jquery/3.2.1/jquery.min.js"></script>
<title>丁稳的博客</title>
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<meta name="description" content="测试描述">
<meta property="og:type" content="website">
<meta property="og:title" content="丁稳的博客">
<meta property="og:url" content="http://yoursite.com/index.html">
<meta property="og:site_name" content="丁稳的博客">
<meta property="og:description" content="测试描述">
<meta property="og:locale" content="zh-CN">
<meta name="twitter:card" content="summary">
<meta name="twitter:title" content="丁稳的博客">
<meta name="twitter:description" content="测试描述">
<link rel="alternate" href="/atom.xml" title="丁稳的博客" type="application/atom+xml">
<link rel="icon" href="https://raw.githubusercontent.com/dingwen1/electronicResume/master/img/avatar.jpg">
<link href="//fonts.googleapis.com/css?family=Source+Code+Pro" rel="stylesheet" type="text/css">
<link rel="stylesheet" href="/css/common.css">
<link rel="stylesheet" href="/css/nav.css">
<link rel="stylesheet" href="/css/layout.css">
</head>
<body>
<header id="navbar" class="overflow-hidden">
<div class="container">
<nav class="nav">
<div class="nav-left">
<a href="/" class="nav-item" style="font-size: 20px;">
<span class="logo">丁稳</span>'s Blog
<span style="margin-left:50px;color:red">此博客源码丢失,文章暂时在<a href="http://dingwen1.cn/blogs/">http://dingwen1.cn/blogs/</a></span>
</a>
</div>
<div class="nav-center is-hidden position-relative" id="search_container">
<div class="nav-item full-width full-height">
<i class="fa fa-search has-padding" aria-hidden="true"></i>
<input type="text" id="search_input" class="search-input full-height full-width" placeholder="搜索文章" autofocus>
<i id="close_search" class="fa fa-times" aria-hidden="true"></i>
</div>
<div id="search_result"></div>
</div>
<div class="nav-right nav-menu">
<a class="nav-item" id="search">
<i class="fa fa-search" aria-hidden="true"></i>
</a>
<a class="nav-item" href="/">
主页
</a>
<a class="nav-item" href="/works">
介绍
</a>
<a class="nav-item" href="/about">
关于
</a>
</div>
<span class="nav-toggle" id="navMenuDropdown">
<span></span>
<span></span>
<span></span>
</span>
<div class="navbar-menu position-absolute full-width content-box is-hidden-desktop is-flex flex-column center" style="top: 100%;">
<a class="nav-item flex-1" href="/">
主页
</a>
<a class="nav-item flex-1" href="/works">
介绍
</a>
<a class="nav-item flex-1" href="/about">
关于
</a>
</div>
</nav>
</div>
</header>
<div id="main-wrap" class="position-relative" style="margin-top: 55px;">
<div class="main-inner-content">
<style>
.post-hover:hover {
box-shadow: inset 0 0 100px #000;
transition: box-shadow .2s;
}
.sub-post-container .post-hover:hover h3 {
text-decoration: underline gray;
}
.primary-item-main {
height: 330px;
background-size: cover;
}
.primary-container .title,
.primary-container .sub-title,
.primary-container .post-content-text,
.primary-container .date {
color: #fff;
}
.post-content-text {
color: #f1f1f1!important;
}
.primary-container .post-hover {
background: black;
}
.content-bg-mask {
background: rgba(0,0,0,.4);
}
</style>
<div style="background: #f5f8f9;">
<div id="main-container" class="container" style="padding-top: 20px;">
<div class="is-flex main-content justify-center">
<section class="column is-9">
<div class="primary-container content-box is-flex-desktop clear-padding bottom-line" style="margin-bottom: 25px;">
<div class="column is-7-desktop">
<a href="/2017/10/21/hello-world/">
<div class="full-height post-hover"
style="
background-image: url('https://raw.githubusercontent.com/dingwen1/electronicResume/master/img/avatar.jpg');
height: 350px;
background-size: cover;
background-repeat: no-repeat;
">
<div class=" is-flex flex-column center content has-text-centered full-height has-padding content-bg-mask">
<h1 class="title text-shadow" style="margin-bottom: 15px;">
你好!我是丁稳
</h1>
<div>
</div>
<p class="post-content-text is-marginless has-padding text-shadow">
——丁稳
个人信息
年龄:22岁
现居地:长沙
籍贯:湖南岳阳
手机:(+86) 176-2030-6826
邮箱:stabilityButyl@163.com
github:@dingwen1
微信:@WeChat
教育背景
学..
</p>
<p class="date text-shadow">2017-10-21</p>
<button class="button is-info is-small">Read More</button>
</div>
</div>
</a>
</div>
<div class="column is-5 is-hidden-touch" style="padding-left: 0;">
<div class="full-height is-flex flex-column justify-space-between" style="min-height: 350px;">
<a class="post-hover" href="/2017/10/16/hello-world.1/" style="height: 48.5%">
<div class="content is-hidden-touch full-height overflow-hidden" style="background-image: url('https://raw.githubusercontent.com/dingwen1/electronicResume/master/img/1.jpg')">
<div class="content-bg-mask full-width full-height has-padding">
<h3 class="title is-marginless text-shadow">
Hello Vscode
</h3>
<span class="tag is-post-tag">vscode</span>
<p class="sub-title text-shadow"></p>
<p class="is-marginless text-shadow post-content-text">
初识vscode,留下点设置以及插件备用
1、插件类
Beautify 一款相当优秀的代码格式..
</p>
<p class="date text-shadow is-marginless">2017-10-16</p>
</div>
</div>
</a>
<a class="post-hover" href="/2017/10/15/测试2/" style="height: 48.5%">
<div class="content is-hidden-touch full-height overflow-hidden" style="background-image: url('http://icons.iconarchive.com/icons/alecive/flatwoken/512/Apps-Sublime-Text-icon.png')">
<div class="content-bg-mask full-width full-height has-padding">
<h3 class="title is-marginless text-shadow">
sublime。
</h3>
<p class="sub-title text-shadow"></p>
<p class="is-marginless text-shadow post-content-text">
自己使用的sublime的一些插件以及安装方法,以防日后查阅。1、使用快捷键Ctrl+·(ta..
</p>
<p class="date text-shadow is-marginless">2017-10-15</p>
</div>
</div>
</a>
</div>
</div>
<div class="column is-12 is-hidden-desktop">
<a class="post-hover" href="/2017/10/16/hello-world.1/" style="height: 48.5%">
<div class="content is-hidden-touch full-height overflow-hidden" style="background-image: url('https://raw.githubusercontent.com/dingwen1/electronicResume/master/img/1.jpg')">
<div class="content-bg-mask full-width full-height has-padding">
<h3 class="title is-marginless text-shadow">
Hello Vscode
</h3>
<span class="tag is-post-tag">vscode</span>
<p class="sub-title text-shadow"></p>
<p class="is-marginless text-shadow post-content-text">
初识vscode,留下点设置以及插件备用
1、插件类
Beautify 一款相当优秀的代码格式..
</p>
<p class="date text-shadow is-marginless">2017-10-16</p>
</div>
</div>
</a>
<a class="post-hover" href="/2017/10/15/测试2/" style="height: 48.5%">
<div class="content is-hidden-touch full-height overflow-hidden" style="background-image: url('http://icons.iconarchive.com/icons/alecive/flatwoken/512/Apps-Sublime-Text-icon.png')">
<div class="content-bg-mask full-width full-height has-padding">
<h3 class="title is-marginless text-shadow">
sublime。
</h3>
<p class="sub-title text-shadow"></p>
<p class="is-marginless text-shadow post-content-text">
自己使用的sublime的一些插件以及安装方法,以防日后查阅。1、使用快捷键Ctrl+·(ta..
</p>
<p class="date text-shadow is-marginless">2017-10-15</p>
</div>
</div>
</a>
</div>
</div>
<div class="content-box is-hidden-desktop" style="margin-bottom: 27px;">
<a class="post-hover" href="/2017/10/16/hello-world.1/">
<div class="columns" style="min-height: 230px;">
<div class="column is-4-desktop is-5-tablet post-avatar is-hidden-mobile"
style="margin: 10px; background-size: cover;background-image: url('https://raw.githubusercontent.com/dingwen1/electronicResume/master/img/1.jpg')">
</div>
<div class="column is-8-desktop post-content is-flex align-center">
<div class="content">
<h3>Hello Vscode</h3>
<p>
<span class="tag is-post-tag">vscode</span>
</p>
<p>
初识vscode,留下点设置以及插件备用
1、插件类
Beautify 一款相当优秀的代码格式化工具,比自带的好用。
Bracket Pair Colorize 这是一个识别括号并不同颜色的插件,让代码更容易识别。
Colorize 当键入颜色代码后会出现可视化颜色。
HTML CSS Support 样式表提示,缩短样式编写时间。
HTML ..
</p>
<p>2017-10-16</p>
<button class="button is-small">Read More</button>
</div>
</div>
</div>
</a>
</div>
<div class="content-box is-hidden-desktop" style="margin-bottom: 27px;">
<a class="post-hover" href="/2017/10/15/测试2/">
<div class="columns" style="min-height: 230px;">
<div class="column is-4-desktop is-5-tablet post-avatar is-hidden-mobile"
style="margin: 10px; background-size: cover;background-image: url('http://icons.iconarchive.com/icons/alecive/flatwoken/512/Apps-Sublime-Text-icon.png')">
</div>
<div class="column is-8-desktop post-content is-flex align-center">
<div class="content">
<h3>sublime。</h3>
<p>
</p>
<p>
自己使用的sublime的一些插件以及安装方法,以防日后查阅。1、使用快捷键Ctrl+·(tab上面的那个按键)。 2、然后在出现的输入框里面输入下面的代码并回车。
import urllib.request,os;
pf = 'Package Control.sublime-package';
ipp = sublime.installed_p..
</p>
<p>2017-10-15</p>
<button class="button is-small">Read More</button>
</div>
</div>
</div>
</a>
</div>
<div class="content-box " style="margin-bottom: 27px;">
<a class="post-hover" href="/2017/04/22/webApp/">
<div class="columns" style="min-height: 230px;">
<div class="column is-4-desktop is-5-tablet post-avatar is-hidden-mobile"
style="margin: 10px; background-size: cover;background-image: url('http://newcdn.96weixin.com/c/mmbiz.qlogo.cn/mmbiz/p6Vlqvia1Uicxmfb50jCNmujr5O9ZSnqHurPuAvF5ibfZe5Y5rP9eYQ1vKxC8Ar20AcQs4Mw1UrBOVwS9AGu7aZBw/0?wx_fmt=png')">
</div>
<div class="column is-8-desktop post-content is-flex align-center">
<div class="content">
<h3>WebApp移动端学习</h3>
<p>
<span class="tag is-post-tag">前端</span>
</p>
<p>
第一个HybridApp Android工程的目录结构:1. src:存储的是java文件2. assets:资源文件,比如要混编用到的HTML/CSS/JS3. res/layout:布局文件activity_main.xml4. AndroidMainfest.xml文件中,包含版本号、权限的设置、图标的设置··· ..
</p>
<p>2017-04-22</p>
<button class="button is-small">Read More</button>
</div>
</div>
</div>
</a>
</div>
<div class="content-box " style="margin-bottom: 27px;">
<a class="post-hover" href="/2017/04/16/hexo从零开始到搭建完整/">
<div class="columns" style="min-height: 230px;">
<div class="column is-4-desktop is-5-tablet post-avatar is-hidden-mobile"
style="margin: 10px; background-size: cover;background-image: url('http://opif0c56u.bkt.clouddn.com/look-me.png?imageView/2/w/600/q/90')">
</div>
<div class="column is-8-desktop post-content is-flex align-center">
<div class="content">
<h3>hexo从零开始到搭建完整</h3>
<p>
<span class="tag is-post-tag">hexo</span>
<span class="tag is-post-tag">github</span>
</p>
<p>
)look me
前言其实平时自己写的文章并不多,偶尔看到一些东西会做点笔记,但是每次写的东西都会到处放,不好找,所以才想着自己搭建一个人博客网站,现在大家用hexo比较多,也比较方便,并且能使用的主题也很多,所以小花就用她啦~
本篇为从零开始的基础篇,其他SEO、评论系统、统计等请看Hexo博客添加SEO-评论系统-阅读统计-站长统计,本篇所包含的内容..
</p>
<p>2017-04-16</p>
<button class="button is-small">Read More</button>
</div>
</div>
</div>
</a>
</div>
<div class="content-box " style="margin-bottom: 27px;">
<a class="post-hover" href="/2017/03/15/webAPP2/">
<div class="columns" style="min-height: 230px;">
<div class="column is-8-desktop post-content is-flex align-center">
<div class="content">
<h3>移动端</h3>
<p>
<span class="tag is-post-tag">前端</span>
</p>
<p>
ionic自带的图标
一、button==ionic自带的颜色:==
primary 默认,蓝色
secondary 绿色
danger 红色
light 浅灰色
dark 黑色
==ionic中怎么自定义颜色属性? #144f1b== theme–>variables.scss –> 添加颜..
</p>
<p>2017-03-15</p>
<button class="button is-small">Read More</button>
</div>
</div>
</div>
</a>
</div>
<div class="content-box " style="margin-bottom: 27px;">
<a class="post-hover" href="/2017/03/15/前端跨域请求原理及实践/">
<div class="columns" style="min-height: 230px;">
<div class="column is-4-desktop is-5-tablet post-avatar is-hidden-mobile"
style="margin: 10px; background-size: cover;background-image: url('https://ssyer.oss-cn-hangzhou.aliyuncs.com/user//20180205/order/492ada84e38bbe48e3e83beef9329e684f21%E6%B2%B9%E7%94%BB%E6%B0%B4%E4%B9%A1jpg.jpg')">
</div>
<div class="column is-8-desktop post-content is-flex align-center">
<div class="content">
<h3>前端跨域请求原理及实践</h3>
<p>
<span class="tag is-post-tag">前端</span>
<span class="tag is-post-tag">跨域</span>
</p>
<p>
一、 跨域请求的含义
浏览器的同源策略,出于防范跨站脚本的攻击,禁止客户端脚本(如 JavaScript)对不同域的服务进行跨站调用。
一般的,只要网站的 协议名protocol、 主机host、 端口号port 这三个中的任意一个不同,网站间的数据请求与传输便构成了跨域调用。这也是我们下面实践的理论基础。我们利用 NodeJs 创建了两个服务器,分别..
</p>
<p>2017-03-15</p>
<button class="button is-small">Read More</button>
</div>
</div>
</div>
</a>
</div>
<div class="content-box " style="margin-bottom: 27px;">
<a class="post-hover" href="/2017/02/11/Vue学习之思维导图/">
<div class="columns" style="min-height: 230px;">
<div class="column is-4-desktop is-5-tablet post-avatar is-hidden-mobile"
style="margin: 10px; background-size: cover;background-image: url('https://raw.githubusercontent.com/dingwen1/electronicResume/master/img/V.png')">
</div>
<div class="column is-8-desktop post-content is-flex align-center">
<div class="content">
<h3>Vue学习的思维导图</h3>
<p>
<span class="tag is-post-tag">前端</span>
<span class="tag is-post-tag">Vue</span>
</p>
<p>
一顿瞎学
</p>
<p>2017-02-11</p>
<button class="button is-small">Read More</button>
</div>
</div>
</div>
</a>
</div>
<!--翻頁-->
<nav class="pagination is-flex" style="justify-content: flex-end">
</nav>
</section>
<style>
/*user info start*/
.user-info {
padding: 15px 0 0;
}
.user-info .avatar {
width: 155px;
height: 155px;
border-radius: 50%;
}
.sns-container {
flex-wrap: wrap;
}
.sns-container a{
color: black;
}
/*user info end*/
/*Tag start*/
#tag_cloud .tags-item{
display: inline-block;
color: #000;
border: 1px solid gray;
margin: 4px 2px;
padding: 0 4px;
border-radius: 6px;
}
/*Tag end*/
/*Site box start*/
.site-box {
height: 60px;
}
/*Site box end*/
.category-list-item,
.archive-list-item {
display: flex;
margin-bottom: 4px;
justify-content: space-between;
}
.category-list-link,
.archive-list-link {
color: black;
}
.category-list-count,
.archive-list-count {
width: 32px;
text-align: center;
border-radius: 4px;
color: #fff;
background-color: gray;
}
</style>
<aside class="column is-hidden-touch is-3" style="max-width: 280px; min-width: 230px">
<div class="content-box user-info">
<div class="has-padding">
<header class="has-text-centered">
<img class="avatar" src="https://raw.githubusercontent.com/dingwen1/electronicResume/master/img/avatar.jpg">
</header>
<section class="has-text-centered">
<h3><strong>丁稳</strong></h3>
<p class="sub-title">代码不撸吐,社会不进步···</p>
<p class="is-flex center" style=" color: gray">
<i class="fa fa-map-marker" style="padding: 5px"></i>
广东/深圳
</p>
</section>
</div>
<div class="top-line">
<ul class="sns-container justify-center is-flex has-padding">
<li>
<a target="_blank" href="https://github.com/dingwen1">
<span class="fa-stack fa-lg">
<i class="fa fa-circle fa-stack-2x"></i>
<i class="fa fa-github fa-stack-1x fa-inverse"></i>
</span>
</a>
</li>
<li>
<a target="_blank" href="https://wpa.qq.com/msgrd?v=3&uin=920249218&site=qq&menu=yes">
<span class="fa-stack fa-lg">
<i class="fa fa-circle fa-stack-2x"></i>
<i class="fa fa-qq fa-stack-1x fa-inverse"></i>
</span>
</a>
</li>
<li>
<a target="_blank" href="https://raw.githubusercontent.com/dingwen1/electronicResume/master/img/wchat_img.jpg">
<span class="fa-stack fa-lg">
<i class="fa fa-circle fa-stack-2x"></i>
<i class="fa fa-weixin fa-stack-1x fa-inverse"></i>
</span>
</a>
</li>
</ul>
</div>
</div>
<div class="content-box">
<!--post数量和tag category 数量-->
<div class="site-box is-flex">
<div class="flex-1 is-flex flex-column center full-height right-line">
<strong>8</strong>
<p>文章数</p>
</div>
<div class="flex-1 is-flex flex-column center full-height">
<strong>6</strong>
<p>标签数</p>
</div>
</div>
</div>
<div id='tag_cloud' class="content-inner content-box">
<div class="has-text-centered">
<strong>标签</strong>
</div>
<div class="content-inner is-flex flex-wrap justify-space-between">
<a class="tags-item" href="标签/vscode/" title="vscode" rel="1">
vscode
</a>
<a class="tags-item" href="标签/前端/" title="前端" rel="4">
前端
</a>
<a class="tags-item" href="标签/Vue/" title="Vue" rel="1">
Vue
</a>
<a class="tags-item" href="标签/hexo/" title="hexo" rel="1">
hexo
</a>
<a class="tags-item" href="标签/github/" title="github" rel="1">
github
</a>
<a class="tags-item" href="标签/跨域/" title="跨域" rel="1">
跨域
</a>
</div>
</div>
<div class="content-inner content-box">
<div class="has-text-centered">
<strong>分类</strong>
</div>
<div class="content-inner">
<ul class="category-list"><li class="category-list-item"><a class="category-list-link" href="/分类/前端/">前端</a><span class="category-list-count">1</span></li><li class="category-list-item"><a class="category-list-link" href="/分类/学习/">学习</a><span class="category-list-count">2</span></li><li class="category-list-item"><a class="category-list-link" href="/分类/工具使用/">工具使用</a><span class="category-list-count">3</span></li></ul>
</div>
</div>
<div class="content-inner content-box">
<div class="has-text-centered">
<strong>档案</strong>
</div>
<div class="content-inner">
<ul class="archive-list"><li class="archive-list-item"><a class="archive-list-link" href="/archives/2017/10/">十月 2017</a><span class="archive-list-count">3</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2017/04/">四月 2017</a><span class="archive-list-count">2</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2017/03/">三月 2017</a><span class="archive-list-count">2</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2017/02/">二月 2017</a><span class="archive-list-count">1</span></li></ul>
</div>
</div>
</aside>
</div>
</div>
</div>
</div>
</div>
<style>
#footer {
min-height: 10vh;
background: black;
color: #fff;
}
#footer a {
color: #369;
}
#footer a:hover{
text-decoration: underline;
}
</style>
<footer id="footer" class="has-text-centered is-flex center">
<div class="container has-padding">
<div>
<div>
<!--请您保留作者署名, 主题制作来之不易-->
<!-- 哈哈哈。我偏不 -->
Blog by <a href="http://dingwen1.github.io/">dingwen1</a>
<br> Copyright ©
丁稳
2017
<br>
<p style="font-size: 10px" id="footer-times" data-time="1/1/2017 00:00:00"></p>
<script>
var beginTime = document.getElementById("footer-times").dataset.time
function show_date_time() {
var span = document.getElementById("footer-times")
window.setTimeout("show_date_time()", 1000);
BirthDay = new Date(beginTime); //初始日期
today = new Date();
timeold = (today.getTime() - BirthDay.getTime());
sectimeold = timeold / 1000
secondsold = Math.floor(sectimeold);
msPerDay = 24 * 60 * 60 * 1000
e_daysold = timeold / msPerDay
daysold = Math.floor(e_daysold);
e_hrsold = (e_daysold - daysold) * 24;
hrsold = Math.floor(e_hrsold);
e_minsold = (e_hrsold - hrsold) * 60;
minsold = Math.floor((e_hrsold - hrsold) * 60);
seconds = Math.floor((e_minsold - minsold) * 60);
span.innerHTML = "本站已运行" + daysold + "天" + hrsold + "小时" + minsold + "分" + seconds + "秒";
}
show_date_time();
</script>
<script src="/js/search_core.js"></script>
<script src="/js/script.js"></script>
</div>
</div>
</div>
</footer>
</body>
</html>