-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathblog.html
160 lines (157 loc) · 4.34 KB
/
blog.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
<!DOCTYPE html>
<html lang="zh">
<head>
<meta charset="UTF-8">
<title>我的博客</title>
<style>
body {
font-family: Arial, sans-serif;
margin: 0;
padding: 0;
background-color: #f1f111;
}
.container {
width: 80%;
margin: auto;
overflow: hidden;
}
header {
background: #333;
color: #fff;
padding-top: 30px;
min-height: 70px;
border-bottom: #0779e4 3px solid;
}
header a {
color: #fff;
text-decoration: none;
text-transform: uppercase;
font-size: 16px;
}
header ul {
padding: 0;
list-style: none;
}
header li {
display: inline;
padding: 0 20px 0 20px;
}
header #branding {
float: left;
}
header #branding h1 {
margin: 0;
}
header nav {
float: right;
margin-top: 10px;
}
header .highlight, header .current a {
color: #e9f952;
font-weight: bold;
}
section#showcase {
min-height: 300px;
background: url('path-to-your-image.jpg') no-repeat 0 -100px;
text-align: center;
color: #fff;
}
section#showcase h1 {
margin-top: 100px;
font-size: 55px;
margin-bottom: 10px;
}
section#showcase p {
font-size: 20px;
}
section#main {
padding: 15px;
background: #fff;
}
section#main .content-title {
color: #333;
border-bottom: 1px solid #eaeaea;
padding-bottom: 10px;
}
section#main .content-title h2 {
margin: 0;
}
section#main .content {
margin-top: 20px;
}
section#main .content p {
line-height: 1.6em;
}
section#main .content img {
max-width: 100%;
height: auto;
}
section#main .content ul {
list-style-type: none;
padding: 0;
}
section#main .content ul li {
background: url('path-to-your-bullet-image.png') no-repeat 0 5px;
padding-left: 20px;
margin-bottom: 10px;
}
footer {
background: #333;
color: white;
text-align: center;
padding: 10px;
position: relative;
bottom: 0;
width: 100%;
}
</style>
</head>
<body>
<header>
<div class="container">
<div id="branding">
<h1>我的博客</h1>
</div>
<nav>
<ul>
<li class="current"><a href="#">首页</a></li>
<li><a href="#">文章</a></li>
<li><a href="#">关于我</a></li>
<li><a href="#">联系方式</a></li>
</ul>
</nav>
</div>
</header>
<section id="showcase">
<div class="container">
<h1>欢迎来到我的博客</h1>
<p>这里是我分享知识和经验的地方</p>
</div>
</section>
<section id="main">
<div class="container">
<article id="main-col">
<h1 class="content-title">最新文章</h1>
<div class="content">
<h2>刷入linux的方法</h2>
<p>方法:[卡刷]</p>
<a href="https://mbilse.github.io/blogs/b1.html">阅读更多</a>
</div>
<div class="content">
<h2>windows美化</h2>
<p>本文章讲解如何美化windows system</p>
<a href="https://mbilse.github.io/blogs/b2.html">阅读更多</a>
</div>
<div class="content">
<h2>网页版系统</h2>
<p>各大系统网页版</p>
<a href="https://mbilse.github.io/blogs/b3.html">阅读更多</a>
</div>
</article>
</div>
</section>
<footer>
<p>版权所有 © 2024</p>
</footer>
</body>
</html>