-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
302 lines (282 loc) · 18.5 KB
/
index.html
File metadata and controls
302 lines (282 loc) · 18.5 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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Blog</title>
<style>
* {
box-sizing: border-box;
margin: 0;
padding: 0;
text-decoration: none;
list-style-type: none;
color: inherit;
font-size: 16px;
}
body {
display: flex;
justify-content: center;
}
.page {
height: 100vh;
/* width: 810px; */
padding: 0px 30px 20px 30px;
display: flex;
flex-direction: column;
}
.menu-bar {
position: sticky;
top: 0;
left: 0;
right: 0;
bottom: 0;
padding-top: 24px;
padding-bottom: 24px;
border-bottom: 1px solid rgb(179, 178, 178);
background-color: rgb(255, 255, 255);
display: flex;
justify-content: space-between;
align-items: center;
}
.nav a {
margin-left: 12px;
font-weight: 300;
}
.site-title p {
text-align: center;
font-size: 100px;
font-weight: 600;
border-bottom: 1px solid rgb(179, 178, 178);
}
.main {
flex: 1;
}
section.post {
border-bottom: 1px solid gainsboro;
padding: 24px 0 24px 0;
display: flex;
flex-direction: column;
justify-content: center;
align-items: flex-start;
}
section.post img {
width: 128px;
height: 128px;
object-fit: cover;
}
section.post .post-container {
display: flex;
gap: 24px;
}
section.post .post-title {
display: flex;
flex-direction: column;
justify-content: space-between;
}
section.post .content {
color: black;
text-decoration: none;
display: flex;
flex-direction: column;
justify-content: space-between;
align-items: flex-start;
}
p.tag {
font-size: 14px;
}
p.title {
font-size: 24px;
font-weight: 600;
margin-top: 12px;
margin-bottom: 12px;
padding-bottom: 12px;
}
p.summary {
font-size: 16px;
font-weight: 300;
}
.icon-tips {
width: 100%;
margin-top: 24px;
display: flex;
justify-content: space-between;
color: #707070;
}
div.time {
display: flex;
align-items: center;
gap: 12px;
}
.time-icon {
width: 16px;
height: 16px;
}
.icon {
width: 18px;
height: 18px;
margin-left: 24px;
}
footer {
padding: 24px 0 24px 0;
}
</style>
</head>
<body>
<div class="page">
<div class="menu-bar">
<p class="name">PoorShawn's Blog</p>
<div class="nav">
<a href="#">首页</a>
<a href="#">技术文章</a>
<a href="#">闲言碎语</a>
<a href="#">简要经历</a>
</div>
</div>
<header class="site-title">
<p>THE BLOG</p>
</header>
<div class="main">
<section class="post">
<div class="post-container">
<img data-src="/pics/dear.jpg" class="lazyload" alt="a pic of dear">
<div class="post-title">
<p class="tag">回忆专栏</p>
<a href="http://127.0.0.1:5500/articles/article001.html#" class="content">
<p class="title">
警惕:莫让行为勤奋掩盖思维懒惰,从高中备考到生活的自我反思
</p>
<p class="summary">
对于自己所犯下的错误有更多的包容心,对于自己的生活和言行有更多有意识的反思。
</p>
</a>
</div>
</div>
<div class="icon-tips">
<div class="time">
<svg t="1739703386935" class="time-icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="4321" width="200" height="200"><path d="M511.913993 63.989249c-247.012263 0-447.924744 200.912481-447.924744 447.924744s200.912481 447.924744 447.924744 447.924744 447.924744-200.912481 447.924744-447.924744S758.926256 63.989249 511.913993 63.989249zM511.913993 895.677474c-211.577356 0-383.763481-172.186125-383.763481-383.763481 0-211.577356 172.014111-383.763481 383.763481-383.763481s383.763481 172.014111 383.763481 383.763481S723.491349 895.677474 511.913993 895.677474z" fill="#707070" p-id="4322"></path><path d="M672.05913 511.913993l-159.973123 0L512.086007 288.123635c0-17.717453-14.277171-32.166639-31.994625-32.166639-17.717453 0-31.994625 14.449185-31.994625 32.166639l0 255.956996c0 17.717453 14.277171 31.994625 31.994625 31.994625l191.967747 0c17.717453 0 32.166639-14.277171 32.166639-31.994625C704.053754 526.191164 689.604569 511.913993 672.05913 511.913993z" fill="#707070" p-id="4323"></path></svg>
<p>3 min read</p>
</div>
<div class="icons">
<a href="#">
<svg t="1739703627268" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="5495" width="200" height="200"><path d="M64 511.5C64 263.8 264.8 63 512.5 63S961 263.8 961 511.5V752c0 61.856-50.144 112-112 112h-56c-61.856 0-112-50.144-112-112V584c0-61.856 50.144-112 112-112h85.908C859.199 287.057 702.673 143 512.5 143S165.8 287.057 146.092 472H232c61.856 0 112 50.144 112 112v168c0 61.856-50.144 112-112 112h-56c-61.856 0-112-50.144-112-112V512v-0.25-0.25zM881 552h-88c-17.673 0-32 14.327-32 32v168c0 17.673 14.327 32 32 32h56c17.673 0 32-14.327 32-32V552z m-737 0v200c0 17.673 14.327 32 32 32h56c17.673 0 32-14.327 32-32V584c0-17.673-14.327-32-32-32h-88z" fill="#707070" p-id="5496"></path></svg>
</a>
<a href="#">
<svg t="1739703837906" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="7664" width="200" height="200"><path d="M298.666667 128v628.48L512 597.333333l213.333333 159.146667V128H298.666667z m213.333333 580.394667L213.333333 938.666667V42.666667h597.333334v896l-298.666667-230.272z" fill="#707070" p-id="7665"></path></svg>
</a>
<a href="#">
<svg t="1739703897270" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="9018" width="200" height="200"><path d="M832 250.352L468.215 612.354c-15.66 15.582-40.986 15.52-56.569-0.14-15.582-15.659-15.52-40.985 0.14-56.568L777.222 192H626c-22.091 0-40-17.909-40-40s17.909-40 40-40h174c61.856 0 112 50.144 112 112v174c0 22.091-17.909 40-40 40s-40-17.909-40-40V250.352z m0 339.909c0-22.092 17.909-40 40-40s40 17.908 40 40V800c0 61.856-50.144 112-112 112H224c-61.856 0-112-50.144-112-112V224c0-61.856 50.144-112 112-112h209.74c22.09 0 40 17.909 40 40s-17.91 40-40 40H224c-17.673 0-32 14.327-32 32v576c0 17.673 14.327 32 32 32h576c17.673 0 32-14.327 32-32V590.26z" fill="#707070" p-id="9019"></path></svg>
</a>
</div>
</div>
</section>
<section class="post">
<p class="tag">阅读反思</p>
<a href="#" class="content">
<p class="title">
从斯多葛主义到自我审视:在怯懦与勇敢间徘徊的内心挣扎
</p>
<p class="summary">
显然,我是懦夫。害怕、恐惧与胆怯从未在我的内心消失。
</p>
</a>
<div class="icon-tips">
<div class="time">
<svg t="1739703386935" class="time-icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="4321" width="200" height="200"><path d="M511.913993 63.989249c-247.012263 0-447.924744 200.912481-447.924744 447.924744s200.912481 447.924744 447.924744 447.924744 447.924744-200.912481 447.924744-447.924744S758.926256 63.989249 511.913993 63.989249zM511.913993 895.677474c-211.577356 0-383.763481-172.186125-383.763481-383.763481 0-211.577356 172.014111-383.763481 383.763481-383.763481s383.763481 172.014111 383.763481 383.763481S723.491349 895.677474 511.913993 895.677474z" fill="#707070" p-id="4322"></path><path d="M672.05913 511.913993l-159.973123 0L512.086007 288.123635c0-17.717453-14.277171-32.166639-31.994625-32.166639-17.717453 0-31.994625 14.449185-31.994625 32.166639l0 255.956996c0 17.717453 14.277171 31.994625 31.994625 31.994625l191.967747 0c17.717453 0 32.166639-14.277171 32.166639-31.994625C704.053754 526.191164 689.604569 511.913993 672.05913 511.913993z" fill="#707070" p-id="4323"></path></svg>
<p>2 min read</p>
</div>
<div class="icons">
<a href="#">
<svg t="1739703627268" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="5495" width="200" height="200"><path d="M64 511.5C64 263.8 264.8 63 512.5 63S961 263.8 961 511.5V752c0 61.856-50.144 112-112 112h-56c-61.856 0-112-50.144-112-112V584c0-61.856 50.144-112 112-112h85.908C859.199 287.057 702.673 143 512.5 143S165.8 287.057 146.092 472H232c61.856 0 112 50.144 112 112v168c0 61.856-50.144 112-112 112h-56c-61.856 0-112-50.144-112-112V512v-0.25-0.25zM881 552h-88c-17.673 0-32 14.327-32 32v168c0 17.673 14.327 32 32 32h56c17.673 0 32-14.327 32-32V552z m-737 0v200c0 17.673 14.327 32 32 32h56c17.673 0 32-14.327 32-32V584c0-17.673-14.327-32-32-32h-88z" fill="#707070" p-id="5496"></path></svg>
</a>
<a href="#">
<svg t="1739703837906" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="7664" width="200" height="200"><path d="M298.666667 128v628.48L512 597.333333l213.333333 159.146667V128H298.666667z m213.333333 580.394667L213.333333 938.666667V42.666667h597.333334v896l-298.666667-230.272z" fill="#707070" p-id="7665"></path></svg>
</a>
<a>
<svg t="1739703897270" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="9018" width="200" height="200"><path d="M832 250.352L468.215 612.354c-15.66 15.582-40.986 15.52-56.569-0.14-15.582-15.659-15.52-40.985 0.14-56.568L777.222 192H626c-22.091 0-40-17.909-40-40s17.909-40 40-40h174c61.856 0 112 50.144 112 112v174c0 22.091-17.909 40-40 40s-40-17.909-40-40V250.352z m0 339.909c0-22.092 17.909-40 40-40s40 17.908 40 40V800c0 61.856-50.144 112-112 112H224c-61.856 0-112-50.144-112-112V224c0-61.856 50.144-112 112-112h209.74c22.09 0 40 17.909 40 40s-17.91 40-40 40H224c-17.673 0-32 14.327-32 32v576c0 17.673 14.327 32 32 32h576c17.673 0 32-14.327 32-32V590.26z" fill="#707070" p-id="9019"></path></svg>
</a>
</div>
</div>
</section>
<section class="post">
<div class="post-container">
<img src="/pics/dear.jpg" alt="a pic of dear" />
<div class="post-title">
<p class="tag">回忆专栏</p>
<a href="http://127.0.0.1:5500/articles/article001.html#" class="content">
<p class="title">
警惕:莫让行为勤奋掩盖思维懒惰,从高中备考到生活的自我反思
</p>
<p class="summary">
对于自己所犯下的错误有更多的包容心,对于自己的生活和言行有更多有意识的反思。
</p>
</a>
</div>
</div>
<div class="icon-tips">
<div class="time">
<svg t="1739703386935" class="time-icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="4321" width="200" height="200"><path d="M511.913993 63.989249c-247.012263 0-447.924744 200.912481-447.924744 447.924744s200.912481 447.924744 447.924744 447.924744 447.924744-200.912481 447.924744-447.924744S758.926256 63.989249 511.913993 63.989249zM511.913993 895.677474c-211.577356 0-383.763481-172.186125-383.763481-383.763481 0-211.577356 172.014111-383.763481 383.763481-383.763481s383.763481 172.014111 383.763481 383.763481S723.491349 895.677474 511.913993 895.677474z" fill="#707070" p-id="4322"></path><path d="M672.05913 511.913993l-159.973123 0L512.086007 288.123635c0-17.717453-14.277171-32.166639-31.994625-32.166639-17.717453 0-31.994625 14.449185-31.994625 32.166639l0 255.956996c0 17.717453 14.277171 31.994625 31.994625 31.994625l191.967747 0c17.717453 0 32.166639-14.277171 32.166639-31.994625C704.053754 526.191164 689.604569 511.913993 672.05913 511.913993z" fill="#707070" p-id="4323"></path></svg>
<p>3 min read</p>
</div>
<div class="icons">
<a href="#">
<svg t="1739703627268" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="5495" width="200" height="200"><path d="M64 511.5C64 263.8 264.8 63 512.5 63S961 263.8 961 511.5V752c0 61.856-50.144 112-112 112h-56c-61.856 0-112-50.144-112-112V584c0-61.856 50.144-112 112-112h85.908C859.199 287.057 702.673 143 512.5 143S165.8 287.057 146.092 472H232c61.856 0 112 50.144 112 112v168c0 61.856-50.144 112-112 112h-56c-61.856 0-112-50.144-112-112V512v-0.25-0.25zM881 552h-88c-17.673 0-32 14.327-32 32v168c0 17.673 14.327 32 32 32h56c17.673 0 32-14.327 32-32V552z m-737 0v200c0 17.673 14.327 32 32 32h56c17.673 0 32-14.327 32-32V584c0-17.673-14.327-32-32-32h-88z" fill="#707070" p-id="5496"></path></svg>
</a>
<a href="#">
<svg t="1739703837906" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="7664" width="200" height="200"><path d="M298.666667 128v628.48L512 597.333333l213.333333 159.146667V128H298.666667z m213.333333 580.394667L213.333333 938.666667V42.666667h597.333334v896l-298.666667-230.272z" fill="#707070" p-id="7665"></path></svg>
</a>
<a href="#">
<svg t="1739703897270" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="9018" width="200" height="200"><path d="M832 250.352L468.215 612.354c-15.66 15.582-40.986 15.52-56.569-0.14-15.582-15.659-15.52-40.985 0.14-56.568L777.222 192H626c-22.091 0-40-17.909-40-40s17.909-40 40-40h174c61.856 0 112 50.144 112 112v174c0 22.091-17.909 40-40 40s-40-17.909-40-40V250.352z m0 339.909c0-22.092 17.909-40 40-40s40 17.908 40 40V800c0 61.856-50.144 112-112 112H224c-61.856 0-112-50.144-112-112V224c0-61.856 50.144-112 112-112h209.74c22.09 0 40 17.909 40 40s-17.91 40-40 40H224c-17.673 0-32 14.327-32 32v576c0 17.673 14.327 32 32 32h576c17.673 0 32-14.327 32-32V590.26z" fill="#707070" p-id="9019"></path></svg>
</a>
</div>
</div>
</section>
<section class="post">
<p class="tag">阅读反思</p>
<a href="#" class="content">
<p class="title">
从斯多葛主义到自我审视:在怯懦与勇敢间徘徊的内心挣扎
</p>
<p class="summary">
显然,我是懦夫。害怕、恐惧与胆怯从未在我的内心消失。
</p>
</a>
<div class="icon-tips">
<div class="time">
<svg t="1739703386935" class="time-icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="4321" width="200" height="200"><path d="M511.913993 63.989249c-247.012263 0-447.924744 200.912481-447.924744 447.924744s200.912481 447.924744 447.924744 447.924744 447.924744-200.912481 447.924744-447.924744S758.926256 63.989249 511.913993 63.989249zM511.913993 895.677474c-211.577356 0-383.763481-172.186125-383.763481-383.763481 0-211.577356 172.014111-383.763481 383.763481-383.763481s383.763481 172.014111 383.763481 383.763481S723.491349 895.677474 511.913993 895.677474z" fill="#707070" p-id="4322"></path><path d="M672.05913 511.913993l-159.973123 0L512.086007 288.123635c0-17.717453-14.277171-32.166639-31.994625-32.166639-17.717453 0-31.994625 14.449185-31.994625 32.166639l0 255.956996c0 17.717453 14.277171 31.994625 31.994625 31.994625l191.967747 0c17.717453 0 32.166639-14.277171 32.166639-31.994625C704.053754 526.191164 689.604569 511.913993 672.05913 511.913993z" fill="#707070" p-id="4323"></path></svg>
<p>2 min read</p>
</div>
<div class="icons">
<a href="#">
<svg t="1739703627268" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="5495" width="200" height="200"><path d="M64 511.5C64 263.8 264.8 63 512.5 63S961 263.8 961 511.5V752c0 61.856-50.144 112-112 112h-56c-61.856 0-112-50.144-112-112V584c0-61.856 50.144-112 112-112h85.908C859.199 287.057 702.673 143 512.5 143S165.8 287.057 146.092 472H232c61.856 0 112 50.144 112 112v168c0 61.856-50.144 112-112 112h-56c-61.856 0-112-50.144-112-112V512v-0.25-0.25zM881 552h-88c-17.673 0-32 14.327-32 32v168c0 17.673 14.327 32 32 32h56c17.673 0 32-14.327 32-32V552z m-737 0v200c0 17.673 14.327 32 32 32h56c17.673 0 32-14.327 32-32V584c0-17.673-14.327-32-32-32h-88z" fill="#707070" p-id="5496"></path></svg>
</a>
<a href="#">
<svg t="1739703837906" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="7664" width="200" height="200"><path d="M298.666667 128v628.48L512 597.333333l213.333333 159.146667V128H298.666667z m213.333333 580.394667L213.333333 938.666667V42.666667h597.333334v896l-298.666667-230.272z" fill="#707070" p-id="7665"></path></svg>
</a>
<a>
<svg t="1739703897270" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="9018" width="200" height="200"><path d="M832 250.352L468.215 612.354c-15.66 15.582-40.986 15.52-56.569-0.14-15.582-15.659-15.52-40.985 0.14-56.568L777.222 192H626c-22.091 0-40-17.909-40-40s17.909-40 40-40h174c61.856 0 112 50.144 112 112v174c0 22.091-17.909 40-40 40s-40-17.909-40-40V250.352z m0 339.909c0-22.092 17.909-40 40-40s40 17.908 40 40V800c0 61.856-50.144 112-112 112H224c-61.856 0-112-50.144-112-112V224c0-61.856 50.144-112 112-112h209.74c22.09 0 40 17.909 40 40s-17.91 40-40 40H224c-17.673 0-32 14.327-32 32v576c0 17.673 14.327 32 32 32h576c17.673 0 32-14.327 32-32V590.26z" fill="#707070" p-id="9019"></path></svg>
</a>
</div>
</div>
</section>
</div>
<footer>
<p>©PoorShawn 2025</p>
</footer>
</div>
<script>
const observer = new IntersectionObserver((entries) => {
entries.forEach(entry => {
if (entry.isIntersecting) {
const img = entry.target;
img.src = img.dataset.src;
observer.unobserve(img);
}
})
}, { threshold: 0.1 })
document.querySelectorAll(".lazyload")
.forEach(img=> {
observer.observe(img);
} );
</script>
</body>
</html>