
/* 全局样式 */
body {
    margin: 0;
    font-family: 'Source Han Sans', 'Roboto Mono', sans-serif;
    line-height: 1.6;
    background: linear-gradient(135deg, #1B5E20, #87CEEB);
    color: #333333;
    padding: 20px;
}
h1, h2, h3 {
    font-family: 'CustomHandwriting', cursive;
    color: #F5F5DC;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}
h1 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 20px;
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}
.card {
    background: #F5F5DC;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 20px;
    transition: transform 0.3s ease;
}
.card:hover {
    transform: translateY(-5px);
}
img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}
pre {
    background: #333333;
    color: #F5F5DC;
    padding: 15px;
    border-radius: 5px;
    overflow-x: auto;
}
code {
    font-family: 'Roboto Mono', monospace;
    color: #87CEEB;
}
table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}
th, td {
    border: 1px solid #333333;
    padding: 10px;
    text-align: left;
}
th {
    background: #1B5E20;
    color: #F5F5DC;
}
.button {
    display: inline-block;
    background: #1B5E20;
    color: #F5F5DC;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}
.button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.5s ease, height 0.5s ease;
}
.button:hover::before {
    width: 200%;
    height: 200%;
}
@media (max-width: 768px) {
    .container {
        grid-template-columns: 1fr;
    }
    h1 {
        font-size: 2rem;
    }
}

