/* 全局样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: "微软雅黑", sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
/* 导航栏样式 */
.header {
    background-color: #2c3e50;
    color: white;
    padding: 20px 0;
    margin: 20px 0;
    border-radius: 8px;
    text-align: center;
}
.logo {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 10px;
}
.nav a {
    color: white;
    text-decoration: none;
    margin: 0 15px;
}
.nav a:hover {
    color: #3498db;
}
/* 文章列表样式 */
.article-list {
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
}
.article-list h2 {
    border-bottom: 2px solid #3498db;
    padding-bottom: 10px;
    margin-bottom: 20px;
}
.article-item {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px dashed #ccc;
}
.article-item h3 a {
    color: #2c3e50;
    text-decoration: none;
}
.article-item h3 a:hover {
    color: #3498db;
}
.date {
    color: #999;
    font-size: 14px;
    margin: 5px 0;
}
/* 文章详情样式 */
.article-detail {
    background-color: white;
    padding: 30px;
    border-radius: 8px;
}
.article-detail h1 {
    text-align: center;
    margin-bottom: 20px;
}
.content {
    margin-top: 20px;
}
.content h2 {
    margin: 20px 0 10px;
    color: #2c3e50;
}
pre {
    background-color: #f8f8f8;
    padding: 15px;
    border-radius: 5px;
    overflow-x: auto;
    margin: 10px 0;
}
/* 页脚样式 */
.footer {
    text-align: center;
    padding: 20px 0;
    color: #999;
    margin-top: 20px;
}