/* 全局样式 */
body {
    font-family: 'Microsoft YaHei', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f7fa;
}

/* 主容器 */
#main {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.05);
    padding: 20px;
    margin-bottom: 20px;
}

/* 导航菜单 */
#navigator {
    margin-bottom: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
    padding: 10px 15px;
}

/* 文章标题 */
.postTitle {
    font-size: 24px;
    font-weight: 600;
    color: #2c3e50;
    border-left: 4px solid #6e8efb;
    padding-left: 10px;
    margin-bottom: 15px;
}

/* 文章内容 */
.postBody {
    font-size: 16px;
    color: #34495e;
}

.postBody p {
    margin-bottom: 15px;
}

/* 代码高亮 */
.cnblogs_code {
    background-color: #f8f9fa;
    border-radius: 6px;
    border: 1px solid #e9ecef;
    padding: 15px;
    overflow-x: auto;
}

/* 侧边栏 */
#sidebar {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
    padding: 15px;
}

/* 链接样式 */
a {
    color: #6e8efb;
    text-decoration: none;
    transition: color 0.3s;
}

a:hover {
    color: #a777e3;
    text-decoration: underline;
}

/* 按钮样式 */
.btn {
    display: inline-block;
    padding: 8px 16px;
    background-color: #6e8efb;
    color: white;
    border-radius: 4px;
    text-align: center;
    transition: background-color 0.3s;
}

.btn:hover {
    background-color: #a777e3;
    color: white;
    text-decoration: none;
}

/* 响应式设计 */
@media (max-width: 768px) {
    #main {
        padding: 15px;
    }
    
    .postTitle {
        font-size: 20px;
    }
    
    #blog-header div {
        flex-direction: column;
        text-align: center;
    }
    
    #blog-header div div {
        margin-top: 15px;
    }
}