Skip to content

Commit fe72535

Browse files
committed
building site 2020年 5月16日 星期六 22时04分20秒 CST
1 parent 84a4034 commit fe72535

File tree

14 files changed

+70
-431
lines changed

14 files changed

+70
-431
lines changed

404.html

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,8 @@ <h2>See Also</h2>
127127

128128
</div>
129129

130-
<div id="secondary">
130+
131+
<div id="secondary">
131132
<section class="widget">
132133
<form id="search" action='https://fevin.github.io/search/' method="get" accept-charset="utf-8" target="_blank" _lpchecked="1">
133134

@@ -196,6 +197,7 @@ <h3 class="widget-title">其它</h3>
196197
</ul>
197198
</section>
198199
</div>
200+
199201
</div>
200202
</div>
201203
</div>
@@ -235,4 +237,4 @@ <h3 class="widget-title">其它</h3>
235237

236238
</body>
237239

238-
</html>
240+
</html>

about/index.html

Lines changed: 6 additions & 100 deletions
Original file line numberDiff line numberDiff line change
@@ -101,104 +101,8 @@
101101
<div class="col-8" id="main">
102102

103103
<div class="res-cons">
104-
<style type="text/css">
105-
.post-toc {
106-
position: fixed;
107-
width: 200px;
108-
margin-left: -210px;
109-
padding: 5px 10px;
110-
font-family: Athelas, STHeiti, Microsoft Yahei, serif;
111-
font-size: 12px;
112-
border: 1px solid rgba(0, 0, 0, .07);
113-
border-radius: 5px;
114-
background-color: rgba(255, 255, 255, 0.98);
115-
background-clip: padding-box;
116-
-webkit-box-shadow: 1px 1px 2px rgba(0, 0, 0, .125);
117-
box-shadow: 1px 1px 2px rgba(0, 0, 0, .125);
118-
word-wrap: break-word;
119-
white-space: nowrap;
120-
-webkit-box-sizing: border-box;
121-
box-sizing: border-box;
122-
z-index: 999;
123-
cursor: pointer;
124-
max-height: 70%;
125-
overflow-y: auto;
126-
overflow-x: hidden;
127-
}
128-
129-
.post-toc .post-toc-title {
130-
width: 100%;
131-
margin: 0 auto;
132-
font-size: 20px;
133-
font-weight: 400;
134-
text-transform: uppercase;
135-
text-align: center;
136-
}
137-
138-
.post-toc .post-toc-content {
139-
font-size: 15px;
140-
}
141-
142-
.post-toc .post-toc-content>nav>ul {
143-
margin: 10px 0;
144-
}
145-
146-
.post-toc .post-toc-content ul {
147-
padding-left: 20px;
148-
list-style: square;
149-
margin: 0.5em;
150-
line-height: 1.8em;
151-
}
152-
153-
.post-toc .post-toc-content ul ul {
154-
padding-left: 15px;
155-
display: none;
156-
}
157-
158-
@media print,
159-
screen and (max-width:1057px) {
160-
.post-toc {
161-
display: none;
162-
}
163-
}
164-
</style>
165-
<div class="post-toc" style="position: absolute; top: 188px;">
166-
<h2 class="post-toc-title">文章目录</h2>
167-
<div class="post-toc-content">
168-
<nav id="TableOfContents">
169-
<ul>
170-
<li><a href="#test">test</a></li>
171-
</ul>
172-
</nav>
173-
</div>
174-
</div>
175-
<script type="text/javascript">
176-
$(document).ready(function () {
177-
var postToc = $(".post-toc");
178-
if (postToc.length) {
179-
var leftPos = $("#main").offset().left;
180-
if(leftPos<220){
181-
postToc.css({"width":leftPos-10,"margin-left":(0-leftPos)})
182-
}
183-
184-
var t = postToc.offset().top - 20,
185-
a = {
186-
start: {
187-
position: "absolute",
188-
top: t
189-
},
190-
process: {
191-
position: "fixed",
192-
top: 20
193-
},
194-
};
195-
$(window).scroll(function () {
196-
var e = $(window).scrollTop();
197-
e < t ? postToc.css(a.start) : postToc.css(a.process)
198-
})
199-
}
200-
})
201-
</script>
104+
105+
202106
<article class="post">
203107
<header>
204108
<h1 class="post-title">关于我</h1>
@@ -262,7 +166,8 @@ <h2>See Also</h2>
262166

