-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
274 lines (258 loc) · 8.31 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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title>朽木自雕-江湖路漫漫</title>
<link rel="stylesheet" href="./css/index.css">
<link rel="stylesheet" href="./css/components.css">
</head>
<body>
<!-- 上半部分 -->
<div class="top">
<figure id="centerbg" class="centerbg">
<!-- 导航栏部分 -->
<div class="nav">
<!-- 头像 -->
<div class="avatar"></div>
<!-- 导航栏内容外包裹容器 -->
<div class="nav-box">
<!-- 导航栏各项 -->
<div class="nav-son"><a href="#" class="nav-anchor">首页</a></div>
<div class="nav-son"><a href="sponsor.html" class="nav-anchor">友情赞助</a></div>
<div class="nav-son"><a href="introduce.html" class="nav-anchor">博主简介</a></div>
<div class="nav-son"><a href="technology stack.html" class="nav-anchor">技术栈</a></div>
</div>
</div>
<!-- 中间信息 -->
<div class="container">
<!-- 中间大头像 -->
<div class="avatar-big"></div>
<div class="content person-box">
<p class="person-text">"不扶自直,不镂自雕"</p>
</div>
</div>
</figure>
</div>
<!-- 下半部分 -->
<div class="bottom">
<!-- 标题 -->
<div class="title">
<h1>文章</h1>
</div>
<!-- 文章 -->
<div class="article">
<div class="exhibit">
<a href="article4.html"><img src="" alt="" class="display-pic"></a>
</div>
<div class="introduce">
<div class="post-content">
<div class="date">发布于2023-06-08</div><br>
<div class="content-title">
<a href="article4.html">普通人的阶级跃升</a>
</div><br><br><br>
<div class="post-meta">
<span>512热度</span>
<span class="comments-number">1条评论</span>
<span>未分类</span>
</div><br>
<div class="post-main">
<p>
普通人如何实现阶级跃迁,
我认为掌握人工智能技术已经不再是科技专家的专属领域,
对于普通人来说同样是一条通向财富和机会的道路。
</p>
</div>
</div>
</div>
</div>
<div class="article">
<div class="exhibit">
<a href="article3.html"><img src="" alt="" class="display-pic"></a>
</div>
<div class="introduce">
<div class="post-content">
<div class="date">发布于2022-08-07</div><br>
<div class="content-title">
<a href="article3.html">一个烂尾的项目:闽小圈</a>
</div><br><br><br>
<div class="post-meta">
<span>512热度</span>
<span class="comments-number">1条评论</span>
<span>未分类</span>
</div><br>
<div class="post-main">
<p>
它有个名字,叫“闽小圈”。
这个名字的出现,是大有来头的。
它寄寓了一个梦想,一个有着巨大热忱的、
希望通过科技改变生活的梦想。
</p>
</div>
</div>
</div>
</div>
<div class="article">
<div class="exhibit">
<a href="article2.html"><img src="" alt="" class="display-pic"></a>
</div>
<div class="introduce">
<div class="post-content">
<div class="date">发布于2021-06-15</div><br>
<div class="content-title">
<a href="article2.html">形之于影,形式于实</a>
</div><br><br><br>
<div class="post-meta">
<span>512热度</span>
<span class="comments-number">1条评论</span>
<span>未分类</span>
</div><br>
<div class="post-main">
<p>
近日,我在一次名为"高级研讨会"的场合,
亲眼见到了形式主义的一幕。
这个会议被一些人以极其誇张的方式呈现,
大张旗鼓,赫然在目,
却让人感到一种空洞的冰凉。
</p>
</div>
</div>
</div>
</div>
<div class="article">
<div class="exhibit">
<a href="article1.html"><img src="" alt="" class="display-pic"></a>
</div>
<div class="introduce">
<div class="post-content">
<div class="date">发布于2021-02-27</div><br>
<div class="content-title">
<a href="article1.html">朽木不可雕也?</a>
</div><br><br><br>
<div class="post-meta">
<span>512热度</span>
<span class="comments-number">1条评论</span>
<span>未分类</span>
</div><br>
<div class="post-main">
<p>
在这个庞大而繁忙的社会中,
有一种观念常常被人们拿出来讨论,
那就是"朽木不可雕也"。
然而,作为批判传统的我,
对这种刻板的思想,不禁想予以反驳。
</p>
</div>
</div>
</div>
</div>
</div>
<div class="components">
<div class="main-button">
<div class="moon"></div>
<div class="moon"></div>
<div class="moon"></div>
</div>
<div class="daytime-backgrond"></div>
<div class="daytime-backgrond"></div>
<div class="daytime-backgrond"></div>
<div class="cloud">
<div class="cloud-son"></div>
<div class="cloud-son"></div>
<div class="cloud-son"></div>
<div class="cloud-son"></div>
<div class="cloud-son"></div>
<div class="cloud-son"></div>
</div>
<div class="cloud-light">
<div class="cloud-son"></div>
<div class="cloud-son"></div>
<div class="cloud-son"></div>
<div class="cloud-son"></div>
<div class="cloud-son"></div>
<div class="cloud-son"></div>
</div>
<div class="stars">
<div class="star big">
<div class="star-son"></div>
<div class="star-son"></div>
<div class="star-son"></div>
<div class="star-son"></div>
</div>
<div class="star big">
<div class="star-son"></div>
<div class="star-son"></div>
<div class="star-son"></div>
<div class="star-son"></div>
</div>
<div class="star medium">
<div class="star-son"></div>
<div class="star-son"></div>
<div class="star-son"></div>
<div class="star-son"></div>
</div>
<div class="star medium">
<div class="star-son"></div>
<div class="star-son"></div>
<div class="star-son"></div>
<div class="star-son"></div>
</div>
<div class="star medium">
<div class="star-son"></div>
<div class="star-son"></div>
<div class="star-son"></div>
<div class="star-son"></div>
</div>
<div class="star small">
<div class="star-son"></div>
<div class="star-son"></div>
<div class="star-son"></div>
<div class="star-son"></div>
</div>
<div class="star small">
<div class="star-son"></div>
<div class="star-son"></div>
<div class="star-son"></div>
<div class="star-son"></div>
</div>
<div class="star small">
<div class="star-son"></div>
<div class="star-son"></div>
<div class="star-son"></div>
<div class="star-son"></div>
</div>
<div class="star small">
<div class="star-son"></div>
<div class="star-son"></div>
<div class="star-son"></div>
<div class="star-son"></div>
</div>
<div class="star small">
<div class="star-son"></div>
<div class="star-son"></div>
<div class="star-son"></div>
<div class="star-son"></div>
</div>
<div class="star small">
<div class="star-son"></div>
<div class="star-son"></div>
<div class="star-son"></div>
<div class="star-son"></div>
</div>
</div>
</div>
<script src="js/animation.js"></script>
<script src="js/Navigation Bar.js"></script>
<script src="js/live2d-widget-master/autoload.js""></script>
<script src="js/components.js"></script>
<script>
// 刷新随机显示图片
window.addEventListener('load', function() {
var backgroundCount = 31; // 背景图像的总数
var randomIndex = Math.floor(Math.random() * backgroundCount) + 1; // 生成 1 到 backgroundCount 的随机整数
var centerbg = document.querySelector('.centerbg');
var displayPic = document.querySelector('.display-pic')
centerbg.style.backgroundImage = 'url("./img/background' + randomIndex + '.jpg")';
});
</script>
</body>
</html>