forked from humensmoc/humensmoc.github.io
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathnewblog.html
More file actions
128 lines (123 loc) · 4.69 KB
/
newblog.html
File metadata and controls
128 lines (123 loc) · 4.69 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
<!DOCTYPE html>
<html lang="zh">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>博客 - humensmoc</title>
<link rel="stylesheet" href="/css/main.css">
<link rel="stylesheet" href="/lib/font-awesome/css/all.min.css">
<link rel="apple-touch-icon" sizes="180x180" href="/images/favicon/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="/images/favicon/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="/images/favicon/favicon-16x16.png">
<link rel="manifest" href="/images/favicon/site.webmanifest">
<link rel="shortcut icon" href="/images/favicon/favicon.ico">
<style>
.blog-container {
max-width: 800px;
margin: 0 auto;
padding: 20px;
}
.blog-post {
background: #fff;
border-radius: 10px;
box-shadow: 0 2px 5px rgba(0,0,0,0.1);
margin-bottom: 30px;
padding: 20px;
transition: transform 0.3s;
}
.blog-post:hover {
transform: translateY(-5px);
}
.post-title {
font-size: 1.8em;
margin-bottom: 10px;
color: #333;
}
.post-meta {
color: #666;
font-size: 0.9em;
margin-bottom: 15px;
}
.post-preview {
color: #444;
line-height: 1.6;
}
.read-more {
display: inline-block;
padding: 8px 20px;
background-color: #222;
color: white;
text-decoration: none;
border-radius: 5px;
margin-top: 15px;
transition: background-color 0.3s;
}
.read-more:hover {
background-color: #444;
}
.tag {
display: inline-block;
padding: 3px 8px;
background: #f0f0f0;
border-radius: 3px;
font-size: 0.8em;
color: #666;
margin-right: 5px;
}
</style>
</head>
<body>
<div class="nav-buttons" style="padding: 20px;">
<a href="/" class="nav-button">
<i class="fa fa-home"></i> 返回主页
</a>
</div>
<div class="blog-container">
<h1>博客文章</h1>
<div class="blog-post">
<h2 class="post-title">网站图标(Favicon)设置教程</h2>
<div class="post-meta">
<i class="fa fa-calendar"></i> 2024-01-02
<span class="tag"><i class="fa fa-tag"></i> 教程</span>
<span class="tag"><i class="fa fa-code"></i> Web</span>
</div>
<div class="post-preview">
详细介绍如何为网站设置自定义图标(Favicon),包括准备不同尺寸的图标文件、创建manifest文件、添加HTML代码等内容...
</div>
<a href="/blog/favicon-tutorial.html" class="read-more">
阅读全文 <i class="fa fa-arrow-right"></i>
</a>
</div>
<div class="blog-post">
<h2 class="post-title">Unity WebGL游戏上传教程</h2>
<div class="post-meta">
<i class="fa fa-calendar"></i> 2024-01-01
<span class="tag"><i class="fa fa-tag"></i> 教程</span>
<span class="tag"><i class="fa fa-gamepad"></i> Unity</span>
</div>
<div class="post-preview">
详细介绍如何将Unity游戏导出为WebGL格式并部署到个人网站,包括Unity导出设置、Simmer.io上传流程等内容...
</div>
<a href="/games/upload-tutorial.html" class="read-more">
阅读全文 <i class="fa fa-arrow-right"></i>
</a>
</div>
<div class="blog-post">
<h2 class="post-title">HTML元编程效果教程</h2>
<div class="post-meta">
<i class="fa fa-calendar"></i> 2024-01-03
<span class="tag"><i class="fa fa-tag"></i> 教程</span>
<span class="tag"><i class="fa fa-code"></i> HTML</span>
<span class="tag"><i class="fa fa-css3"></i> CSS</span>
</div>
<div class="post-preview">
探索如何在网页中展示HTML代码,以及创建各种有趣的元编程视觉效果,包括故障文本、代码注释等效果...
</div>
<a href="/blog/meta-html-tutorial.html" class="read-more">
阅读全文 <i class="fa fa-arrow-right"></i>
</a>
</div>
<!-- 可以在这里添加更多博客文章 -->
</div>
</body>
</html>