﻿/*
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', 'Microsoft YaHei', sans-serif;
}

body {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    color: #333;
    line-height: 1.6;
    padding: 20px;
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px;
}

header {
    text-align: center;
    margin-bottom: 40px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

h1 {
    color: #2c3e50;
    margin-bottom: 10px;
    font-size: 2.5rem;
}*/

ul li{
    list-style-type:none;
}

.tags{
    margin-bottom:20px;
    line-height:30px;
}

.subtitle {
    color: #7f8c8d;
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
}

.card {
    background: white;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

    .card:hover {
        transform: translateY(-5px);
    }

    .card h2 {
        color: #3498db;
        margin-bottom: 20px;
        padding-bottom: 10px;
        border-bottom: 2px solid #f1f2f6;
        display: flex;
        align-items: center;
        gap: 10px;
    }

        .card h2 i {
            color: #3498db;
        }

.tags-container {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    align-items: center;
}

/* 基础标签样式 */
.el-tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 12px;
    font-size: 14px;
    border-radius: 4px;
    border: 1px solid;
    transition: all 0.3s ease;
    cursor: default;
    user-select: none;
    white-space: nowrap;
    height:25px;
}

    /* 标签尺寸 */
    .el-tag.small {
        padding: 4px 8px;
        font-size: 12px;
    }

    .el-tag.large {
        padding: 8px 16px;
        font-size: 16px;
    }

    /* 标签颜色变体 */
    .el-tag.default {
        background-color: #f4f4f5;
        border-color: #e9e9eb;
        color: #909399;
    }

    .el-tag.primary {
        background-color: #ecf5ff;
        border-color: #d9ecff;
        color: #409eff;
    }

    .el-tag.success {
        background-color: #f0f9eb;
        border-color: #e1f3d8;
        color: #67c23a;
    }

    .el-tag.warning {
        background-color: #fdf6ec;
        border-color: #faecd8;
        color: #e6a23c;
    }

    .el-tag.danger {
        background-color: #fef0f0;
        border-color: #fde2e2;
        color: #f56c6c;
    }

    .el-tag.info {
        background-color: #f4f4f5;
        border-color: #e9e9eb;
        color: #909399;
    }

    /* 暗色主题 */
    .el-tag.dark.default {
        background-color: #909399;
        border-color: #909399;
        color: white;
    }

    .el-tag.dark.primary {
        background-color: #409eff;
        border-color: #409eff;
        color: white;
    }

    .el-tag.dark.success {
        background-color: #67c23a;
        border-color: #67c23a;
        color: white;
    }

    .el-tag.dark.warning {
        background-color: #e6a23c;
        border-color: #e6a23c;
        color: white;
    }

    .el-tag.dark.danger {
        background-color: #f56c6c;
        border-color: #f56c6c;
        color: white;
    }

    .el-tag.dark.info {
        background-color: #909399;
        border-color: #909399;
        color: white;
    }

    /* 可关闭标签 */
    .el-tag.closable {
        padding-right: 8px;
    }

    .el-tag .close-icon {
        margin-left: 5px;
        cursor: pointer;
        border-radius: 50%;
        width: 16px;
        height: 16px;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: background-color 0.3s;
    }

        .el-tag .close-icon:hover {
            background-color: rgba(0, 0, 0, 0.1);
        }

    .el-tag.dark .close-icon:hover {
        background-color: rgba(255, 255, 255, 0.2);
    }

    /* 悬停效果 */
    .el-tag:not(.static):hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    }

    /* 点击效果 */
    .el-tag.clickable {
        cursor: pointer;
    }

        .el-tag.clickable:active {
            transform: scale(0.95);
        }

    /* 禁用状态 */
    .el-tag.disabled {
        opacity: 0.6;
        cursor: not-allowed;
    }

        .el-tag.disabled:hover {
            transform: none;
            box-shadow: none;
        }

    /* 圆角标签 */
    .el-tag.round {
        border-radius: 20px;
    }

    /* 标记标签 */
    .el-tag.mark {
        position: relative;
        overflow: hidden;
    }

        .el-tag.mark::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 5px;
            height: 100%;
            background-color: currentColor;
            opacity: 0.5;
        }

/* 代码展示区域 */
.code-container {
    background: #2d2d2d;
    border-radius: 8px;
    padding: 20px;
    margin-top: 20px;
    overflow-x: auto;
    color: #f8f8f2;
    font-family: 'Consolas', monospace;
    position: relative;
}

    .code-container h3 {
        color: #ffd700;
        margin-bottom: 15px;
        font-size: 1.2rem;
    }

.code-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.copy-btn {
    background: #3498db;
    color: white;
    border: none;
    padding: 5px 10px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
    transition: background 0.3s;
}

    .copy-btn:hover {
        background: #2980b9;
    }

pre {
    margin: 0;
    white-space: pre-wrap;
}

.token.tag {
    color: #f92672;
}

.token.attr-name {
    color: #a6e22e;
}

.token.attr-value {
    color: #e6db74;
}

.token.comment {
    color: #75715e;
}

footer {
    text-align: center;
    margin-top: 40px;
    padding: 20px;
    color: #7f8c8d;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .container {
        padding: 15px;
    }

    .tags-container {
        gap: 10px;
    }

    h1 {
        font-size: 2rem;
    }
}