263167
</div>
264168

265-
<div id="secondary">
169+
170+
<div id="secondary">
266171
<section class="widget">
267172
<form id="search" action='https://fevin.github.io/search/' method="get" accept-charset="utf-8" target="_blank" _lpchecked="1">
268173

@@ -331,6 +236,7 @@ <h3 class="widget-title">其它</h3>
331236
</ul>
332237
</section>
333238
</div>
239+
334240
</div>
335241
</div>
336242
</div>
@@ -381,4 +287,4 @@ <h3 class="widget-title">其它</h3>
381287

382288
</body>
383289

384-
</html>
290+
</html>

archives/index.html

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,8 @@ <h2>2020</h2>
118118

119119
</div>
120120

121-
<div id="secondary">
121+
122+
<div id="secondary">
122123
<section class="widget">
123124
<form id="search" action='https://fevin.github.io/search/' method="get" accept-charset="utf-8" target="_blank" _lpchecked="1">
124125

@@ -187,6 +188,7 @@ <h3 class="widget-title">其它</h3>
187188
</ul>
188189
</section>
189190
</div>
191+
190192
</div>
191193
</div>
192194
</div>
@@ -237,4 +239,4 @@ <h3 class="widget-title">其它</h3>
237239

238240
</body>
239241

240-
</html>
242+
</html>

categories/golang/index.html

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,8 @@ <h1 class="post-title">
164164

165165
</div>
166166

167-
<div id="secondary">
167+
168+
<div id="secondary">
168169
<section class="widget">
169170
<form id="search" action='https://fevin.github.io/search/' method="get" accept-charset="utf-8" target="_blank" _lpchecked="1">
170171

@@ -233,6 +234,7 @@ <h3 class="widget-title">其它</h3>
233234
</ul>
234235
</section>
235236
</div>
237+
236238
</div>
237239
</div>
238240
</div>
@@ -272,4 +274,4 @@ <h3 class="widget-title">其它</h3>
272274

273275
</body>
274276

275-
</html>
277+
</html>

categories/index.html

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,8 @@ <h2><a href="https://fevin.github.io/categories/golang">golang</a> (2)</h2>
124124

125125
</div>
126126

127-
<div id="secondary">
127+
128+
<div id="secondary">
128129
<section class="widget">
129130
<form id="search" action='https://fevin.github.io/search/' method="get" accept-charset="utf-8" target="_blank" _lpchecked="1">
130131

@@ -193,6 +194,7 @@ <h3 class="widget-title">其它</h3>
193194
</ul>
194195
</section>
195196
</div>
197+
196198
</div>
197199
</div>
198200
</div>
@@ -232,4 +234,4 @@ <h3 class="widget-title">其它</h3>
232234

233235
</body>
234236

235-
</html>
237+
</html>

index.html

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,8 @@ <h1 class="post-title">
154154

155155
</div>
156156

157-
<div id="secondary">
157+
158+
<div id="secondary">
158159
<section class="widget">
159160
<form id="search" action='https://fevin.github.io/search/' method="get" accept-charset="utf-8" target="_blank" _lpchecked="1">
160161

@@ -223,6 +224,7 @@ <h3 class="widget-title">其它</h3>
223224
</ul>
224225
</section>
225226
</div>
227+
226228
</div>
227229
</div>
228230
</div>
@@ -262,4 +264,4 @@ <h3 class="widget-title">其它</h3>
262264

263265
</body>
264266

265-
</html>
267+
</html>

0 commit comments

Comments
 (0)