fix add assets/並更新全站引用

This commit is contained in:
2026-05-14 09:20:10 +08:00
parent a6525fdf44
commit c278df23e1
107 changed files with 1726 additions and 1720 deletions
+571
View File
@@ -0,0 +1,571 @@
body {
background-color: var(--);
}
.concert-page {
background-color: var(--deep-black);
margin: 0;
padding: 0;
}
.concert-archive-header {
width: 100%;
height: 100vh;
min-height: 100dvh;
background-image: url('../images/header.jpg');
background-position: center center;
background-repeat: no-repeat;
background-size: 108%;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
text-align: center;
padding: 0 20px;
overflow: hidden;
position: relative;
}
.main-title {
font-size: 3.5rem;
font-weight: 900;
color: var(--yellow);
margin: 0;
letter-spacing: 8px;
text-transform: uppercase;
text-shadow: 0 0 30px rgba(255, 221, 0, 0.75);
}
.subtitle-wrap {
margin-top: 25px;
display: flex;
align-items: center;
justify-content: center;
}
.subtitle-wrap::before,
.subtitle-wrap::after {
content: "";
flex: 1;
height: 3px;
background-color: #ffcc00;
/* 水晶黃 */
max-width: 60px;
}
.sub-title {
font-size: 1rem;
color: #d4d4d4;
letter-spacing: 6px;
margin: 0 25px;
}
body {
background-color: #fcfaf2;
/* 溫潤米白背景 */
margin: 0;
padding: 50px 0;
font-family: "PingFang TC", "Microsoft JhengHei", sans-serif;
}
/* CSS 效果 */
/* 1. 搜尋區塊容器:負責置中 */
.search-section {
width: 100%;
/* 撐滿寬度 */
display: flex;
/* 使用 Flexbox 佈局 */
justify-content: center;
/* 水平置中 */
margin: 40px 0;
/* 上下留白,讓視覺不擁擠 */
}
/* 2. 搜尋輸入框本體 */
.search-input {
width: 80%;
/* 行動裝置下佔 80% */
max-width: 400px;
/* 電腦版最大寬度 */
padding: 12px 25px;
/* 內縮,讓文字不貼邊 */
border: 2px solid #ddd;
/* 預設淺灰邊框 */
border-radius: 30px;
/* 膠囊造型圓角 */
font-size: 1rem;
outline: none;
/* 重要!移除瀏覽器預設的藍色外框 */
transition: all 0.3s ease;
/* 讓接下來的 focus 變化變平滑 */
background-color: #fff;
color: #333;
}
/* 3. 練習重點::focus (當滑鼠點擊準備打字時) */
.search-input:focus {
border-color: #ffcc00;
/* 變成代表色:水晶黃 */
box-shadow: 0 4px 15px rgba(255, 204, 0, 0.25);
/* 增加黃色柔和發光 */
width: 85%;
/* 點擊時微幅變長,增加回饋感 */
transform: translateY(-2px);
/* 輕微往上浮動 */
}
/* 4. 練習重點::hover (滑鼠只是滑過去,還沒點擊) */
.search-input:hover {
border-color: #bbb;
/* 邊框顏色稍微加深 */
}
.search-input {
width: 200px;
margin: 0 auto;
padding: 8px 15px;
border: 2px solid #eee;
border-radius: 20px;
transition: all 0.4s ease;
/* 平滑過渡 */
outline: none;
}
/* 當滑鼠點擊輸入框時 */
.search-input:focus {
width: 300px;
/* 輸入框變長 */
border-color: #ffcc00;
/* 變成水晶黃 */
box-shadow: 0 0 10px rgba(255, 204, 0, 0.2);
/* 淡淡的發光感 */
background-color: #fff;
}
.concert-container {
max-width: 1200px;
margin: 0 auto;
padding: 0 20px;
}
/* 第一層:演唱會卡片外殼 */
.con-1,
.con-2,
.con-3,
.con-4,
#yellownote-stage {
display: flex;
flex-direction: column;
background-color: #fff;
border-radius: 16px;
padding: 50px 100px;
margin-bottom: 50px;
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
border: 1px solid rgba(0, 0, 0, 0.02);
position: relative;
/* 關鍵:拿掉 overflow: hidden,改用子元素控制裁切 */
overflow: hidden;
}
img {
width: 50%;
margin: 0 auto;
align-items: center;
}
/* 重逢區:大卡垂直堆疊,錨點落在區塊頂端 */
#stage-now {
display: flex;
flex-direction: column;
gap: 0;
}
#yellownote-stage .yellownote-tagline {
margin: -1.5rem auto 1.75rem;
padding: 0 1rem;
text-align: center;
font-size: clamp(0.9rem, 1.8vw, 1rem);
font-weight: 650;
color: #555;
letter-spacing: 0.04em;
}
/* 右上角緞帶:改用獨立 div 或確保不被裁切 */
[data-tour]::after {
content: attr(data-tour);
position: absolute;
width: 200px;
text-align: center;
top: 30px;
right: -40px;
background: #eee;
color: #999;
font-size: 0.8rem;
padding: 10px 0;
transform: rotate(45deg);
z-index: 1;
/* 如果擔心緞帶超出卡片太醜,可將此設為透明或微調位置 */
}
.title {
display: block;
font-size: 1.5rem;
font-weight: 900;
margin: 50px;
text-align: center;
color: #333;
}
/* 燦爛的最初:小節標(對齊隔壁「一張大卡+多個場次列」) */
#stage-past .stage-past-era {
margin-top: 2.25rem;
}
#stage-past .stage-past-era:first-of-type {
margin-top: 0;
}
#stage-past .tour-era-heading {
display: block;
margin: 0 0 0.5rem;
padding: 0 1rem;
font-size: clamp(1rem, 2vw, 1.12rem);
font-weight: 800;
text-align: center;
color: #333;
}
#stage-past .tour-era-meta {
opacity: 0.9;
font-size: 0.92rem;
margin: 0 0 0.85rem;
padding: 0 1rem;
text-align: center;
color: #555;
}
/* 第二層:地點區塊 (通用選擇器) — con-X-X,不加左側直線(版面乾淨) */
[class*="con-"][class*="-"] {
padding: 10px 0 30px 20px;
margin: 15px 0 15px 10px;
position: relative;
background: linear-gradient(to right, #fffdf5, #fff);
border-radius: 4px;
counter-reset: track-counter;
}
/* 第三層:曲目 */
[class*="con-"]>div div {
padding-left: 35px;
font-size: 0.9rem;
color: #777;
margin: 5px 0;
/* 關鍵:拿掉因為 class 包含 "con-" 而被誤加的左邊線 */
border-left: none !important;
position: relative;
}
/* 針對曲目前方的圖示進行替換 */
[class*="con-"]>div div::before {
/* 1. 使用 Font Awesome 的音樂符號 Unicode (f001 是音樂符號) */
content: "\f001";
/* 2. 指定字體系列與粗細 (這是顯示圖示的關鍵) */
font-family: "Font Awesome 6 Free";
font-weight: 900;
/* 3. 顏色與大小微調 */
color: #ffcc00;
/* 使用你的水晶黃 */
font-size: 0.8rem;
/* 4. 位置修正:取代原本的 margin-left */
display: inline-block;
width: 25px;
/* 固定寬度讓文字對齊 */
margin-right: 5px;
/* 圖示與歌名間距 */
text-align: center;
/* 如果你堅持要保留原本的 30px 偏移,可以加在這裡 */
margin-left: 30px;
}
/* 修改:確保計數器能抓到這些 div */
[class*="con-"]>div div::after {
counter-increment: track-counter;
content: " #" counter(track-counter);
font-size: 0.7rem;
color: #ccc;
margin-left: 5px;
vertical-align: super;
}
/* 1. 針對 track-list 容器本身:關閉符號與計數 */
.track-list::before,
.track-list::after {
display: none !important;
content: none !important;
counter-increment: none !important;
}
/* 2. 針對 track-list 容器本身:拿掉縮排與邊框 */
.track-list {
padding: 0 !important;
margin: 0 !important;
border: none !important;
}
/* 3. 確保真正的曲目 (track-item) 正常顯示 */
.track-item {
display: block;
white-space: nowrap;
/* 強制不換行 */
overflow: hidden;
/* 隱藏超出部分 */
text-overflow: ellipsis;
/* 超出部分顯示 ... */
max-width: 85%;
/* 留空間給右邊的序號 */
position: relative;
padding-left: 35px;
/* 這裡留給 🎵 圖標 */
}
/* 進階:滑鼠移上去顯示完整文字 */
.track-item:hover {
overflow: visible;
white-space: normal;
background: #fff;
z-index: 10;
position: relative;
}
/* 地點圖示 */
.location::before {
/* 1. 使用 Unicode 編碼代替貼圖 */
content: "\f3c5";
/* 2. 指定字體系列 (重要!沒寫會變亂碼) */
font-family: "Font Awesome 6 Free";
/* 3. 指定字體粗細 (Solid 圖標通常需要 900) */
font-weight: 900;
/* 4. 原有的樣式調整 */
margin-right: 8px;
/* 這裡改用 margin-right 讓圖示在文字左邊 */
margin-left: 0;
/* 清除原本可能有的 margin-left */
color: #ffcc00;
/* 讓圖示顏色跟你的水晶黃對齊 */
font-size: 1.1rem;
display: inline-block;
margin-left: 30px;
}
/* --- 日期蓋章:全自動定位 --- */
/* 使用屬性選擇器,確保 con-1-1, 1-3, 2-1 都能顯示 */
.attended::before,
.attended::after {
position: absolute;
left: -20px;
/* 壓在黃線上 */
width: 45px;
text-align: center;
background-color: #ffcc00;
color: #333;
font-size: 9px;
font-weight: bold;
padding: 2px 4px;
border-radius: 4px;
box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.1);
z-index: 100;
border: 2px solid #fff;
/* 增加白邊避免被背景吃掉 */
}
/* 第一個日期 */
.attended::before {
content: attr(data-date1);
top: 5px;
transform: rotate(-12deg);
}
/* 第二個日期 (如果有) */
.attended::after {
content: attr(data-date2);
top: 28px;
transform: rotate(8deg);
background-color: #fceea7;
}
/* 如果沒有第二個日期,就隱藏框框 */
.attended:not([data-date2])::after {
display: none;
}
/* 針對單日參加 (只有 data-date 沒有序號) 的特殊處理 */
.attended[data-date]::before {
content: attr(data-date);
}
/* 1. 隱藏 checkbox 本身 */
.expand-trigger {
display: none;
}
/* 2. 預設隱藏第 2 個之後的 track-item */
.track-list .track-item:nth-child(n+3) {
display: none;
opacity: 0;
transition: opacity 0.5s ease;
}
/* 3. 當 Checkbox 被選中時,顯示所有曲目 */
.expand-trigger:checked+.track-list .track-item:nth-child(n+6) {
display: block;
opacity: 1;
}
/* 4. 設計「展開/收合」按鈕樣式 */
.expand-btn {
display: inline-block;
margin-top: 10px;
margin-left: 35px;
padding: 5px 15px;
background-color: #f5f5f5;
color: #999;
font-size: 0.8rem;
border-radius: 20px;
cursor: pointer;
transition: all 0.3s ease;
}
/* 5. 利用偽元素設定按鈕文字內容 */
.expand-btn::before {
content: "↓ 展開完整曲目";
}
.expand-trigger:checked~.expand-btn::before {
content: "↑ 收合曲目";
}
/* 懸停效果 */
.expand-btn:hover {
background-color: #ffcc00;
color: #333;
}
/* --- 2020 ACCESS:與其餘大卡同層級(title → img → con-X-1);::after=緞帶,CANCELED 水印用 ::before --- */
.con-4.con-access-denied[data-tour="ACCESS"] {
overflow: visible;
}
.con-4[data-tour="ACCESS"]::after {
background: #4a4a4a;
color: #fff;
z-index: 5;
}
.con-4.con-access-denied {
filter: grayscale(80%);
opacity: 0.7;
position: relative;
}
.con-access-denied .location::before {
color: #999 !important;
}
.con-access-denied .canceled::before,
.con-access-denied .canceled::after {
position: absolute;
left: -20px;
width: 45px;
text-align: center;
font-size: 9px;
font-weight: bold;
padding: 2px 4px;
border-radius: 4px;
box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.1);
z-index: 100;
border: 2px solid #fff;
background-color: #999 !important;
color: #fff !important;
text-decoration: line-through;
transform: rotate(0deg);
}
.con-access-denied .canceled::before {
content: attr(data-date1);
top: 5px;
}
.con-access-denied .canceled::after {
content: attr(data-date2);
top: 28px;
}
.con-access-denied .canceled:not([data-date2])::after {
display: none;
}
.con-access-denied .denied-text {
font-family: "Courier New", Courier, monospace;
color: #cc0000 !important;
font-size: 0.85rem;
font-style: italic;
padding-left: 35px;
}
.con-access-denied .track-item.denied-text {
white-space: normal;
max-width: 100%;
overflow: visible;
}
.con-access-denied .track-item.denied-text::before {
content: "\f071" !important;
font-family: "Font Awesome 6 Free" !important;
font-weight: 900 !important;
color: #cc0000 !important;
font-size: 0.8rem !important;
font-style: normal !important;
display: inline-block;
width: 25px;
margin-right: 5px;
text-align: center;
margin-left: 30px;
}
.con-access-denied .track-item.denied-text::after {
content: none !important;
display: none !important;
}
.con-access-denied .track-list .track-item {
display: block !important;
opacity: 1 !important;
}
.con-4.con-access-denied[data-tour="ACCESS"]::before {
content: "CANCELED";
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%) rotate(-15deg);
font-size: clamp(2rem, 10vw, 4.5rem);
font-weight: 900;
color: rgba(204, 0, 0, 0.1);
border: 8px solid rgba(204, 0, 0, 0.1);
padding: 10px 30px;
letter-spacing: 10px;
pointer-events: none;
z-index: 2;
white-space: nowrap;
}
+375
View File
@@ -0,0 +1,375 @@
.story-timeline {
position: relative;
max-width: 1000px;
margin: 50px auto;
padding: 20px 0;
}
/* 中央貫穿軸線 */
.story-timeline::after {
content: '';
position: absolute;
width: 6px;
background-color: var(--primary);
top: 0;
bottom: 0;
left: 50%;
margin-left: -3px;
border-radius: 10px;
}
.timeline-box {
padding: 10px 40px;
position: relative;
width: 50%;
box-sizing: border-box;
}
/* 圓形節點 */
.timeline-box::after {
content: '\f3a5';
font-family: "Font Awesome 6 Free" !important;
position: absolute;
width: 10px;
height: 10px;
right: -20px;
top: 15px;
z-index: 1;
display: flex;
justify-content: center;
align-items: center;
color: #FFD700;
text-shadow: 0 0 8px rgba(255, 215, 0, 0.5);
}
/* 左右交錯控制 */
.left {
left: 0;
text-align: right;
}
.right {
left: 50%;
text-align: left;
}
/* 日期標籤(膠囊型) */
.date-tag {
display: inline-block;
padding: 8px 20px;
background: var(--accent);
color: var(--text);
border-radius: 50px;
font-weight: bold;
margin-bottom: 10px;
}
.content h3 {
color: var(--primary);
margin: 10px 0;
}
.content p {
color: var(--text-muted);
line-height: 1.6;
}
#stage .stage-teaser {
margin-bottom: 1.75rem;
padding-bottom: 1.25rem;
border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}
#stage .stage-teaser:last-of-type {
border-bottom: 0;
margin-bottom: 0;
padding-bottom: 0;
}
/* albums/albums.html.archive-block 已改為 <section>,沿用 style.css 的 section 卡片版型 */
section.archive-block p {
color: #4a4a4a;
line-height: 1.7;
margin: 0 0 0.75rem;
}
section.archive-block p:last-child {
margin-bottom: 0;
}
/* albums/albums.html:精選作品表(含封面欄) */
.archive-discography {
width: 100%;
margin-top: 1.25rem;
}
.archive-discography .album-cover-cell {
width: 96px;
vertical-align: middle;
text-align: center;
padding: 10px 8px;
}
.archive-discography .album-cover-cell img {
width: 76px;
height: 76px;
object-fit: cover;
border-radius: 10px;
border: 1px solid rgba(255, 204, 0, 0.28);
box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
display: block;
margin: 0 auto;
background: #fff;
}
.archive-discography tbody tr.archive-row-spotify {
cursor: pointer;
}
.archive-discography tbody tr.archive-row-spotify:hover td {
background-color: rgba(255, 204, 0, 0.06);
}
.archive-discography tbody tr.archive-row-spotify:focus-visible {
outline: 2px solid rgba(255, 204, 0, 0.65);
outline-offset: -2px;
}
.landing-intro {
text-align: center;
padding: 28px 0 48px;
}
.landing-actions .btn {
margin: 8px 6px;
}
.archive-intro-lead {
text-align: center;
margin-top: 8px;
}
/* ---------- 首頁 home-page:閱讀寬度與字級(弱化對 vw 的依賴) ---------- */
/* 用 px 鎖上限,避免 72rem 隨根字級/無障礙字級變大(例如實測出 ~1390px) */
.home-page .container {
max-width: min(1200px, calc(100% - 2rem));
width: 100%;
margin-inline: auto;
padding: 2.5rem 1.25rem;
box-sizing: border-box;
}
.home-page #start .intro-text,
.home-page .container>section .intro-text {
max-width: 42rem;
margin-inline: auto;
}
.home-page #start .intro-text p.intro-text,
.home-page #start .core-description,
.home-page #start .call-to-action,
.home-page .container>section .intro-text>p.intro-text,
.home-page .container>section .intro-text .core-description,
.home-page .container>section .intro-text .call-to-action {
font-size: 1.0625rem;
line-height: 1.75;
color: #4a4a4a;
margin: 0 0 1.125rem;
}
.home-page #start .intro-text p:last-child {
margin-bottom: 0;
}
/* 與首頁同欄寬:區塊內列表(minister_ge 等) */
.home-page .container>section .intro-text ul {
margin: 0.5rem 0 0;
padding-left: 1.2rem;
color: #4a4a4a;
line-height: 1.75;
font-size: 1.0625rem;
}
.home-page .container>section .intro-text ul li {
margin-bottom: 0.75rem;
}
.home-page .container>section .intro-text ul li:last-child {
margin-bottom: 0;
}
/* 頂部一句話(深色底上,與舊 minister-hero-lead 同角色) */
.home-page .landing-intro {
color: #ececec;
max-width: 48rem;
margin-inline: auto;
}
.home-page .landing-intro p {
font-size: 1.1rem;
line-height: 1.65;
margin: 0;
}
.home-page .landing-intro .mark_b {
color: var(--light-yellow);
}
.home-page #intro .intro-text .slogan-quote--awakening + .core-description {
margin-top: 1rem;
}
/* 頁尾 CTA 區(首頁 landing-actions 延伸) */
.home-page .container>.landing-actions {
text-align: center;
margin-top: 0.5rem;
margin-bottom: 2rem;
}
/* minister_ge · 推廣部進化史:年份僅在軸標 data-era;卡內 h3 僅螢幕閱讀器可見 */
.home-page #journey .journey-year-sr {
position: absolute;
width: 1px;
height: 1px;
padding: 0;
margin: -1px;
overflow: hidden;
clip: rect(0, 0, 0, 0);
white-space: nowrap;
border: 0;
}
/* 推廣部進化史:副標白票。2016 僅用你提供的三個數值;年分黃票不改(沿用 style.css 的 ::after */
.home-page #journey .merged-storyline .story-node:has(.journey-sublabel) {
padding-top: 42px;
}
/* 疊序(僅此區):軸點鑽石 < 副標白票 < 年分黃標(標題在上) */
.home-page #journey .merged-storyline .story-node::before {
z-index: 2;
}
.home-page #journey .merged-storyline .story-node::after {
z-index: 6;
}
.home-page #journey .merged-storyline .story-node .journey-sublabel {
position: absolute;
z-index: 3;
margin: 0;
padding: 4px 10px;
border-radius: 8px;
font-size: 0.68rem;
font-weight: 700;
letter-spacing: 0.05em;
line-height: 1.25;
color: #2a2a2a;
text-align: center;
background: linear-gradient(180deg, #fffef6 0%, #fff3d6 100%);
border: 2px solid #fff;
box-shadow: 1px 3px 7px rgba(0, 0, 0, 0.12);
max-width: 8rem;
box-sizing: border-box;
}
/* 2016 基準(奇,靠軸角在右上):你給的 right / top / 角 */
.home-page #journey .merged-storyline .story-node:nth-of-type(odd):has(.journey-sublabel) .journey-sublabel {
right: 45px;
top: -8px;
transform: rotate(-10deg);
transform-origin: center center;
}
/* 2017 鏡像(偶,靠軸角在左上):角度 +10°;left 依實機微調 */
.home-page #journey .merged-storyline .story-node:nth-of-type(even):has(.journey-sublabel) .journey-sublabel {
left: 40px;
top: 2px;
transform: rotate(10deg);
transform-origin: center center;
}
.home-page #journey .merged-storyline .story-node .journey-sublabel + .journey-month {
margin-top: 0.5rem;
}
.home-page #journey .merged-storyline .story-node .journey-month {
margin: 0.75rem 0 0.3rem;
padding: 0.32rem 0.7rem 0.32rem 0;
border-right: 3px solid var(--primary);
border-left: 0;
font-size: 0.82rem;
font-weight: 800;
letter-spacing: 0.1em;
color: #6b5210;
line-height: 1.35;
background: linear-gradient(270deg, rgba(255, 204, 0, 0.14) 0%, transparent 100%);
}
.home-page #journey .merged-storyline .story-node .journey-month + p {
margin-top: 0;
margin-bottom: 0.35rem;
}
.home-page #journey .merged-storyline .story-node .journey-milestone {
margin: 1rem 0 0.35rem;
padding-top: 0.5rem;
border-top: 1px dashed rgba(255, 204, 0, 0.45);
font-size: 0.78rem;
font-weight: 800;
letter-spacing: 0.14em;
color: #8a6910;
}
.home-page #journey .merged-storyline .story-node .journey-milestone + p {
margin-top: 0;
}
.home-page #story > p.intro-text {
max-width: 44rem;
margin-inline: auto;
margin-bottom: 1.25rem;
font-size: 1.0625rem;
line-height: 1.75;
color: #4a4a4a;
}
@media (max-width: 900px) {
/* 主軸在左:僅微調副標橫向;年分仍用全站 merged-storyline 規則 */
.home-page #journey .merged-storyline .story-node:nth-of-type(odd):has(.journey-sublabel) .journey-sublabel {
left: 48px;
right: auto;
top: -8px;
transform: rotate(-10deg);
}
.home-page #journey .merged-storyline .story-node:nth-of-type(even):has(.journey-sublabel) .journey-sublabel {
left: 58px;
right: auto;
top: 2px;
transform: rotate(10deg);
}
}
@media (max-width: 640px) {
.home-page .container {
padding: 1.75rem 1rem;
}
.home-page #start .intro-text p.intro-text,
.home-page #start .core-description,
.home-page #start .call-to-action,
.home-page .container>section .intro-text>p.intro-text,
.home-page .container>section .intro-text .core-description,
.home-page .container>section .intro-text .call-to-action,
.home-page .container>section .intro-text ul,
.home-page #story > p.intro-text {
font-size: 1rem;
}
}
+182
View File
@@ -0,0 +1,182 @@
/* 歌詞頁:載入於 style.css 之後,並以 .lyrics-page 提高權重,避免被全站 table / body 洗版 */
body.lyrics-page {
--lyrics-bg: #2a2a2a;
--lyrics-paper: #faf6e8;
--lyrics-accent: #f5dfa8;
--lyrics-muted: #c9c2a8;
font-family: "Nanum Pen Script", cursive;
font-weight: 400;
font-style: normal;
background-color: var(--lyrics-bg) !important;
color: #fff !important;
margin: 0 !important;
padding: clamp(1rem, 4vw, 2.5rem) !important;
min-height: 100dvh;
line-height: 1.55;
overflow-x: hidden;
font-size: clamp(18px, 2.8vw, 26px);
}
body.lyrics-page h1 {
color: var(--lyrics-accent);
font-size: clamp(1.75rem, 4vw, 2.5rem);
text-align: center;
margin: 0 0 1.25rem;
letter-spacing: 0.02em;
}
body.lyrics-page .lyrics-layout {
max-width: 1100px;
margin: 0 auto;
}
body.lyrics-page .lyrics-main-table {
width: 100%;
max-width: 1100px;
margin: 0 auto;
table-layout: fixed;
border-collapse: separate;
border-spacing: clamp(0.75rem, 2.5vw, 1.75rem);
background: transparent !important;
box-shadow: none !important;
border-radius: 0 !important;
}
body.lyrics-page .lyrics-main-table > tbody > tr > td {
padding: 0 !important;
border: none !important;
border-bottom: none !important;
text-align: left !important;
color: inherit !important;
background: transparent !important;
}
/* 兩欄等寬 + 同一套「卡片区」留白與邊框,左右才對稱 */
body.lyrics-page .main-left,
body.lyrics-page .lyrics-text-cell,
body.lyrics-page .lyrics-map-cell,
body.lyrics-page .lyrics-contact-cell {
width: 50%;
max-width: none;
box-sizing: border-box;
padding: clamp(0.85rem, 2vw, 1.15rem) clamp(0.9rem, 2.2vw, 1.25rem) !important;
border-radius: 14px;
border: 1px solid rgba(255, 255, 255, 0.08);
background: rgba(0, 0, 0, 0.22);
}
body.lyrics-page .main-left,
body.lyrics-page .lyrics-text-cell {
vertical-align: top;
}
body.lyrics-page .lyrics-map-cell {
vertical-align: top;
}
body.lyrics-page .lyrics-contact-cell {
vertical-align: middle;
}
body.lyrics-page .main-left iframe {
display: block;
width: 100%;
border: 0;
border-radius: 10px;
box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
}
body.lyrics-page .songInfo {
color: var(--lyrics-accent);
display: grid;
grid-template-columns: max-content 1fr;
gap: 0.4rem 0.75rem;
align-items: baseline;
font-size: 1rem;
margin-top: 1rem;
}
body.lyrics-page .songInfo dt {
font-weight: 700;
color: var(--lyrics-muted);
}
body.lyrics-page .songInfo dd {
margin: 0;
}
body.lyrics-page .lyrics-main-table p {
color: #fff;
line-height: 1.55;
font-size: clamp(1rem, 2.2vw, 1.35rem);
margin: 0;
}
body.lyrics-page .lyrics-map-cell iframe {
box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
}
body.lyrics-page .lyrics-contact-cell .contact {
margin-top: 0;
}
body.lyrics-page a {
color: #b8e6ff;
text-decoration: underline;
text-underline-offset: 0.15em;
}
body.lyrics-page a:hover {
color: #fff;
}
body.lyrics-page .contact {
color: var(--lyrics-paper);
font-size: 0.95rem;
line-height: 1.65;
}
body.lyrics-page .contact h3 {
color: var(--lyrics-accent);
font-size: 1.15rem;
margin: 0.35rem 0 0.5rem;
font-family: "Nanum Pen Script", cursive;
}
body.lyrics-page .contact img {
max-height: 36px;
width: auto;
display: block;
margin-bottom: 0.35rem;
}
body.lyrics-page .contact i {
font-size: 0.75em;
margin-right: 0.35rem;
color: var(--lyrics-accent);
}
@media (max-width: 820px) {
body.lyrics-page .lyrics-main-table,
body.lyrics-page .lyrics-main-table tbody,
body.lyrics-page .lyrics-main-table tr,
body.lyrics-page .lyrics-main-table td {
display: block;
width: 100% !important;
}
body.lyrics-page .lyrics-main-table {
border-spacing: 0;
}
body.lyrics-page .main-left {
max-width: none;
margin-bottom: 1.5rem;
}
body.lyrics-page .lyrics-main-table > tbody > tr > td + td {
margin-top: 0.5rem;
}
}
+2085
View File
File diff suppressed because it is too large Load Diff
+218
View File
@@ -0,0 +1,218 @@
/* iPad/平板 RWD — max-width ≤1180px(含 iPad 直/橫與小平板/小筆電) */
@media (max-width: 1180px) {
html:has(body.map-page) {
scroll-padding-top: clamp(52px, 12vw, 76px);
}
nav,
.portal-nav {
padding-left: clamp(14px, 2vw + 10px, 32px) !important;
padding-right: clamp(14px, 2vw + 10px, 32px) !important;
row-gap: 12px;
flex-wrap: wrap;
align-items: flex-start;
}
.map-page .portal-nav {
padding-left: clamp(14px, 2vw + 10px, 32px) !important;
padding-right: clamp(14px, 2vw + 10px, 32px) !important;
}
.portal-nav .logo {
width: min(240px, 38vw);
max-width: 100%;
flex-shrink: 0;
}
.portal-nav>ul {
flex-wrap: wrap;
gap: clamp(12px, 2vw, 18px);
justify-content: flex-end;
min-width: 0;
flex: 1 1 280px;
}
.portal-nav>ul>li>a {
min-height: 44px;
display: inline-flex;
align-items: center;
}
nav ul {
gap: clamp(12px, 2vw, 20px);
}
header {
background-size: cover;
background-position: center center;
}
.hero h1 {
font-size: clamp(1.75rem, 2.25vw + 1rem, 2.35rem);
}
.hero p {
font-size: clamp(1rem, 1.5vw + 0.65rem, 1.15rem);
}
.container,
.content-container {
padding-left: clamp(14px, 1.5vw + 10px, 22px);
padding-right: clamp(14px, 1.5vw + 10px, 22px);
}
.home-page .container {
padding-left: clamp(14px, 1.5vw + 10px, 22px);
padding-right: clamp(14px, 1.5vw + 10px, 22px);
}
section {
padding: clamp(26px, 3vw + 18px, 36px) clamp(16px, 2.5vw + 12px, 28px) !important;
}
.story-grid {
gap: clamp(18px, 4vw, 28px);
grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
}
.card {
padding: clamp(18px, 4vw, 26px);
}
table {
font-size: 0.92rem;
}
table th,
table td {
padding: clamp(10px, 2vw, 14px);
}
/* 首頁/跨時空軌跡:鑽石主軸在平板改左側縱線(對齊舊 ≤900px 邏輯) */
.merged-storyline::before {
left: 18px;
transform: none;
}
.merged-storyline .story-node {
width: calc(100% - 44px);
margin-left: 44px;
margin-right: 0;
}
.merged-storyline .story-node:nth-of-type(odd),
.merged-storyline .story-node:nth-of-type(even) {
margin-left: 44px;
margin-right: 0;
}
.merged-storyline .story-node::before {
left: -39px;
right: auto;
}
.merged-storyline .story-node::after {
left: 14px;
right: auto;
transform: rotate(-8deg);
}
/* 紀實長卷/pillar 段落 */
.chronicle-reader,
.chronicle-pager {
max-width: min(920px, 100%);
}
.variety-block {
padding: clamp(18px, 4vw, 22px);
}
.map-archive-header .main-title,
.concert-archive-header .main-title {
letter-spacing: clamp(3px, 1vw, 6px);
}
.map-layout {
grid-template-columns: minmax(280px, 42%) minmax(0, 1fr);
gap: clamp(16px, 3vw, 22px);
}
.map-my-maps-frame {
height: min(52vh, 520px);
min-height: 360px;
}
.map-embed-all {
gap: 12px;
}
/* 重逢區兩張演唱會大卡之間留白 */
#stage-now {
gap: clamp(36px, 5vw, 50px);
}
/* 演唱會卡片內距 */
.con-1,
.con-2,
.con-3,
.con-4,
#yellownote-stage {
padding: clamp(32px, 5vw, 44px) clamp(22px, 5vw, 48px) !important;
}
.title {
margin: clamp(24px, 5vw, 40px) !important;
font-size: clamp(1.15rem, 2.8vw, 1.45rem);
}
.concert-container {
padding-left: clamp(12px, 3vw, 20px);
padding-right: clamp(12px, 3vw, 20px);
}
.search-input:focus {
max-width: 100%;
}
.concert-page .search-input:focus {
width: min(100%, 440px);
}
.concert-page img[src*="assets/images/concert/"] {
width: min(560px, 88%);
max-width: 100%;
}
/* 歌詞頁 */
body.lyrics-page {
margin: clamp(24px, 5vw, 56px) !important;
box-sizing: border-box;
overflow-x: hidden;
}
html:has(body.lyrics-page) {
font-size: 118.75% !important;
}
body.lyrics-page .lyrics-main-table {
border-spacing: clamp(12px, 3vw, 24px) !important;
max-width: 100%;
}
body.lyrics-page .main-left {
width: 100% !important;
display: block;
box-sizing: border-box;
}
body.lyrics-page .lyrics-main-table p {
font-size: 1.2rem !important;
max-width: none;
}
body.lyrics-page h1 {
font-size: clamp(1.6rem, 5vw, 2.1rem) !important;
}
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 145 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 98 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

