
body, html {
    margin: 0;
    padding: 0;
    font-family: 'Roboto', sans-serif;
    background: linear-gradient(135deg, #000000, #1a1a1a);
    color: #ffffff;
    line-height: 1.6;
}

header {
    background: linear-gradient(45deg, #00ffcc, #007eff);
    padding: 20px;
    text-align: center;
    font-size: 24px;
    font-weight: bold;
    position: relative;
}

header::after {
    content: "这是一个网页样式设计参考";
    display: block;
    font-size: 12px;
    color: #ffffff;
    margin-top: 10px;
    opacity: 0.7;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
}

.tab {
    background: linear-gradient(135deg, #1a1a1a, #000000);
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.tab:hover {
    transform: scale(1.05);
}

.tab h3 {
    margin: 0;
    font-size: 18px;
    color: #00ffcc;
}

.tab p {
    font-size: 14px;
    color: #d3d3d3;
}

.article-section {
    background: linear-gradient(135deg, #1a1a1a, #000000);
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    margin-bottom: 20px;
}

.article-section h2 {
    color: #00ffcc;
    margin-bottom: 15px;
}

.article-section pre {
    background: #000000;
    padding: 15px;
    border-radius: 5px;
    overflow-x: auto;
}

.article-section code {
    color: #00ffcc;
    font-size: 14px;
}

.article-section table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
}

.article-section th, .article-section td {
    border: 1px solid #00ffcc;
    padding: 10px;
    text-align: left;
    color: #ffffff;
}

.gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.gallery img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.gallery img:hover {
    transform: scale(1.1);
}

@media (max-width: 768px) {
    .container {
        grid-template-columns: 1fr;
    }

    header {
        font-size: 20px;
    }
}

