style 綜藝表對齊演唱會頁

This commit is contained in:
2026-05-17 13:30:21 +08:00
parent ecf8c3d255
commit dd12b395c8
+116 -114
View File
@@ -6,54 +6,65 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>水晶男孩|全員發瘋</title> <title>水晶男孩|全員發瘋</title>
<link rel="stylesheet" href="../assets/css/style.css"> <link rel="stylesheet" href="../assets/css/style.css">
<link rel="stylesheet" href="../assets/css/concert.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/css/all.min.css"> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/css/all.min.css">
<link rel="stylesheet" href="../assets/css/tablet.css"> <link rel="stylesheet" href="../assets/css/tablet.css">
<style> <style>
/* 本頁專用:綜藝出演總表(維基式表格) */ /* 本頁:對齊 concert.html 深色底+白卡片;表格僅此頁 */
body.variety-shows-page .variety-shows-main { body.variety-shows-page .variety-shows-container {
padding-bottom: 48px; padding: 50px 0 40px;
font-family: "PingFang TC", "Microsoft JhengHei", sans-serif;
} }
body.variety-shows-page .search-section { body.variety-shows-page .variety-shows-archive-card {
display: flex; background: #fff;
justify-content: center; border-radius: 16px;
width: 100%; padding: clamp(28px, 4vw, 48px) clamp(20px, 3vw, 56px);
margin: 0 0 1.25rem; margin-bottom: 0;
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
border: 1px solid rgba(0, 0, 0, 0.02);
position: relative; position: relative;
z-index: 1; z-index: 1;
overflow: hidden;
} }
body.variety-shows-page .search-input { body.variety-shows-page .variety-shows-heading {
width: min(100%, 400px); display: block;
padding: 12px 25px; margin: 0 0 1.25rem;
border: 2px solid #ddd; font-size: clamp(1.15rem, 2.5vw, 1.5rem);
border-radius: 30px; font-weight: 900;
font-size: 1rem; text-align: center;
outline: none;
transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
background-color: #fff;
color: #333; color: #333;
box-sizing: border-box; letter-spacing: 0.04em;
} }
body.variety-shows-page .search-input:hover { body.variety-shows-page .variety-shows-tabs {
border-color: #bbb; display: flex;
flex-wrap: wrap;
justify-content: center;
gap: 10px;
margin: 0 0 1.5rem;
} }
body.variety-shows-page .search-input:focus { body.variety-shows-page .variety-shows-table-slot[hidden] {
border-color: #ffcc00; display: none;
box-shadow: 0 4px 15px rgba(255, 204, 0, 0.25); }
transform: translateY(-2px);
body.variety-shows-page .variety-shows-table-slot+.variety-shows-table-slot {
margin-top: 2rem;
padding-top: 2rem;
border-top: 1px solid #eee;
} }
body.variety-shows-page .variety-table-wrap { body.variety-shows-page .variety-table-wrap {
width: 100%; width: 100%;
overflow-x: auto; overflow-x: auto;
-webkit-overflow-scrolling: touch; -webkit-overflow-scrolling: touch;
border-radius: 4px; margin: 0;
border-top: 4px solid var(--primary); background: transparent;
background: #fff; border: none;
box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06); box-shadow: none;
border-radius: 0;
} }
body.variety-shows-page .variety-table { body.variety-shows-page .variety-table {
@@ -61,83 +72,70 @@
min-width: 640px; min-width: 640px;
margin: 0; margin: 0;
border-collapse: collapse; border-collapse: collapse;
border-radius: 0; font-size: 0.9rem;
box-shadow: none; line-height: 1.5;
background: #fff; background: transparent;
font-size: 0.875rem;
line-height: 1.45;
} }
body.variety-shows-page .variety-table thead th { body.variety-shows-page .variety-table thead th {
background: #fff9e0; padding: 12px 10px;
color: #303030; border: none;
font-weight: 700; border-bottom: 2px solid #e6e6e6;
padding: 10px 8px; background: #fafafa;
border: 1px solid #d8d8d8; color: #333;
font-weight: 800;
text-align: center; text-align: center;
vertical-align: middle;
white-space: nowrap; white-space: nowrap;
} }
body.variety-shows-page .variety-table tbody td { body.variety-shows-page .variety-table tbody td {
padding: 8px 10px; padding: 11px 10px;
border: 1px solid #d8d8d8; border: none;
border-bottom: 1px solid #f0f0f0;
text-align: center; text-align: center;
vertical-align: middle; vertical-align: middle;
color: #303030; color: #444;
} }
body.variety-shows-page .variety-table__show-row:nth-child(even) td { body.variety-shows-page .variety-table--inner tbody tr:last-child td,
background: #fafafa; body.variety-shows-page .variety-table__year-list>.variety-table__show-row:last-child td {
border-bottom: 1px solid #f0f0f0;
} }
body.variety-shows-page .variety-table__year-row>td { body.variety-shows-page .variety-table__year-row>td {
padding: 0; padding: 0;
text-align: left; background: #fafafa;
vertical-align: middle; border-bottom: 2px solid #e8e8e8;
background: #fff9e0;
transition: background-color 0.15s ease; transition: background-color 0.15s ease;
} }
body.variety-shows-page .variety-table__year-row .variety-table__year-cell {
padding: 0;
background: #fff9e0;
}
body.variety-shows-page .variety-table__year-pad {
padding: 0;
background: #fff9e0;
border-left: none;
}
body.variety-shows-page .variety-table__year-toggle { body.variety-shows-page .variety-table__year-toggle {
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: space-between; justify-content: space-between;
gap: 12px; gap: 12px;
width: 100%; width: 100%;
min-height: 44px; min-height: 48px;
margin: 0; margin: 0;
padding: 12px 14px; padding: 12px 16px;
border: none; border: none;
border-radius: 0; border-radius: 0;
background: transparent; background: transparent;
cursor: pointer; cursor: pointer;
font: inherit; font: inherit;
color: inherit; color: #333;
text-align: left; text-align: left;
box-sizing: border-box; box-sizing: border-box;
} }
body.variety-shows-page .variety-table__year-row:not(.is-open)>td:has(.variety-table__year-toggle:hover), body.variety-shows-page .variety-table__year-row:not(.is-open)>td:has(.variety-table__year-toggle:hover),
body.variety-shows-page .variety-table__year-row:not(.is-open)>td:has(.variety-table__year-toggle:focus-visible) { body.variety-shows-page .variety-table__year-row:not(.is-open)>td:has(.variety-table__year-toggle:focus-visible) {
background: #fff6eb; background: #f5f5f5;
} }
body.variety-shows-page .variety-table__year-row.is-open .variety-table__year-toggle:hover, body.variety-shows-page .variety-table__year-row.is-open .variety-table__year-toggle:hover,
body.variety-shows-page .variety-table__year-row.is-open .variety-table__year-toggle:focus-visible { body.variety-shows-page .variety-table__year-row.is-open .variety-table__year-toggle:focus-visible {
background: #fff6eb; background: #f5f5f5;
outline: none;
} }
body.variety-shows-page .variety-table__year-toggle:focus-visible { body.variety-shows-page .variety-table__year-toggle:focus-visible {
@@ -145,20 +143,21 @@
} }
body.variety-shows-page .variety-table__year-label { body.variety-shows-page .variety-table__year-label {
font-weight: 700; font-weight: 800;
font-size: 1.05rem; font-size: clamp(1rem, 2vw, 1.12rem);
color: #5a4a12; color: #333;
} }
body.variety-shows-page .variety-table__year-meta { body.variety-shows-page .variety-table__year-meta {
margin-left: auto; margin-left: auto;
font-size: 0.82rem; font-size: 0.85rem;
color: #6a6a6a; font-weight: 600;
color: #777;
} }
body.variety-shows-page .variety-table__year-chevron { body.variety-shows-page .variety-table__year-chevron {
color: #b48c00; color: #999;
font-size: 0.9rem; font-size: 0.85rem;
transition: transform 0.2s ease; transition: transform 0.2s ease;
} }
@@ -166,12 +165,31 @@
transform: rotate(180deg); transform: rotate(180deg);
} }
body.variety-shows-page .variety-table__year-panel {
padding: 0;
background: #fff;
}
body.variety-shows-page .variety-table__year-panel[hidden] {
display: none;
}
body.variety-shows-page .variety-table--inner {
margin: 0;
}
body.variety-shows-page .variety-table__show-row[hidden] { body.variety-shows-page .variety-table__show-row[hidden] {
display: none; display: none;
} }
body.variety-shows-page .variety-table tbody tr.variety-table__show-row:nth-child(even) td,
body.variety-shows-page .variety-table--inner tbody tr:nth-child(even) td {
background: #fcfcfc;
}
body.variety-shows-page .variety-table .variety-table__program { body.variety-shows-page .variety-table .variety-table__program {
font-weight: 600; font-weight: 700;
color: #333;
} }
body.variety-shows-page .variety-table a { body.variety-shows-page .variety-table a {
@@ -186,11 +204,11 @@
body.variety-shows-page .variety-table a.variety-table__link--site { body.variety-shows-page .variety-table a.variety-table__link--site {
color: #5a4a12; color: #5a4a12;
font-weight: 600; font-weight: 700;
} }
body.variety-shows-page .variety-table .variety-table__date { body.variety-shows-page .variety-table .variety-table__date {
color: #303030; color: #444;
} }
body.variety-shows-page .variety-table__air-date { body.variety-shows-page .variety-table__air-date {
@@ -199,62 +217,43 @@
body.variety-shows-page .variety-table .variety-table__range-arrow { body.variety-shows-page .variety-table .variety-table__range-arrow {
margin: 0 0.18em; margin: 0 0.18em;
color: #303030; color: #666;
font-size: 0.82em; font-size: 0.82em;
vertical-align: 0.08em; vertical-align: 0.08em;
} }
body.variety-shows-page .variety-shows-note {
margin-top: 0.75rem;
font-size: 0.82rem;
color: #6a6a6a;
text-align: left;
line-height: 1.6;
}
body.variety-shows-page .variety-shows-tabs {
display: flex;
flex-wrap: wrap;
justify-content: center;
gap: 10px;
margin: 0 0 1.25rem;
}
body.variety-shows-page .variety-shows-table-slot {
margin-top: 0;
}
body.variety-shows-page .variety-shows-table-slot+.variety-shows-table-slot {
margin-top: 1.5rem;
}
body.variety-shows-page .variety-shows-table-slot[hidden] {
display: none;
}
body.variety-shows-page .variety-shows-back { body.variety-shows-page .variety-shows-back {
display: inline-flex; display: inline-flex;
align-items: center; align-items: center;
gap: 0.35rem; gap: 0.35rem;
margin-top: 1.5rem; margin-top: 1.75rem;
font-weight: 600; font-weight: 700;
color: #5a4a12; color: #5a4a12;
} }
body.variety-shows-page footer {
position: relative;
z-index: 1;
}
@media (max-width: 720px) { @media (max-width: 720px) {
body.variety-shows-page .variety-shows-archive-card {
padding: 20px 14px;
}
body.variety-shows-page .variety-table { body.variety-shows-page .variety-table {
font-size: 0.8rem; font-size: 0.8rem;
} }
body.variety-shows-page .variety-table thead th, body.variety-shows-page .variety-table thead th,
body.variety-shows-page .variety-table tbody td { body.variety-shows-page .variety-table tbody td {
padding: 7px 6px; padding: 9px 6px;
} }
} }
</style> </style>
</head> </head>
<body class="chronicle-page variety-shows-page"> <body class="concert-page variety-shows-page">
<header class="map-archive-header"> <header class="map-archive-header">
<div class="header-inner site-header-inner"> <div class="header-inner site-header-inner">
<h1 class="main-title">全員發瘋</h1> <h1 class="main-title">全員發瘋</h1>
@@ -268,13 +267,15 @@
<canvas id="particles"></canvas> <canvas id="particles"></canvas>
<main class="content-container variety-page-main variety-shows-main chronicle-reader"> <div class="search-section">
<section id="variety-shows" class="variety-block" aria-labelledby="variety-shows-title"> <input type="search" id="variety-shows-search" class="search-input" placeholder="搜尋成員或節目…"
<h2 class="section-title" id="variety-shows-title">全員發瘋</h2> autocomplete="off" aria-label="搜尋成員或節目">
<div class="search-section"> </div>
<input type="search" id="variety-shows-search" class="search-input" placeholder="搜尋成員或節目…"
autocomplete="off" aria-label="搜尋成員或節目"> <main class="concert-container variety-shows-container">
</div> <section id="variety-shows" class="variety-shows-archive" aria-labelledby="variety-shows-title">
<div class="variety-shows-archive-card">
<h2 class="variety-shows-heading" id="variety-shows-title">全員發瘋</h2>
<div class="variety-shows-tabs" role="tablist" aria-label="綜藝分類"> <div class="variety-shows-tabs" role="tablist" aria-label="綜藝分類">
<button type="button" class="tab-btn active" role="tab" id="variety-tab-all" data-tab="all" <button type="button" class="tab-btn active" role="tab" id="variety-tab-all" data-tab="all"
@@ -696,6 +697,7 @@
<a class="variety-shows-back" href="variety.html#variety"><i class="fa-solid fa-arrow-left" <a class="variety-shows-back" href="variety.html#variety"><i class="fa-solid fa-arrow-left"
aria-hidden="true"></i> 返回瘋子與天才</a> aria-hidden="true"></i> 返回瘋子與天才</a>
</div>
</section> </section>
</main> </main>