
/* 全局样式 */
body {
    margin: 0;
    font-family: 'Roboto', sans-serif;
    background: radial-gradient(circle, rgb(144, 238, 144), transparent);
    color: #333;
    line-height: 1.6;
    overflow-x: hidden;
}
h1, h2, h3, h4, h5, h6 {
    font-family: 'Lora', serif;
    color: #0074d9;
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 20px;
}
.module {
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
    transition: transform 0.3s ease-in-out;
}
.module:hover {
    transform: translateY(-5px);
}
header {
    position: relative;
    height: 300px;
    background: linear-gradient(135deg, #87ceeb, #0074d9);
    overflow: hidden;
}
header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 200%;
    height: 100%;
    background: repeating-linear-gradient(transparent, transparent 50px, rgba(255, 255, 255, 0.1) 50px, rgba(255, 255, 255, 0.1) 100px);
    animation: wave 10s linear infinite;
}
@keyframes wave {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
header h1 {
    position: relative;
    z-index: 1;
    text-align: center;
    color: white;
    font-size: 3rem;
    margin-top: 100px;
}
section {
    margin-bottom: 40px;
}
img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}
pre {
    background-color: #f4f4f4;
    padding: 15px;
    border-radius: 5px;
    overflow-x: auto;
}
code {
    font-family: 'Courier New', Courier, monospace;
    color: #d9534f;
}
table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}
th, td {
    border: 1px solid #ddd;
    padding: 10px;
    text-align: left;
}
th {
    background-color: #0074d9;
    color: white;
}
td {
    background-color: #f9f9f9;
}
footer {
    background: linear-gradient(135deg, #0074d9, #87ceeb);
    color: white;
    text-align: center;
    padding: 20px;
    font-size: 0.9rem;
}
@media (max-width: 768px) {
    .container {
        grid-template-columns: 1fr;
    }
    header h1 {
        font-size: 2rem;
    }
}

