﻿/* 通用页面设置 */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
}

.container {
    width: 1100px;
    margin: 0 auto;
    padding-top: 20px;
}

/* Header 设置 */
.header {
    width: 100%;
    height: 150px;
    text-align: center;
    margin-bottom: 20px;
}

.header img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 主内容区 */
.content {
    display: flex;
    justify-content: space-between;
}

/* Sidebar 设置 */
.sidebar {
    width: 23%;
    background-color: #fff;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.category h1 {
    font-size: 30px;
    margin-bottom: 15px;
    text-align: center;
    color: #333;
}

.category-list ul {
    list-style: none;
    padding: 0;
}

.category-list li {
    padding: 18px 0;
    text-align: center;
    font-size: 21px;
}

.category-list li a {
    color: #007BFF;
    text-decoration: none;

}

.category-list li a:hover {
    text-decoration: underline;
}

.category-list .active {
    color: #FF0000;
    font-weight: bold;
}

/* 主内容区 */
.main-content {
    width: 72%;
    background-color: #fff;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.article-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.article-table th,
.article-table td {
    padding: 12px;
    text-align: center;
    border-bottom: 1px solid #ddd;
}

.article-table th {
    background-color: #4CAF50;
    color: white;
    font-size: 18px;
}

.article-table td {
    background-color: #fff;
    font-size: 16px;
}

.article-table tr:hover {
    background-color: #f5f5f5;
}

.article-table a {
    color: #007BFF;
    text-decoration: none;
}

.article-table a:hover {
    text-decoration: underline;
}

.new {
    color: #FF0000;
    font-weight: bold;
}

.old {
    color: #999;
}

/* 分页样式 */
.pagination {
    text-align: center;
    margin-top: 26px;
}

.pagination a {
    margin: 0 5px;
    padding: 8px 15px;
    color: #007BFF;
    background-color: #f0f0f0;
    border-radius: 5px;
    text-decoration: none;
}

.pagination a:hover {
    background-color: #007BFF;
    color: white;
}

.pagination .active {
    background-color: #007BFF;
    color: white;
    font-weight: bold;
}

.pagination .disabled {
    background-color: #ddd;
    color: #999;
    cursor: not-allowed;
}
        /* 页脚 */
        .footer {
            text-align: center;
            background-color: #f1f1f1;
            padding: 60px;
            font-size: 12px;
            color: #666;
        }