+524
View File
@@ -0,0 +1,524 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.0//EN" "http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd">
<svg width="410" height="410" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<g id="quickmark" fill="black" transform="translate(40,40)">
<rect x="0" y="0" width="10" height="10"/>
<rect x="10" y="0" width="10" height="10"/>
<rect x="20" y="0" width="10" height="10"/>
<rect x="30" y="0" width="10" height="10"/>
<rect x="40" y="0" width="10" height="10"/>
<rect x="50" y="0" width="10" height="10"/>
<rect x="60" y="0" width="10" height="10"/>
<rect x="80" y="0" width="10" height="10"/>
<rect x="100" y="0" width="10" height="10"/>
<rect x="120" y="0" width="10" height="10"/>
<rect x="150" y="0" width="10" height="10"/>
<rect x="160" y="0" width="10" height="10"/>
<rect x="200" y="0" width="10" height="10"/>
<rect x="210" y="0" width="10" height="10"/>
<rect x="230" y="0" width="10" height="10"/>
<rect x="260" y="0" width="10" height="10"/>
<rect x="270" y="0" width="10" height="10"/>
<rect x="280" y="0" width="10" height="10"/>
<rect x="290" y="0" width="10" height="10"/>
<rect x="300" y="0" width="10" height="10"/>
<rect x="310" y="0" width="10" height="10"/>
<rect x="320" y="0" width="10" height="10"/>
<rect x="0" y="10" width="10" height="10"/>
<rect x="60" y="10" width="10" height="10"/>
<rect x="100" y="10" width="10" height="10"/>
<rect x="110" y="10" width="10" height="10"/>
<rect x="190" y="10" width="10" height="10"/>
<rect x="200" y="10" width="10" height="10"/>
<rect x="260" y="10" width="10" height="10"/>
<rect x="320" y="10" width="10" height="10"/>
<rect x="0" y="20" width="10" height="10"/>
<rect x="20" y="20" width="10" height="10"/>
<rect x="30" y="20" width="10" height="10"/>
<rect x="40" y="20" width="10" height="10"/>
<rect x="60" y="20" width="10" height="10"/>
<rect x="90" y="20" width="10" height="10"/>
<rect x="110" y="20" width="10" height="10"/>
<rect x="120" y="20" width="10" height="10"/>
<rect x="130" y="20" width="10" height="10"/>
<rect x="150" y="20" width="10" height="10"/>
<rect x="160" y="20" width="10" height="10"/>
<rect x="170" y="20" width="10" height="10"/>
<rect x="180" y="20" width="10" height="10"/>
<rect x="200" y="20" width="10" height="10"/>
<rect x="210" y="20" width="10" height="10"/>
<rect x="260" y="20" width="10" height="10"/>
<rect x="280" y="20" width="10" height="10"/>
<rect x="290" y="20" width="10" height="10"/>
<rect x="300" y="20" width="10" height="10"/>
<rect x="320" y="20" width="10" height="10"/>
<rect x="0" y="30" width="10" height="10"/>
<rect x="20" y="30" width="10" height="10"/>
<rect x="30" y="30" width="10" height="10"/>
<rect x="40" y="30" width="10" height="10"/>
<rect x="60" y="30" width="10" height="10"/>
<rect x="80" y="30" width="10" height="10"/>
<rect x="120" y="30" width="10" height="10"/>
<rect x="140" y="30" width="10" height="10"/>
<rect x="180" y="30" width="10" height="10"/>
<rect x="230" y="30" width="10" height="10"/>
<rect x="260" y="30" width="10" height="10"/>
<rect x="280" y="30" width="10" height="10"/>
<rect x="290" y="30" width="10" height="10"/>
<rect x="300" y="30" width="10" height="10"/>
<rect x="320" y="30" width="10" height="10"/>
<rect x="0" y="40" width="10" height="10"/>
<rect x="20" y="40" width="10" height="10"/>
<rect x="30" y="40" width="10" height="10"/>
<rect x="40" y="40" width="10" height="10"/>
<rect x="60" y="40" width="10" height="10"/>
<rect x="80" y="40" width="10" height="10"/>
<rect x="110" y="40" width="10" height="10"/>
<rect x="120" y="40" width="10" height="10"/>
<rect x="130" y="40" width="10" height="10"/>
<rect x="140" y="40" width="10" height="10"/>
<rect x="210" y="40" width="10" height="10"/>
<rect x="230" y="40" width="10" height="10"/>
<rect x="260" y="40" width="10" height="10"/>
<rect x="280" y="40" width="10" height="10"/>
<rect x="290" y="40" width="10" height="10"/>
<rect x="300" y="40" width="10" height="10"/>
<rect x="320" y="40" width="10" height="10"/>
<rect x="0" y="50" width="10" height="10"/>
<rect x="60" y="50" width="10" height="10"/>
<rect x="80" y="50" width="10" height="10"/>
<rect x="100" y="50" width="10" height="10"/>
<rect x="140" y="50" width="10" height="10"/>
<rect x="160" y="50" width="10" height="10"/>
<rect x="180" y="50" width="10" height="10"/>
<rect x="190" y="50" width="10" height="10"/>
<rect x="200" y="50" width="10" height="10"/>
<rect x="210" y="50" width="10" height="10"/>
<rect x="260" y="50" width="10" height="10"/>
<rect x="320" y="50" width="10" height="10"/>
<rect x="0" y="60" width="10" height="10"/>
<rect x="10" y="60" width="10" height="10"/>
<rect x="20" y="60" width="10" height="10"/>
<rect x="30" y="60" width="10" height="10"/>
<rect x="40" y="60" width="10" height="10"/>
<rect x="50" y="60" width="10" height="10"/>
<rect x="60" y="60" width="10" height="10"/>
<rect x="80" y="60" width="10" height="10"/>
<rect x="100" y="60" width="10" height="10"/>
<rect x="120" y="60" width="10" height="10"/>
<rect x="140" y="60" width="10" height="10"/>
<rect x="160" y="60" width="10" height="10"/>
<rect x="180" y="60" width="10" height="10"/>
<rect x="200" y="60" width="10" height="10"/>
<rect x="220" y="60" width="10" height="10"/>
<rect x="240" y="60" width="10" height="10"/>
<rect x="260" y="60" width="10" height="10"/>
<rect x="270" y="60" width="10" height="10"/>
<rect x="280" y="60" width="10" height="10"/>
<rect x="290" y="60" width="10" height="10"/>
<rect x="300" y="60" width="10" height="10"/>
<rect x="310" y="60" width="10" height="10"/>
<rect x="320" y="60" width="10" height="10"/>
<rect x="80" y="70" width="10" height="10"/>
<rect x="90" y="70" width="10" height="10"/>
<rect x="140" y="70" width="10" height="10"/>
<rect x="150" y="70" width="10" height="10"/>
<rect x="160" y="70" width="10" height="10"/>
<rect x="170" y="70" width="10" height="10"/>
<rect x="180" y="70" width="10" height="10"/>
<rect x="190" y="70" width="10" height="10"/>
<rect x="200" y="70" width="10" height="10"/>
<rect x="210" y="70" width="10" height="10"/>
<rect x="0" y="80" width="10" height="10"/>
<rect x="40" y="80" width="10" height="10"/>
<rect x="60" y="80" width="10" height="10"/>
<rect x="70" y="80" width="10" height="10"/>
<rect x="80" y="80" width="10" height="10"/>
<rect x="90" y="80" width="10" height="10"/>
<rect x="160" y="80" width="10" height="10"/>
<rect x="170" y="80" width="10" height="10"/>
<rect x="180" y="80" width="10" height="10"/>
<rect x="190" y="80" width="10" height="10"/>
<rect x="210" y="80" width="10" height="10"/>
<rect x="220" y="80" width="10" height="10"/>
<rect x="230" y="80" width="10" height="10"/>
<rect x="250" y="80" width="10" height="10"/>
<rect x="260" y="80" width="10" height="10"/>
<rect x="270" y="80" width="10" height="10"/>
<rect x="280" y="80" width="10" height="10"/>
<rect x="290" y="80" width="10" height="10"/>
<rect x="320" y="80" width="10" height="10"/>
<rect x="0" y="90" width="10" height="10"/>
<rect x="10" y="90" width="10" height="10"/>
<rect x="80" y="90" width="10" height="10"/>
<rect x="110" y="90" width="10" height="10"/>
<rect x="120" y="90" width="10" height="10"/>
<rect x="130" y="90" width="10" height="10"/>
<rect x="140" y="90" width="10" height="10"/>
<rect x="150" y="90" width="10" height="10"/>
<rect x="160" y="90" width="10" height="10"/>
<rect x="200" y="90" width="10" height="10"/>
<rect x="230" y="90" width="10" height="10"/>
<rect x="250" y="90" width="10" height="10"/>
<rect x="290" y="90" width="10" height="10"/>
<rect x="300" y="90" width="10" height="10"/>
<rect x="310" y="90" width="10" height="10"/>
<rect x="10" y="100" width="10" height="10"/>
<rect x="20" y="100" width="10" height="10"/>
<rect x="30" y="100" width="10" height="10"/>
<rect x="40" y="100" width="10" height="10"/>
<rect x="50" y="100" width="10" height="10"/>
<rect x="60" y="100" width="10" height="10"/>
<rect x="80" y="100" width="10" height="10"/>
<rect x="110" y="100" width="10" height="10"/>
<rect x="150" y="100" width="10" height="10"/>
<rect x="210" y="100" width="10" height="10"/>
<rect x="230" y="100" width="10" height="10"/>
<rect x="290" y="100" width="10" height="10"/>
<rect x="0" y="110" width="10" height="10"/>
<rect x="10" y="110" width="10" height="10"/>
<rect x="20" y="110" width="10" height="10"/>
<rect x="80" y="110" width="10" height="10"/>
<rect x="90" y="110" width="10" height="10"/>
<rect x="120" y="110" width="10" height="10"/>
<rect x="140" y="110" width="10" height="10"/>
<rect x="150" y="110" width="10" height="10"/>
<rect x="160" y="110" width="10" height="10"/>
<rect x="170" y="110" width="10" height="10"/>
<rect x="210" y="110" width="10" height="10"/>
<rect x="230" y="110" width="10" height="10"/>
<rect x="250" y="110" width="10" height="10"/>
<rect x="260" y="110" width="10" height="10"/>
<rect x="310" y="110" width="10" height="10"/>
<rect x="10" y="120" width="10" height="10"/>
<rect x="40" y="120" width="10" height="10"/>
<rect x="60" y="120" width="10" height="10"/>
<rect x="80" y="120" width="10" height="10"/>
<rect x="100" y="120" width="10" height="10"/>
<rect x="120" y="120" width="10" height="10"/>
<rect x="130" y="120" width="10" height="10"/>
<rect x="140" y="120" width="10" height="10"/>
<rect x="150" y="120" width="10" height="10"/>
<rect x="180" y="120" width="10" height="10"/>
<rect x="190" y="120" width="10" height="10"/>
<rect x="210" y="120" width="10" height="10"/>
<rect x="220" y="120" width="10" height="10"/>
<rect x="230" y="120" width="10" height="10"/>
<rect x="240" y="120" width="10" height="10"/>
<rect x="260" y="120" width="10" height="10"/>
<rect x="270" y="120" width="10" height="10"/>
<rect x="280" y="120" width="10" height="10"/>
<rect x="290" y="120" width="10" height="10"/>
<rect x="320" y="120" width="10" height="10"/>
<rect x="10" y="130" width="10" height="10"/>
<rect x="20" y="130" width="10" height="10"/>
<rect x="50" y="130" width="10" height="10"/>
<rect x="70" y="130" width="10" height="10"/>
<rect x="110" y="130" width="10" height="10"/>
<rect x="130" y="130" width="10" height="10"/>
<rect x="160" y="130" width="10" height="10"/>
<rect x="180" y="130" width="10" height="10"/>
<rect x="210" y="130" width="10" height="10"/>
<rect x="220" y="130" width="10" height="10"/>
<rect x="230" y="130" width="10" height="10"/>
<rect x="250" y="130" width="10" height="10"/>
<rect x="270" y="130" width="10" height="10"/>
<rect x="290" y="130" width="10" height="10"/>
<rect x="10" y="140" width="10" height="10"/>
<rect x="20" y="140" width="10" height="10"/>
<rect x="50" y="140" width="10" height="10"/>
<rect x="60" y="140" width="10" height="10"/>
<rect x="80" y="140" width="10" height="10"/>
<rect x="90" y="140" width="10" height="10"/>
<rect x="110" y="140" width="10" height="10"/>
<rect x="160" y="140" width="10" height="10"/>
<rect x="170" y="140" width="10" height="10"/>
<rect x="180" y="140" width="10" height="10"/>
<rect x="200" y="140" width="10" height="10"/>
<rect x="210" y="140" width="10" height="10"/>
<rect x="220" y="140" width="10" height="10"/>
<rect x="230" y="140" width="10" height="10"/>
<rect x="240" y="140" width="10" height="10"/>
<rect x="250" y="140" width="10" height="10"/>
<rect x="260" y="140" width="10" height="10"/>
<rect x="290" y="140" width="10" height="10"/>
<rect x="300" y="140" width="10" height="10"/>
<rect x="310" y="140" width="10" height="10"/>
<rect x="0" y="150" width="10" height="10"/>
<rect x="20" y="150" width="10" height="10"/>
<rect x="40" y="150" width="10" height="10"/>
<rect x="90" y="150" width="10" height="10"/>
<rect x="110" y="150" width="10" height="10"/>
<rect x="130" y="150" width="10" height="10"/>
<rect x="170" y="150" width="10" height="10"/>
<rect x="180" y="150" width="10" height="10"/>
<rect x="200" y="150" width="10" height="10"/>
<rect x="210" y="150" width="10" height="10"/>
<rect x="250" y="150" width="10" height="10"/>
<rect x="260" y="150" width="10" height="10"/>
<rect x="0" y="160" width="10" height="10"/>
<rect x="10" y="160" width="10" height="10"/>
<rect x="20" y="160" width="10" height="10"/>
<rect x="40" y="160" width="10" height="10"/>
<rect x="50" y="160" width="10" height="10"/>
<rect x="60" y="160" width="10" height="10"/>
<rect x="90" y="160" width="10" height="10"/>
<rect x="120" y="160" width="10" height="10"/>
<rect x="130" y="160" width="10" height="10"/>
<rect x="140" y="160" width="10" height="10"/>
<rect x="150" y="160" width="10" height="10"/>
<rect x="170" y="160" width="10" height="10"/>
<rect x="190" y="160" width="10" height="10"/>
<rect x="210" y="160" width="10" height="10"/>
<rect x="220" y="160" width="10" height="10"/>
<rect x="240" y="160" width="10" height="10"/>
<rect x="260" y="160" width="10" height="10"/>
<rect x="280" y="160" width="10" height="10"/>
<rect x="310" y="160" width="10" height="10"/>
<rect x="0" y="170" width="10" height="10"/>
<rect x="10" y="170" width="10" height="10"/>
<rect x="20" y="170" width="10" height="10"/>
<rect x="30" y="170" width="10" height="10"/>
<rect x="50" y="170" width="10" height="10"/>
<rect x="70" y="170" width="10" height="10"/>
<rect x="100" y="170" width="10" height="10"/>
<rect x="110" y="170" width="10" height="10"/>
<rect x="130" y="170" width="10" height="10"/>
<rect x="150" y="170" width="10" height="10"/>
<rect x="160" y="170" width="10" height="10"/>
<rect x="170" y="170" width="10" height="10"/>
<rect x="200" y="170" width="10" height="10"/>
<rect x="230" y="170" width="10" height="10"/>
<rect x="290" y="170" width="10" height="10"/>
<rect x="300" y="170" width="10" height="10"/>
<rect x="310" y="170" width="10" height="10"/>
<rect x="0" y="180" width="10" height="10"/>
<rect x="20" y="180" width="10" height="10"/>
<rect x="40" y="180" width="10" height="10"/>
<rect x="50" y="180" width="10" height="10"/>
<rect x="60" y="180" width="10" height="10"/>
<rect x="70" y="180" width="10" height="10"/>
<rect x="80" y="180" width="10" height="10"/>
<rect x="90" y="180" width="10" height="10"/>
<rect x="100" y="180" width="10" height="10"/>
<rect x="110" y="180" width="10" height="10"/>
<rect x="120" y="180" width="10" height="10"/>
<rect x="150" y="180" width="10" height="10"/>
<rect x="180" y="180" width="10" height="10"/>
<rect x="200" y="180" width="10" height="10"/>
<rect x="220" y="180" width="10" height="10"/>
<rect x="230" y="180" width="10" height="10"/>
<rect x="240" y="180" width="10" height="10"/>
<rect x="250" y="180" width="10" height="10"/>
<rect x="270" y="180" width="10" height="10"/>
<rect x="290" y="180" width="10" height="10"/>
<rect x="310" y="180" width="10" height="10"/>
<rect x="30" y="190" width="10" height="10"/>
<rect x="50" y="190" width="10" height="10"/>
<rect x="70" y="190" width="10" height="10"/>
<rect x="80" y="190" width="10" height="10"/>
<rect x="110" y="190" width="10" height="10"/>
<rect x="130" y="190" width="10" height="10"/>
<rect x="140" y="190" width="10" height="10"/>
<rect x="190" y="190" width="10" height="10"/>
<rect x="200" y="190" width="10" height="10"/>
<rect x="210" y="190" width="10" height="10"/>
<rect x="250" y="190" width="10" height="10"/>
<rect x="270" y="190" width="10" height="10"/>
<rect x="0" y="200" width="10" height="10"/>
<rect x="20" y="200" width="10" height="10"/>
<rect x="40" y="200" width="10" height="10"/>
<rect x="50" y="200" width="10" height="10"/>
<rect x="60" y="200" width="10" height="10"/>
<rect x="100" y="200" width="10" height="10"/>
<rect x="110" y="200" width="10" height="10"/>
<rect x="140" y="200" width="10" height="10"/>
<rect x="160" y="200" width="10" height="10"/>
<rect x="190" y="200" width="10" height="10"/>
<rect x="200" y="200" width="10" height="10"/>
<rect x="210" y="200" width="10" height="10"/>
<rect x="220" y="200" width="10" height="10"/>
<rect x="260" y="200" width="10" height="10"/>
<rect x="280" y="200" width="10" height="10"/>
<rect x="290" y="200" width="10" height="10"/>
<rect x="320" y="200" width="10" height="10"/>
<rect x="130" y="210" width="10" height="10"/>
<rect x="180" y="210" width="10" height="10"/>
<rect x="230" y="210" width="10" height="10"/>
<rect x="250" y="210" width="10" height="10"/>
<rect x="300" y="210" width="10" height="10"/>
<rect x="310" y="210" width="10" height="10"/>
<rect x="0" y="220" width="10" height="10"/>
<rect x="10" y="220" width="10" height="10"/>
<rect x="40" y="220" width="10" height="10"/>
<rect x="50" y="220" width="10" height="10"/>
<rect x="60" y="220" width="10" height="10"/>
<rect x="70" y="220" width="10" height="10"/>
<rect x="80" y="220" width="10" height="10"/>
<rect x="90" y="220" width="10" height="10"/>
<rect x="100" y="220" width="10" height="10"/>
<rect x="110" y="220" width="10" height="10"/>
<rect x="150" y="220" width="10" height="10"/>
<rect x="170" y="220" width="10" height="10"/>
<rect x="180" y="220" width="10" height="10"/>
<rect x="210" y="220" width="10" height="10"/>
<rect x="230" y="220" width="10" height="10"/>
<rect x="280" y="220" width="10" height="10"/>
<rect x="300" y="220" width="10" height="10"/>
<rect x="310" y="220" width="10" height="10"/>
<rect x="0" y="230" width="10" height="10"/>
<rect x="10" y="230" width="10" height="10"/>
<rect x="20" y="230" width="10" height="10"/>
<rect x="30" y="230" width="10" height="10"/>
<rect x="40" y="230" width="10" height="10"/>
<rect x="50" y="230" width="10" height="10"/>
<rect x="70" y="230" width="10" height="10"/>
<rect x="80" y="230" width="10" height="10"/>
<rect x="110" y="230" width="10" height="10"/>
<rect x="120" y="230" width="10" height="10"/>
<rect x="150" y="230" width="10" height="10"/>
<rect x="160" y="230" width="10" height="10"/>
<rect x="170" y="230" width="10" height="10"/>
<rect x="190" y="230" width="10" height="10"/>
<rect x="210" y="230" width="10" height="10"/>
<rect x="230" y="230" width="10" height="10"/>
<rect x="250" y="230" width="10" height="10"/>
<rect x="260" y="230" width="10" height="10"/>
<rect x="320" y="230" width="10" height="10"/>
<rect x="30" y="240" width="10" height="10"/>
<rect x="60" y="240" width="10" height="10"/>
<rect x="90" y="240" width="10" height="10"/>
<rect x="160" y="240" width="10" height="10"/>
<rect x="170" y="240" width="10" height="10"/>
<rect x="190" y="240" width="10" height="10"/>
<rect x="210" y="240" width="10" height="10"/>
<rect x="220" y="240" width="10" height="10"/>
<rect x="230" y="240" width="10" height="10"/>
<rect x="240" y="240" width="10" height="10"/>
<rect x="250" y="240" width="10" height="10"/>
<rect x="260" y="240" width="10" height="10"/>
<rect x="270" y="240" width="10" height="10"/>
<rect x="280" y="240" width="10" height="10"/>
<rect x="320" y="240" width="10" height="10"/>
<rect x="80" y="250" width="10" height="10"/>
<rect x="110" y="250" width="10" height="10"/>
<rect x="130" y="250" width="10" height="10"/>
<rect x="140" y="250" width="10" height="10"/>
<rect x="150" y="250" width="10" height="10"/>
<rect x="160" y="250" width="10" height="10"/>
<rect x="200" y="250" width="10" height="10"/>
<rect x="220" y="250" width="10" height="10"/>
<rect x="240" y="250" width="10" height="10"/>
<rect x="280" y="250" width="10" height="10"/>
<rect x="300" y="250" width="10" height="10"/>
<rect x="0" y="260" width="10" height="10"/>
<rect x="10" y="260" width="10" height="10"/>
<rect x="20" y="260" width="10" height="10"/>
<rect x="30" y="260" width="10" height="10"/>
<rect x="40" y="260" width="10" height="10"/>
<rect x="50" y="260" width="10" height="10"/>
<rect x="60" y="260" width="10" height="10"/>
<rect x="80" y="260" width="10" height="10"/>
<rect x="100" y="260" width="10" height="10"/>
<rect x="130" y="260" width="10" height="10"/>
<rect x="150" y="260" width="10" height="10"/>
<rect x="160" y="260" width="10" height="10"/>
<rect x="170" y="260" width="10" height="10"/>
<rect x="200" y="260" width="10" height="10"/>
<rect x="240" y="260" width="10" height="10"/>
<rect x="260" y="260" width="10" height="10"/>
<rect x="280" y="260" width="10" height="10"/>
<rect x="290" y="260" width="10" height="10"/>
<rect x="310" y="260" width="10" height="10"/>
<rect x="0" y="270" width="10" height="10"/>
<rect x="60" y="270" width="10" height="10"/>
<rect x="170" y="270" width="10" height="10"/>
<rect x="180" y="270" width="10" height="10"/>
<rect x="210" y="270" width="10" height="10"/>
<rect x="220" y="270" width="10" height="10"/>
<rect x="240" y="270" width="10" height="10"/>
<rect x="280" y="270" width="10" height="10"/>
<rect x="310" y="270" width="10" height="10"/>
<rect x="0" y="280" width="10" height="10"/>
<rect x="20" y="280" width="10" height="10"/>
<rect x="30" y="280" width="10" height="10"/>
<rect x="40" y="280" width="10" height="10"/>
<rect x="60" y="280" width="10" height="10"/>
<rect x="80" y="280" width="10" height="10"/>
<rect x="120" y="280" width="10" height="10"/>
<rect x="150" y="280" width="10" height="10"/>
<rect x="180" y="280" width="10" height="10"/>
<rect x="210" y="280" width="10" height="10"/>
<rect x="220" y="280" width="10" height="10"/>
<rect x="240" y="280" width="10" height="10"/>
<rect x="250" y="280" width="10" height="10"/>
<rect x="260" y="280" width="10" height="10"/>
<rect x="270" y="280" width="10" height="10"/>
<rect x="280" y="280" width="10" height="10"/>
<rect x="290" y="280" width="10" height="10"/>
<rect x="310" y="280" width="10" height="10"/>
<rect x="0" y="290" width="10" height="10"/>
<rect x="20" y="290" width="10" height="10"/>
<rect x="30" y="290" width="10" height="10"/>
<rect x="40" y="290" width="10" height="10"/>
<rect x="60" y="290" width="10" height="10"/>
<rect x="100" y="290" width="10" height="10"/>
<rect x="110" y="290" width="10" height="10"/>
<rect x="140" y="290" width="10" height="10"/>
<rect x="160" y="290" width="10" height="10"/>
<rect x="230" y="290" width="10" height="10"/>
<rect x="240" y="290" width="10" height="10"/>
<rect x="260" y="290" width="10" height="10"/>
<rect x="270" y="290" width="10" height="10"/>
<rect x="280" y="290" width="10" height="10"/>
<rect x="290" y="290" width="10" height="10"/>
<rect x="0" y="300" width="10" height="10"/>
<rect x="20" y="300" width="10" height="10"/>
<rect x="30" y="300" width="10" height="10"/>
<rect x="40" y="300" width="10" height="10"/>
<rect x="60" y="300" width="10" height="10"/>
<rect x="90" y="300" width="10" height="10"/>
<rect x="100" y="300" width="10" height="10"/>
<rect x="110" y="300" width="10" height="10"/>
<rect x="120" y="300" width="10" height="10"/>
<rect x="140" y="300" width="10" height="10"/>
<rect x="160" y="300" width="10" height="10"/>
<rect x="180" y="300" width="10" height="10"/>
<rect x="200" y="300" width="10" height="10"/>
<rect x="220" y="300" width="10" height="10"/>
<rect x="260" y="300" width="10" height="10"/>
<rect x="270" y="300" width="10" height="10"/>
<rect x="280" y="300" width="10" height="10"/>
<rect x="300" y="300" width="10" height="10"/>
<rect x="0" y="310" width="10" height="10"/>
<rect x="60" y="310" width="10" height="10"/>
<rect x="90" y="310" width="10" height="10"/>
<rect x="100" y="310" width="10" height="10"/>
<rect x="110" y="310" width="10" height="10"/>
<rect x="120" y="310" width="10" height="10"/>
<rect x="170" y="310" width="10" height="10"/>
<rect x="180" y="310" width="10" height="10"/>
<rect x="190" y="310" width="10" height="10"/>
<rect x="200" y="310" width="10" height="10"/>
<rect x="210" y="310" width="10" height="10"/>
<rect x="230" y="310" width="10" height="10"/>
<rect x="240" y="310" width="10" height="10"/>
<rect x="0" y="320" width="10" height="10"/>
<rect x="10" y="320" width="10" height="10"/>
<rect x="20" y="320" width="10" height="10"/>
<rect x="30" y="320" width="10" height="10"/>
<rect x="40" y="320" width="10" height="10"/>
<rect x="50" y="320" width="10" height="10"/>
<rect x="60" y="320" width="10" height="10"/>
<rect x="80" y="320" width="10" height="10"/>
<rect x="100" y="320" width="10" height="10"/>
<rect x="130" y="320" width="10" height="10"/>
<rect x="140" y="320" width="10" height="10"/>
<rect x="150" y="320" width="10" height="10"/>
<rect x="170" y="320" width="10" height="10"/>
<rect x="180" y="320" width="10" height="10"/>
<rect x="210" y="320" width="10" height="10"/>
<rect x="230" y="320" width="10" height="10"/>
<rect x="240" y="320" width="10" height="10"/>
<rect x="320" y="320" width="10" height="10"/>
</g></svg>

