diff --git a/variety/variety-shows.html b/variety/variety-shows.html index 3bbedf1..161208b 100644 --- a/variety/variety-shows.html +++ b/variety/variety-shows.html @@ -133,13 +133,27 @@ transition: background-color 0.15s ease; } - body.variety-shows-page .variety-table__year-toggle { - display: flex; - align-items: center; - justify-content: flex-start; - gap: 12px; + body.variety-shows-page .variety-table__year-bar { + padding: 0; + vertical-align: middle; + } + + body.variety-shows-page .variety-table__year-bar-inner { + position: relative; + display: block; width: 100%; min-height: 48px; + box-sizing: border-box; + } + + body.variety-shows-page .variety-table__year-toggle { + position: absolute; + left: 50%; + top: 50%; + z-index: 1; + display: inline-flex; + align-items: center; + justify-content: center; margin: 0; padding: 12px 16px; border: none; @@ -148,14 +162,22 @@ cursor: pointer; font: inherit; color: #333; - text-align: left; + text-align: center; + white-space: nowrap; + transform: translate(-50%, -50%); box-sizing: border-box; } body.variety-shows-page .variety-table__year-tail { - padding: 12px 16px; - text-align: right; - vertical-align: middle; + position: absolute; + right: 16px; + top: 50%; + z-index: 2; + display: inline-flex; + align-items: center; + gap: 0; + padding: 0; + transform: translateY(-50%); white-space: nowrap; cursor: pointer; } @@ -173,6 +195,7 @@ font-weight: 800; font-size: clamp(1rem, 2vw, 1.12rem); color: #333; + white-space: nowrap; } body.variety-shows-page .variety-table__year-meta { @@ -188,7 +211,7 @@ transition: transform 0.2s ease; } - body.variety-shows-page .variety-table__year-row.is-open .variety-table__year-chevron { + body.variety-shows-page .variety-table__year-row.is-open .variety-table__year-tail .variety-table__year-chevron { transform: rotate(180deg); } @@ -301,6 +324,13 @@
+ + + + + + + @@ -310,23 +340,18 @@ - - - - - - - - - + - @@ -413,15 +438,17 @@ class="fa-solid fa-circle-right variety-table__range-arrow" aria-hidden="true"> 02 - - + - @@ -480,15 +507,17 @@ class="fa-solid fa-circle-right variety-table__range-arrow" aria-hidden="true"> 05+導演版 - - + - @@ -535,15 +564,17 @@ class="fa-solid fa-circle-right variety-table__range-arrow" aria-hidden="true"> 05+導演版 - - + - @@ -616,15 +647,17 @@ class="fa-solid fa-circle-right variety-table__range-arrow" aria-hidden="true"> 11 - - + -
播出日期集數
+
+
-
- 6 檔 - +
+ 6 檔 + +
+
+
+
-
- 4 檔 - +
+ 4 檔 + +
+
+
+
-
- 3 檔 - +
+ 3 檔 + +
+
+
+
-
- 5 檔 - +
+ 5 檔 + +
+
+
+
-
- 2 檔 - +
+ 2 檔 + +
+