跳转到内容

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

来自戏曲百科
/* 头部容器 */
.perf-header {
    display: flex !important;
    gap: 16px;
    padding: 16px;
    background: #ffffff;
    border: 1px solid #eaecf0;
    border-radius: 12px;
    margin-bottom: 20px;
    box-sizing: border-box;
}

/* 海报:左侧固定 */
.perf-poster {
    flex: 0 0 100px; /* 手机端宽度 */
    border-radius: 8px;
    overflow: hidden;
    background: #f8f9fa;
    border: 1px solid #f0f0f0;
}

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

/* 信息区:右侧垂直排列 */
.perf-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-around; /* 均匀分布 */
}

/* 每一行:取消所有段落默认边距 */
.perf-row {
    font-size: 0.9rem;
    line-height: 1.4;
    margin: 0 0 6px 0 !important;
    padding: 0 !important;
    display: block; /* 改为块级 */
}

.perf-label {
    color: #888;
    font-size: 0.8rem;
    display: block; /* 标签在上 */
}

.perf-value {
    color: #202122;
    font-weight: 500;
}

.perf-price {
    color: #e02e24;
    font-weight: bold;
}

/* PC 端适配 */
@media (min-width: 768px) {
    .perf-header { gap: 24px; padding: 20px; }
    .perf-poster { flex: 0 0 200px; }
    .perf-info { justify-content: flex-start; }
    .perf-row { margin-bottom: 12px !important; }
    .perf-label { display: inline; margin-right: 8px; font-size: 0.9rem; } /* PC端标签和内容同行 */
}
//