跳转到内容

模板:戏曲演出2026/styles.css

来自戏曲百科
.perf-header {
    display: flex !important;
    flex-wrap: wrap; 
    gap: 16px;
    padding: 16px;
    background: #ffffff;
    border: 1px solid #eee;
    border-radius: 16px;
    margin-bottom: 20px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.03);
    box-sizing: border-box;
}

.perf-poster {
    flex: 0 0 110px; 
    border-radius: 10px;
    overflow: hidden;
    /* 删除了报错的 height: fit-content */
}

.perf-poster img {
    width: 100% !important;
    height: auto !important;
    display: block;
}

.perf-info {
    flex: 1;
    min-width: 180px; 
}

.perf-row {
    margin-bottom: 10px !important;
}

.perf-label {
    display: block;
    color: #9ea4aa;
    font-size: 0.75rem;
    font-weight: bold;
}

.perf-value {
    display: block;
    color: #2c3e50;
    font-size: 0.9rem;
    line-height: 1.4;
    font-weight: 500;
}

/* 票价强调 */
.perf-price {
    color: #e02e24 !important;
    font-size: 1.1rem !important;
    font-weight: bold !important;
}

/* 手机端微调 */
@media (max-width: 480px) {
    .perf-header {
        padding: 12px;
        gap: 12px;
    }
    .perf-poster {
        flex: 0 0 100px;
    }
    .perf-value {
        font-size: 0.85rem;
    }
}

/* 电脑端适配 */
@media (min-width: 768px) {
    .perf-poster { 
        flex: 0 0 220px; 
    }
    .perf-row { 
        margin-bottom: 15px !important; 
    }
    .perf-header { 
        padding: 24px; 
        gap: 24px;
    }
    /* 电脑端让标签和内容横向并排更美观 */
    .perf-label {
        display: inline-block;
        width: 60px;
    }
    .perf-value {
        display: inline-block;
    }
}
//