After

Width:  |  Height:  |  Size: 24 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 279 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 61 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 696 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 808 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 808 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 808 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 31 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 23 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 672 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 538 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 645 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 808 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 919 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

File diff suppressed because it is too large Load Diff

After

Width:  |  Height:  |  Size: 170 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 174 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 333 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 161 KiB

Binary file not shown.
Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 145 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 105 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 62 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 68 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 67 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 118 KiB

View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 127 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 56 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 42 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 162 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 83 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 401 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 21 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 60 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 300 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 128 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 54 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 43 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 546 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 23 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 71 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 606 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 726 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 502 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 323 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 99 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 96 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 79 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 134 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.8 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 519 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 460 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 518 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 286 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.3 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.3 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.3 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 722 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 MiB

+304
View File
@@ -0,0 +1,304 @@
(() => {
const canvas = document.getElementById("particles");
if (canvas) {
const ctx = canvas.getContext("2d");
let particles = [];
function resizeCanvas() {
canvas.width = window.innerWidth;
canvas.height = window.innerHeight;
}
class Particle {
constructor() {
this.x = Math.random() * canvas.width;
this.y = Math.random() * canvas.height;
this.size = Math.random() * 4 + 1;
this.speedX = Math.random() * 0.5 - 0.25;
this.speedY = Math.random() * 0.5 + 0.2;
}
update() {
this.x += this.speedX;
this.y += this.speedY;
if (this.y > canvas.height) this.y = 0;
}
draw() {
ctx.fillStyle = "#FFDD00";
ctx.globalAlpha = 0.6;
ctx.beginPath();
ctx.arc(this.x, this.y, this.size, 0, Math.PI * 2);
ctx.fill();
}
}
function initParticles() {
particles = [];
for (let i = 0; i < 80; i += 1) {
particles.push(new Particle());
}
}
function animateParticles() {
ctx.clearRect(0, 0, canvas.width, canvas.height);
for (const particle of particles) {
particle.update();
particle.draw();
}
requestAnimationFrame(animateParticles);
}
resizeCanvas();
initParticles();
animateParticles();
window.addEventListener("resize", () => {
resizeCanvas();
initParticles();
});
}
const tabs = Array.from(document.querySelectorAll(".tab-btn"));
const cards = Array.from(document.querySelectorAll(".polaroid-card"));
const searchInput = document.getElementById("itinerary-search");
const itineraryList = document.querySelector(".itinerary-list");
const detailPanel = document.getElementById("detail-panel");
const detailDate = document.getElementById("detail-date");
const detailTitle = document.getElementById("detail-title");
const detailDesc = document.getElementById("detail-desc");
const detailQuote = document.getElementById("detail-quote");
const detailTag = document.getElementById("detail-tag");
const detailLink = document.getElementById("detail-link");
const detailImage = document.getElementById("detail-image");
const memberMapFrame = document.getElementById("member-map");
const mapEmbedSingle = document.getElementById("map-embed-single");
const mapEmbedAll = document.getElementById("map-embed-all");
const openMapLink = document.getElementById("open-map-link");
const openMapLinksDual = document.getElementById("open-map-links-dual");
const openMapLinkKo = document.getElementById("open-map-link-ko");
const openMapLinkEun = document.getElementById("open-map-link-eun");
const dayGroups = new Map();
let currentMember = "all";
let currentKeyword = "";
const memberMaps = {
eun: {
embed: "https://www.google.com/maps/d/embed?mid=1VGZ76SPPjm3NWCBQe-hkm08oe5WPRJI&ehbc=2E312F",
open: "https://www.google.com/maps/d/u/0/viewer?mid=1VGZ76SPPjm3NWCBQe-hkm08oe5WPRJI"
},
ko: {
embed: "https://www.google.com/maps/d/embed?mid=1xpAsSoO8gNmMiW4x2sfkndISFTtjMQDw&hl=zh-TW&ehbc=2E312F",
open: "https://www.google.com/maps/d/u/0/viewer?mid=1xpAsSoO8gNmMiW4x2sfkndISFTtjMQDw"
}
};
const memberTripPrefix = {
ko: "高高父子遊台灣",
eun: "殷空少搭飛機去台灣高雄"
};
const memberSortOrder = { ko: 0, eun: 1 };
function normalizeMember(member) {
if (member === "kogo") return "ko";
return member;
}
function getMemberLabel(member) {
const normalized = normalizeMember(member);
if (normalized === "eun") return "殷志源";
if (normalized === "ko") return "高志溶";
return "未分類";
}
function getDayToken(rawDate) {
const match = String(rawDate || "").match(/Day\s*(\d+)/i);
if (!match) return String(rawDate || "未分類");
return "Day " + match[1];
}
function getGroupLabel(card) {
const date = getDayToken(card.dataset.date || "未分類");
const normalized = normalizeMember(card.dataset.member || "");
const prefix = memberTripPrefix[normalized] || getMemberLabel(normalized);
return prefix + "_" + date;
}
function setDualMapVisible(isAll) {
if (mapEmbedSingle && mapEmbedAll) {
mapEmbedSingle.hidden = isAll ? true : false;
mapEmbedAll.hidden = isAll ? false : true;
mapEmbedAll.setAttribute("aria-hidden", isAll ? "false" : "true");
}
if (openMapLink && openMapLinksDual) {
openMapLink.hidden = isAll ? true : false;
openMapLinksDual.hidden = isAll ? false : true;
}
}
function updateMapByMember(member) {
const normalized = normalizeMember(member);
if (normalized === "all") {
setDualMapVisible(true);
if (openMapLinkKo) openMapLinkKo.href = memberMaps.ko.open;
if (openMapLinkEun) openMapLinkEun.href = memberMaps.eun.open;
return;
}
setDualMapVisible(false);
const mapConfig = memberMaps[normalized];
if (!mapConfig || !memberMapFrame) return;
memberMapFrame.src = mapConfig.embed;
if (openMapLink) openMapLink.href = mapConfig.open;
}
function getCardSearchText(card) {
return [
card.dataset.date || "",
card.dataset.title || "",
card.dataset.desc || "",
card.dataset.tag || "",
].join(" ").toLowerCase();
}
function createDayGroup(dayLabel) {
const group = document.createElement("section");
group.className = "day-group";
group.dataset.day = dayLabel;
const toggle = document.createElement("button");
toggle.type = "button";
toggle.className = "day-toggle";
toggle.setAttribute("aria-expanded", "false");
toggle.innerHTML = "<span>" + dayLabel + "</span><i class='fa-solid fa-chevron-down'></i>";
const body = document.createElement("div");
body.className = "day-cards";
body.style.display = "none";
group.appendChild(toggle);
group.appendChild(body);
itineraryList.insertBefore(group, detailPanel);
dayGroups.set(dayLabel, { group, toggle, body });
return dayGroups.get(dayLabel);
}
function setDayExpanded(dayGroup, shouldExpand) {
dayGroup.toggle.setAttribute("aria-expanded", shouldExpand ? "true" : "false");
dayGroup.body.style.display = shouldExpand ? "grid" : "none";
dayGroup.group.classList.toggle("expanded", shouldExpand);
}
function initializeDayGroups() {
const sortedCards = [...cards].sort((a, b) => {
const memberA = normalizeMember(a.dataset.member || "");
const memberB = normalizeMember(b.dataset.member || "");
const memberDiff = (memberSortOrder[memberA] ?? 99) - (memberSortOrder[memberB] ?? 99);
if (memberDiff !== 0) return memberDiff;
const dayA = Number((getDayToken(a.dataset.date).match(/\d+/) || [999])[0]);
const dayB = Number((getDayToken(b.dataset.date).match(/\d+/) || [999])[0]);
return dayA - dayB;
});
sortedCards.forEach((card) => {
const dayLabel = getGroupLabel(card);
const dayGroup = dayGroups.get(dayLabel) || createDayGroup(dayLabel);
dayGroup.body.appendChild(card);
});
}
function updateDayGroupVisibility() {
dayGroups.forEach(({ group, body, toggle }) => {
const visibleCards = Array.from(body.querySelectorAll(".polaroid-card")).filter((card) => card.style.display !== "none");
group.style.display = visibleCards.length ? "" : "none";
if (!visibleCards.length) {
setDayExpanded({ group, toggle, body }, false);
}
});
}
function ensureExpandedForCard(card) {
const dayGroup = dayGroups.get(getGroupLabel(card));
if (!dayGroup) return;
setDayExpanded(dayGroup, true);
}
function setActiveCard(card, options = {}) {
const { expandDay = true } = options;
cards.forEach((item) => item.classList.remove("active"));
card.classList.add("active");
if (expandDay) {
ensureExpandedForCard(card);
}
const mapKey = currentMember === "all" ? "all" : currentMember;
updateMapByMember(mapKey);
detailDate.textContent = card.dataset.date || "";
detailTitle.textContent = card.dataset.title || "";
detailDesc.textContent = card.dataset.desc || "";
detailQuote.textContent = "「" + (card.dataset.quote || "") + "」";
detailTag.textContent = card.dataset.tag || "";
detailLink.href = card.dataset.link || "#";
detailImage.src = card.querySelector("img").src;
detailImage.alt = "節目截圖 - " + (card.dataset.title || "行程地點");
}
function applyFilter() {
let firstVisible = null;
cards.forEach((card) => {
const cardMember = normalizeMember(card.dataset.member || "");
const matchedMember = currentMember === "all" || cardMember === currentMember;
const matchedKeyword = !currentKeyword || getCardSearchText(card).includes(currentKeyword);
const matched = matchedMember && matchedKeyword;
card.style.display = matched ? "" : "none";
if (matched && !firstVisible) firstVisible = card;
});
updateDayGroupVisibility();
const activeVisibleCard = cards.find((card) => card.classList.contains("active") && card.style.display !== "none");
const fallbackCard = activeVisibleCard || firstVisible;
if (fallbackCard) {
setActiveCard(fallbackCard, { expandDay: false });
} else {
updateMapByMember(currentMember === "all" ? "all" : currentMember);
}
}
tabs.forEach((tab) => {
tab.addEventListener("click", () => {
tabs.forEach((item) => {
item.classList.remove("active");
item.setAttribute("aria-pressed", "false");
});
tab.classList.add("active");
tab.setAttribute("aria-pressed", "true");
currentMember = normalizeMember(tab.dataset.member || "all");
applyFilter();
});
});
if (searchInput) {
searchInput.addEventListener("input", (event) => {
currentKeyword = event.target.value.trim().toLowerCase();
applyFilter();
});
}
itineraryList.addEventListener("click", (event) => {
const toggle = event.target.closest(".day-toggle");
if (!toggle) return;
const group = toggle.closest(".day-group");
if (!group) return;
const dayGroup = dayGroups.get(group.dataset.day);
if (!dayGroup) return;
const isExpanded = dayGroup.toggle.getAttribute("aria-expanded") === "true";
setDayExpanded(dayGroup, !isExpanded);
});
cards.forEach((card) => {
card.addEventListener("click", () => {
setActiveCard(card, { expandDay: true });
if (window.innerWidth < 920) {
detailPanel.scrollIntoView({ behavior: "smooth", block: "start" });
}
});
});
initializeDayGroups();
applyFilter();
})();
+58
View File
@@ -0,0 +1,58 @@
(() => {
const canvas = document.getElementById("particles");
if (!canvas) return;
const ctx = canvas.getContext("2d");
let particles = [];
function resizeCanvas() {
canvas.width = window.innerWidth;
canvas.height = window.innerHeight;
}
class Particle {
constructor() {
this.x = Math.random() * canvas.width;
this.y = Math.random() * canvas.height;
this.size = Math.random() * 4 + 1;
this.speedX = Math.random() * 0.5 - 0.25;
this.speedY = Math.random() * 0.5 + 0.2;
}
update() {
this.x += this.speedX;
this.y += this.speedY;
if (this.y > canvas.height) this.y = 0;
}
draw() {
ctx.fillStyle = "#FFDD00";
ctx.globalAlpha = 0.6;
ctx.beginPath();
ctx.arc(this.x, this.y, this.size, 0, Math.PI * 2);
ctx.fill();
}
}
function initParticles() {
particles = [];
for (let i = 0; i < 80; i += 1) {
particles.push(new Particle());
}
}
function animateParticles() {
ctx.clearRect(0, 0, canvas.width, canvas.height);
for (const particle of particles) {
particle.update();
particle.draw();
}
requestAnimationFrame(animateParticles);
}
resizeCanvas();
initParticles();
animateParticles();
window.addEventListener("resize", () => {
resizeCanvas();
initParticles();
});
})();
+271
View File
@@ -0,0 +1,271 @@
(() => {
/**
* ── 導覽「尚未開放」連結 ─────────────────────────────────────────
* ① 整個檔案先關:COMING_SOON_PAGES(目前已含志源頁/演唱會/典藏/地圖/視覺進化論等)。
* ② index.html 細到錨點:INDEX_NAV_OPEN_HASHES。
* ③ 文案 NAV_SOON_PHRASES:每次「滑過或鍵盤聚焦」連結時隨機擇一句(不交錯只靠重整)。
* 浮層、title 與該次互動同步;無障礙用語固定為「尚無開放」(避免標籤隨機跳動)。
* 要調整詞句:改 NAV_SOON_PHRASES 即可。
*/
const NAV_SOON_PHRASES = ["奇蹟醞釀中", // 頁面準備中,呼應黃色奇蹟的誕生
"感動載入中", // 資料讀取中,連結入坑時的悸動
"初心校準中", // 結構調整中,呼應 LOGO 的六人設計核心
"黃海漫延中", // 視覺填充中,發想自黃色海洋填滿漆黑的過程
"傳奇編排中", // 內容整理中,記錄 1999 年榮譽與歷史軌跡
"夢想航行中", // 未來規劃中,期待水晶男孩的下一個十年
];
function pickSoonPhrase() {
return NAV_SOON_PHRASES[Math.floor(Math.random() * NAV_SOON_PHRASES.length)];
}
/** 每次互動重抽,讀者沿導覽滑動時會交錯看到不同字樣 */
function rollSoonLabel(link) {
const p = pickSoonPhrase();
link.style.setProperty("--portal-nav-soon-msg", JSON.stringify(p));
link.setAttribute("title", p);
}
const COMING_SOON_PAGES = new Set([
"variety.html",
"concert.html",
"albums.html",
"map.html",
"minister.html",
"minister_ge.html",
]);
/** 目前先開:淪陷瞬間 #origin + 子選單三項 #start / #mission / #timeline */
const INDEX_NAV_OPEN_HASHES = new Set(["#origin", "#start", "#mission", "#timeline"]);
function normalizePageKey(href) {
if (!href || href === "#") return "";
const core = href.split("#")[0].split("?")[0];
const parts = core.split("/").filter(Boolean);
const last = parts.length ? parts[parts.length - 1] : "";
return last.toLowerCase();
}
/** 比照原邏輯:取 href 前半與網址列檔名比對 */
function hrefMatchesCurrentPage(href, currentPage) {
if (!href || href === "#") return false;
const [filePart] = href.split("#");
const base = filePart.split("/").pop();
return base === currentPage;
}
/** 取得 #fragment(含 #);若無錨點則回傳空字串 */
function anchorFromHref(href) {
const i = href.indexOf("#");
if (i < 0) return "";
return href.slice(i).split("?")[0];
}
function markLinkComingSoon(link, originalHref) {
const visibleTitle = link.textContent.trim();
link.setAttribute("data-coming-soon", "true");
link.setAttribute("aria-disabled", "true");
link.setAttribute("aria-label", `${visibleTitle},尚無開放`);
const onSoonInteract = () => rollSoonLabel(link);
link.addEventListener("pointerenter", onSoonInteract);
link.addEventListener("focus", onSoonInteract);
link.addEventListener("touchstart", onSoonInteract, { passive: true });
if (!link.dataset.originalHref) {
link.dataset.originalHref = originalHref;
}
link.setAttribute("href", "#");
}
function linkShouldBeComingSoon(href, pageKey, pageKeysSoon) {
if (pageKeysSoon.has(pageKey)) {
return true;
}
if (pageKey === "index.html") {
const frag = anchorFromHref(href);
return !INDEX_NAV_OPEN_HASHES.has(frag);
}
return false;
}
/** 將籌備中規則套用至單一導覽列 */
function applyComingSoonToNav(nav) {
const pageKeysSoon = new Set(
[...COMING_SOON_PAGES].map((p) => normalizePageKey(String(p))).filter(Boolean),
);
nav.querySelectorAll('a[href]').forEach((link) => {
if (link.classList.contains("logo")) return;
const href = link.getAttribute("href");
if (!href || href === "#") return;
const pageKey = normalizePageKey(href);
if (!pageKey) return;
if (!linkShouldBeComingSoon(href, pageKey, pageKeysSoon)) return;
markLinkComingSoon(link, href);
});
nav.querySelectorAll(":scope > ul > li").forEach((li) => {
const trigger = li.querySelector(":scope > a[href]");
if (!trigger || trigger.classList.contains("logo")) return;
if (trigger.getAttribute("data-coming-soon") === "true") {
li.classList.add("coming-soon");
}
});
}
/**
* 站根與 `portal-nav.js` 同層;依腳本路徑與當前頁路徑計算回到站根的相對前綴(如 `../`)。
* 子資料夾內頁面之導覽連結必須帶此前綴,否則 `./assets/images`、`index.html` 會錯層。
*/
function portalNavRootPrefix() {
const el =
document.currentScript ||
Array.from(document.querySelectorAll("script[src*='portal-nav.js']")).find((s) => s.src);
if (!el?.src) return "./";
try {
const scriptPathname = new URL(el.src, window.location.href).pathname;
const scriptDirSegs = scriptPathname.split("/").filter(Boolean);
scriptDirSegs.pop();
const pageDirSegs = window.location.pathname.split("/").filter(Boolean);
pageDirSegs.pop();
let i = 0;
const a = scriptDirSegs;
const b = pageDirSegs;
while (i < a.length && i < b.length && a[i] === b[i]) {
i += 1;
}
const ups = b.length - i;
return ups > 0 ? "../".repeat(ups) : "./";
} catch {
return "./";
}
}
/** 全站導覽 HTML — `rp` 為站根相對前綴;僅修改此模板即可同步所有頁面 */
function buildPortalNavInnerHTML(rp) {
return `
<a class="logo" href="${rp}index.html"><img src="${rp}assets/images/logov.svg" alt="SECHSKIES Logo"></a>
<ul>
<li><a href="${rp}index.html#origin">淪陷瞬間</a>
<ul class="portal-submenu">
<li><a href="${rp}index.html#start">好奇的開端</a></li>
<li><a href="${rp}index.html#mission">成立的初衷</a></li>
<li><a href="${rp}index.html#timeline">跨時空軌跡</a></li>
<li><a href="${rp}index.html#story">傳奇的轉折</a></li>
</ul>
</li>
<li><a href="${rp}variety/variety.html">瘋子與天才</a>
<ul class="portal-submenu">
<li><a href="${rp}variety/variety.html#variety">瘋狂出演中</a></li>
<li><a href="${rp}variety/variety.html#stage">隊長的氣場</a></li>
</ul>
</li>
<li><a href="${rp}concert/concert.html">現場的震撼</a>
<ul class="portal-submenu">
<li><a href="${rp}concert/concert.html#stage-now">永恆的重逢</a></li>
<li><a href="${rp}concert/concert.html#stage-past">燦爛的最初</a></li>
</ul>
</li>
<li><a href="${rp}albums/albums.html">黃色留聲機</a>
<ul class="portal-submenu">
<li><a href="${rp}albums/albums.html#new">啟動新篇章</a></li>
<li><a href="${rp}albums/albums.html#classic">輝煌全盛期</a></li>
</ul>
</li>
<li><a href="${rp}map/map.html">聖地巡禮</a>
<ul class="portal-submenu">
<li><a href="${rp}map/map.html#taipei">台北聖地</a></li>
<li><a href="${rp}map/map.html#global">海外遠征</a></li>
</ul>
</li>
</ul>
`.trim();
}
const rootPrefix = portalNavRootPrefix();
document.querySelectorAll("nav.portal-nav[data-portal-nav]").forEach((nav) => {
nav.innerHTML = buildPortalNavInnerHTML(rootPrefix);
applyComingSoonToNav(nav);
});
const navs = Array.from(document.querySelectorAll(".portal-nav"));
if (!navs.length) return;
const currentPage = window.location.pathname.split("/").pop() || "index.html";
navs.forEach((nav) => {
const items = Array.from(nav.querySelectorAll("li"));
const soonLinks = Array.from(nav.querySelectorAll('a[data-coming-soon="true"]'));
const blockNavigation = (event) => {
event.preventDefault();
event.stopPropagation();
};
soonLinks.forEach((link) => {
link.addEventListener("click", blockNavigation);
link.addEventListener("auxclick", blockNavigation);
});
items.forEach((item) => {
const trigger = item.querySelector(":scope > a");
const submenu = item.querySelector(":scope > .portal-submenu");
if (!trigger || !submenu) return;
let closeTimer = null;
const openItem = () => {
if (closeTimer) window.clearTimeout(closeTimer);
items.forEach((other) => {
if (other !== item) other.classList.remove("open");
});
item.classList.add("open");
};
const scheduleClose = () => {
closeTimer = window.setTimeout(() => item.classList.remove("open"), 180);
};
item.addEventListener("mouseenter", openItem);
item.addEventListener("mouseleave", scheduleClose);
trigger.addEventListener("focus", openItem);
trigger.addEventListener("click", (event) => {
const isSoon = trigger.getAttribute("data-coming-soon") === "true";
if (window.innerWidth <= 1024) {
event.preventDefault();
if (!isSoon && !item.classList.contains("coming-soon")) {
item.classList.toggle("open");
}
return;
}
if (isSoon) {
event.preventDefault();
}
});
});
document.addEventListener("click", (event) => {
if (!nav.contains(event.target)) {
items.forEach((item) => item.classList.remove("open"));
}
});
const topLevelLinks = Array.from(nav.querySelectorAll(":scope > ul > li > a[href]"));
topLevelLinks.forEach((link) => {
const fallback = link.getAttribute("href");
const source = link.dataset.originalHref || fallback;
if (!source || source === "#") return;
if (hrefMatchesCurrentPage(source, currentPage)) {
link.classList.add("nav-current");
}
});
});
})();
+97
View File
@@ -0,0 +1,97 @@
(() => {
const hubButtons = Array.from(document.querySelectorAll("[data-totoga-hub]"));
const hubPanels = Array.from(document.querySelectorAll("[data-totoga-panel]"));
function setHubPanel(name) {
hubButtons.forEach((btn) => btn.classList.toggle("active", btn.dataset.totogaHub === name));
hubPanels.forEach((panel) => {
panel.hidden = panel.dataset.totogaPanel !== name;
});
}
hubButtons.forEach((btn) => {
btn.addEventListener("click", () => setHubPanel(btn.dataset.totogaHub));
});
const reader = document.getElementById("totoga2-reader");
if (!reader) return;
const chapters = Array.from(reader.querySelectorAll(".chronicle-chapter"));
const modeButtons = Array.from(document.querySelectorAll("[data-totoga-reader-mode]"));
const pager = document.getElementById("totoga2-pager");
const prevBtn = document.getElementById("totoga2-prev");
const nextBtn = document.getElementById("totoga2-next");
const indicator = document.getElementById("totoga2-chapter-indicator");
if (!pager || !prevBtn || !nextBtn || !indicator) return;
let currentIndex = 0;
function updatePagedView() {
chapters.forEach((chapter, index) => {
chapter.style.display = index === currentIndex ? "" : "none";
chapter.classList.toggle("active", index === currentIndex);
});
indicator.textContent = `${currentIndex + 1} / ${chapters.length}`;
prevBtn.disabled = currentIndex === 0;
nextBtn.disabled = currentIndex === chapters.length - 1;
}
function setReaderMode(mode) {
reader.dataset.mode = mode;
modeButtons.forEach((btn) => btn.classList.toggle("active", btn.dataset.totogaReaderMode === mode));
if (mode === "paged") {
pager.hidden = false;
updatePagedView();
} else {
pager.hidden = true;
chapters.forEach((chapter) => {
chapter.style.display = "";
chapter.classList.remove("active");
});
}
}
modeButtons.forEach((button) => {
button.addEventListener("click", () => setReaderMode(button.dataset.totogaReaderMode));
});
prevBtn.addEventListener("click", () => {
if (currentIndex > 0) {
currentIndex -= 1;
updatePagedView();
}
});
nextBtn.addEventListener("click", () => {
if (currentIndex < chapters.length - 1) {
currentIndex += 1;
updatePagedView();
}
});
const initialHub =
hubButtons.find((b) => b.classList.contains("active"))?.dataset.totogaHub ||
hubButtons[0]?.dataset.totogaHub ||
"video";
setHubPanel(initialHub);
setReaderMode("scroll");
function applyLocationHashNavigation() {
const hash = (location.hash || "").slice(1);
if (hash === "ebook") {
setHubPanel("ebook");
return;
}
if (hash && document.getElementById(hash)) {
setHubPanel("reader");
setReaderMode("scroll");
pager.hidden = true;
requestAnimationFrame(() => {
document.getElementById(hash)?.scrollIntoView({ behavior: "smooth", block: "start" });
});
}
}
applyLocationHashNavigation();
window.addEventListener("hashchange", applyLocationHashNavigation);
})();