
/* CSS样式代码 */
body {
    margin: 0;
    font-family: 'ModernSans', sans-serif;
    background: linear-gradient(135deg, #6B4F4F, #808000, #1E90FF);
    background-size: 300% 300%;
    animation: gradientBG 15s infinite alternate ease-in-out;
    color: #333;
    line-height: 1.6;
}
@keyframes gradientBG {
    0% { background-position: 0% 50%; }
    100% { background-position: 100% 50%; }
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 20px;
}
.header {
    grid-column: span 12;
    text-align: center;
    padding: 40px 0;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.header h1 {
    font-family: 'RetroFont', cursive;
    font-size: 36px;
    color: #6B4F4F;
    text-transform: uppercase;
    letter-spacing: 2px;
}
.content {
    grid-column: span 12;
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.content h2 {
    font-family: 'RetroFont', cursive;
    font-size: 28px;
    color: #6B4F4F;
    margin-bottom: 20px;
}
.content p, .content ul, .content table {
    font-size: 16px;
    color: #555;
    line-height: 1.8;
}
.content ul {
    list-style: disc;
    margin-left: 20px;
}
.content table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}
.content th, .content td {
    border: 1px solid #ddd;
    padding: 10px;
    text-align: left;
}
.content th {
    background-color: #f4f4f4;
    color: #333;
}
.code-block {
    background: #f4f4f4;
    padding: 15px;
    border-radius: 5px;
    overflow-x: auto;
    font-family: 'Courier New', monospace;
    font-size: 14px;
    color: #333;
    margin: 20px 0;
}
.image-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
    margin-top: 20px;
}
.image-gallery img {
    width: 100%;
    height: auto;
    border-radius: 5px;
    object-fit: cover;
    transition: transform 0.3s ease-in-out;
}
.image-gallery img:hover {
    transform: scale(1.1);
}
.footer {
    grid-column: span 12;
    text-align: center;
    padding: 20px;
    background: #6B4F4F;
    color: #fff;
    font-size: 14px;
    margin-top: 40px;
    border-radius: 10px;
}
@media (max-width: 768px) {
    .header h1 {
        font-size: 28px;
    }
    .content h2 {
        font-size: 24px;
    }
    .code-block {
        font-size: 12px;
    }
}

