forked from godbasin/godbasin.github.io
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
279 lines (174 loc) · 10.1 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
<!DOCTYPE HTML>
<html lang="zh-CN">
<head>
<meta charset="UTF-8">
<title>Archives: 2016/6 | Here. There.</title>
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=3, minimum-scale=1">
<meta name="author" content="被删">
<meta name="description" content="html5, js, angularjs, jQuery, 前端">
<link rel="icon" href="/img/favicon.ico">
<link rel="apple-touch-icon" href="/img/pacman.jpg">
<link rel="apple-touch-icon-precomposed" href="/img/pacman.jpg">
<link rel="stylesheet" href="/css/style.css">
<script type="text/javascript">
var _hmt = _hmt || [];
(function() {
var hm = document.createElement("script");
hm.src = "//hm.baidu.com/hm.js?3d902de4a19cf2bf179534ffd2dd7b7f";
var s = document.getElementsByTagName("script")[0];
s.parentNode.insertBefore(hm, s);
})();
</script>
</head>
<body>
<header>
<div>
<div id="imglogo">
<a href="/"><img src="/img/sun.png" alt="Here. There." title="Here. There."/></a>
</div>
<div id="textlogo">
<h1 class="site-name"><a href="/" title="Here. There.">Here. There.</a></h1>
<h2 class="blog-motto">Love ice cream. Love sunshine. Love life. Love the world. Love myself. Love you.</h2>
</div>
<div class="navbar"><a class="navbutton navmobile" href="#" title="菜单">
</a></div>
<nav class="animated">
<ul>
<li><a href="/">首页</a></li>
<li><a href="/archives">归档</a></li>
<li><a href="/categories">分类</a></li>
<li><a href="/about">关于我</a></li>
</ul>
</nav>
</div>
</header>
<div id="container">
<div class="archive-title" >
<h2 class="archive-icon">2016/6</h2>
<div class="archiveslist archive-float clearfix">
<ul class="archive-list"><li class="archive-list-item"><a class="archive-list-link" href="/archives/2017/05/">五月 2017</a><span class="archive-list-count">10</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2017/04/">四月 2017</a><span class="archive-list-count">7</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2017/03/">三月 2017</a><span class="archive-list-count">10</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2017/02/">二月 2017</a><span class="archive-list-count">41</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2017/01/">一月 2017</a><span class="archive-list-count">6</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2016/12/">十二月 2016</a><span class="archive-list-count">7</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2016/11/">十一月 2016</a><span class="archive-list-count">9</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2016/10/">十月 2016</a><span class="archive-list-count">5</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2016/09/">九月 2016</a><span class="archive-list-count">7</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2016/08/">八月 2016</a><span class="archive-list-count">9</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2016/07/">七月 2016</a><span class="archive-list-count">14</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2016/06/">六月 2016</a><span class="archive-list-count">9</span></li></ul>
</div>
</div>
<div id="main" class="all-list-box clearfix"><!--class: archive-part-->
<div id="archive-page" class=""><!--class: all-list-box-->
<section class="post" itemscope itemprop="blogPost">
<a href="/2016/06/26/about-display/" title="CSS的display有关" itemprop="url">
<h1 itemprop="name">CSS的display有关</h1>
<p itemprop="description" >上一篇主要讲CSS的position和z-index,刚好想到了display。本文主要讲述块状元素和内联元素的说明,并补充float浮动相关。</p>
<time datetime="2016-06-26T12:03:10.000Z" itemprop="datePublished">2016-06-26</time>
</a>
</section>
<section class="post" itemscope itemprop="blogPost">
<a href="/2016/06/25/about-position/" title="CSS的position和z-index有关" itemprop="url">
<h1 itemprop="name">CSS的position和z-index有关</h1>
<p itemprop="description" >今天刚好kk妹子问我关于position的一些问题,就打算整理一下,希望用比较清晰明了的方式解释一下CSS的position是怎么个玩法。顺便也进行一下z-index相关的说明。</p>
<time datetime="2016-06-25T04:03:10.000Z" itemprop="datePublished">2016-06-25</time>
</a>
</section>
<section class="post" itemscope itemprop="blogPost">
<a href="/2016/06/24/front-end-getting-started/" title="我的前端入门之路" itemprop="url">
<h1 itemprop="name">我的前端入门之路</h1>
<p itemprop="description" >曾经作为物理学院的一名理工女,如今成为一名热爱代码的前端工程师。其中的过程也是颇为丰富,作为记录也好,参考也好,我都想写下来呢。仅供参考哦。</p>
<time datetime="2016-06-24T13:30:30.000Z" itemprop="datePublished">2016-06-24</time>
</a>
</section>
<section class="post" itemscope itemprop="blogPost">
<a href="/2016/06/22/picture-cut/" title="jQuery插件--Canvas实现图片裁剪" itemprop="url">
<h1 itemprop="name">jQuery插件--Canvas实现图片裁剪</h1>
<p itemprop="description" >需要对图片进行裁剪时,可使用该jQuery插件。本文介绍实现方法。</p>
<time datetime="2016-06-22T11:44:20.000Z" itemprop="datePublished">2016-06-22</time>
</a>
</section>
<section class="post" itemscope itemprop="blogPost">
<a href="/2016/06/21/picture-align/" title="jQuery插件--图片居中对齐" itemprop="url">
<h1 itemprop="name">jQuery插件--图片居中对齐</h1>
<p itemprop="description" >需要将不同尺寸的图片居中放置时,可使用该jQuery插件。本文介绍实现方法。</p>
<time datetime="2016-06-21T12:41:05.000Z" itemprop="datePublished">2016-06-21</time>
</a>
</section>
<section class="post" itemscope itemprop="blogPost">
<a href="/2016/06/20/responsive-waterfall/" title="jQuery响应式瀑布流" itemprop="url">
<h1 itemprop="name">jQuery响应式瀑布流</h1>
<p itemprop="description" >之前用jQuery写过一个响应式的瀑布流。本文介绍实现方法。</p>
<time datetime="2016-06-20T12:42:49.000Z" itemprop="datePublished">2016-06-20</time>
</a>
</section>
<section class="post" itemscope itemprop="blogPost">
<a href="/2016/06/19/drag-and-drop/" title="做一个拖放功能的自定义页面" itemprop="url">
<h1 itemprop="name">做一个拖放功能的自定义页面</h1>
<p itemprop="description" >以前写过一个拖放功能的页面,用来搭建自定义移动端页面。本文介绍实现方法。</p>
<time datetime="2016-06-19T07:42:49.000Z" itemprop="datePublished">2016-06-19</time>
</a>
</section>
<section class="post" itemscope itemprop="blogPost">
<a href="/2016/06/19/position-object/" title="js判断某个位置是否特定元素" itemprop="url">
<h1 itemprop="name">js判断某个位置是否特定元素</h1>
<p itemprop="description" >需要获取鼠标所在位置是否为某种特定元素,然后进行相关处理。本文介绍一种实现方法。</p>
<time datetime="2016-06-18T16:15:36.000Z" itemprop="datePublished">2016-06-19</time>
</a>
</section>
<section class="post" itemscope itemprop="blogPost">
<a href="/2016/06/18/first-blog/" title="前端在变,然而热情不变" itemprop="url">
<h1 itemprop="name">前端在变,然而热情不变</h1>
<p itemprop="description" >本文作为本骚年正式开始技术博客的开篇,当然先渲染一下快乐的氛围。接着会大致介绍搭建这个博客的步骤。</p>
<time datetime="2016-06-17T19:59:57.000Z" itemprop="datePublished">2016-06-18</time>
</a>
</section>
</div>
</div>
</div>
<footer><div id="footer" >
<section class="info">
<p> 即使梦想再小,却很伟大 ^_^ </p>
</section>
<p class="copyright">Powered by <a href="http://hexo.io" target="_blank" title="hexo">hexo</a> and Theme by <a href="https://github.com/A-limon/pacman" target="_blank" title="Pacman">Pacman</a> © 2017
<a href="https://godbasin.github.io" target="_blank" title="被删">被删</a>
</p>
</div>
</footer>
<script src="/js/jquery-2.1.0.min.js"></script>
<script type="text/javascript">
$(document).ready(function(){
$('.navbar').click(function(){
$('header nav').toggleClass('shownav');
});
var myWidth = 0;
function getSize(){
if( typeof( window.innerWidth ) == 'number' ) {
myWidth = window.innerWidth;
} else if( document.documentElement && document.documentElement.clientWidth) {
myWidth = document.documentElement.clientWidth;
};
};
var m = $('#main'),
a = $('#asidepart'),
c = $('.closeaside'),
o = $('.openaside');
$(window).resize(function(){
getSize();
if (myWidth >= 1024) {
$('header nav').removeClass('shownav');
}else
{
m.removeClass('moveMain');
a.css('display', 'block').removeClass('fadeOut');
o.css('display', 'none');
}
});
c.click(function(){
a.addClass('fadeOut').css('display', 'none');
o.css('display', 'block').addClass('fadeIn');
m.addClass('moveMain');
});
o.click(function(){
o.css('display', 'none').removeClass('beforeFadeIn');
a.css('display', 'block').removeClass('fadeOut').addClass('fadeIn');
m.removeClass('moveMain');
});
$(window).scroll(function(){
o.css("top",Math.max(80,260-$(this).scrollTop()));
});
});
</script>
</body>
</html>