Spaces:
Running
Running
File size: 1,186 Bytes
f7af6a4 | 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 | body {
font-family: 'Noto Serif SC', serif;
color: #333;
line-height: 1.6;
}
.container {
max-width: 960px;
margin: 0 auto;
}
/* 头部样式 */
header {
background-color: #fff;
padding: 20px 0;
border-bottom: 1px solid #ddd;
}
h1 {
font-size: 36px;
}
nav ul {
list-style: none;
}
nav li {
display: inline-block;
margin-left: 20px;
}
nav a {
color: #333;
text-decoration: none;
}
/* Hero区块 */
.hero {
background-color: #f4f4f4;
padding: 60px 0;
text-align: center;
}
.hero h2 {
font-size: 48px;
}
.btn {
display: inline-block;
background-color: #FF6B6B;
color: #fff;
padding: 12px 24px;
margin-top: 24px;
text-decoration: none;
border-radius: 4px;
transition: background-color 0.3s ease;
}
.btn:hover {
background-color: #ee5253;
}
/* 博文列表 */
.blog-posts {
padding: 40px 0;
}
article {
margin-bottom: 32px;
border-bottom: 1px solid #ddd;
padding-bottom: 32px;
}
article h3 {
font-size: 24px;
margin-bottom: 8px;
}
.meta {
color: #666;
}
.date, .category {
margin-right: 16px;
}
/* 页脚 */
footer {
text-align: center;
padding: 20px 0;
border-top: 1px solid #ddd;
color: #666;
}
|