@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+TC:wght@100..900&display=swap'); :root { --primary: #ffcc00; --light-yellow: #fceea7; --dark-yellow: #4e492b; --black: #1a1a1a; --deep-black: #0a0a0a; --gray: #f4f4f4; --text-color: #333; --accent: #FFD700; --text: #1a1a1a; --card-bg: #1a1a1a; --bg-alt: #fcfaf2; --text-main: #333; --text-muted: #888; --surface: #fffdf7; --surface-soft: #fff9e8; } /* 1. 先處理 body 和全域,確保沒人亂給外距 */ * { margin: 0; padding: 0; box-sizing: border-box; } html, body { background-color: var(--deep-black); color: #eeeeee; height: 100%; margin: 0; padding: 0; overflow-x: hidden; } body { font-family: 'Noto Sans TC', system-ui, sans-serif; color: var(--text-color); line-height: 1.6; } header { width: 100%; height: 100vh; min-height: 100dvh; background-image: url('img/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; overflow: hidden; position: relative; } /* 導覽列 */ nav { background-color: var(--black); padding: 0.8rem; display: flex; justify-content: space-between; align-items: center; padding: 10px 100px; } .logo { width: 300px; height: auto; display: block; object-fit: contain; transform: translateY(5px); } .logo img { width: 100%; height: 100%; object-fit: contain; } nav ul { list-style: none; display: flex; justify-content: center; gap: 24px; } nav a { color: var(--primary); text-decoration: none; font-size: 0.95rem; letter-spacing: 1px; } nav a:hover { color: white; } #particles { position: fixed; inset: 0; width: 100vw; height: 100vh; display: block; z-index: 0; pointer-events: none; } header, nav, .container, footer { position: relative; z-index: 1; } /* 橫幅 Hero Section */ .hero { position: relative; z-index: 1; height: 100%; display: flex; flex-direction: column; justify-content: center; align-items: center; } .hero h1, .hero p { margin: 0; padding: 0.5rem; } .hero h1 { font-size: 2.5rem; line-height: 1.2; color: var(--primary); text-shadow: 0 0 30px rgba(255, 221, 0, 0.8); } .hero p { font-size: 1.2rem; color: var(--gray); } .btn { display: inline-block; padding: 10px 30px; background: var(--primary); color: #000; font-weight: bold; border-radius: 50px; text-decoration: none; transition: all 0.3s; } .btn:hover { transform: scale(1.1); background: #FFEE66; } /* 區塊容器 */ .container { max-width: 1000px; margin: 0 auto; padding: 40px 20px; } .section-title { color: var(--primary); text-align: center; font-size: 1.35rem; letter-spacing: 3px; margin-bottom: 20px; text-transform: uppercase; } .section-title::after { content: ""; display: block; width: 50px; height: 3px; background: var(--primary); margin: 15px auto 0; } .subtitle-wrap { margin: 4px auto 28px; display: flex; align-items: center; justify-content: center; } .subtitle-wrap::before, .subtitle-wrap::after { content: ""; flex: 1; height: 2px; background-color: var(--primary); max-width: 56px; opacity: 0.7; } .sub-title { font-size: 0.72rem; color: #7e7e7e; letter-spacing: 2.4px; margin: 0 18px; } .story-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 40px; max-width: 1200px; margin: 0 auto; } .card { background: linear-gradient(135deg, var(--surface-soft) 0%, #ffffff 100%); backdrop-filter: blur(10px); border: 1px solid rgba(255, 204, 0, 0.18); border-radius: 14px; padding: 30px; transition: 0.4s; box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08); } .card:hover { transform: translateY(-8px); border-color: var(--primary); box-shadow: 0 16px 32px rgba(0, 0, 0, 0.14); } .card h3 { color: #2e2e2e; margin-bottom: 15px; } .card p { color: #585858; } /* 統一 section 版型 */ section { margin-top: 0 !important; margin-bottom: 60px; background: var(--surface); padding: 44px 36px; border-radius: 16px; border: 1px solid rgba(255, 204, 0, 0.15); box-shadow: 0 14px 34px rgba(0, 0, 0, 0.15); position: relative; z-index: 10; } /* 作品列表表格 */ table { width: 100%; border-collapse: collapse; margin-top: 20px; border-radius: 12px; overflow: hidden; background: #fff; box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08); } table th { background-color: var(--primary); color: var(--black); padding: 12px; } table td { padding: 12px; border-bottom: 1px solid #ececec; text-align: center; color: #4a4a4a; } a { color: var(--text-color); text-decoration: none; } .story-archive { overflow: hidden; } /* 備註:移除主軸上方獨立鑽石後,將主軸上下邊界微調 4px,保留你要的留白節奏 */ .merged-storyline { position: relative; padding-top: 18px; padding-bottom: 4px; max-width: 960px; margin: 0 auto; } /* 備註:主軸往上/下各延伸 4px,避免線段在視覺上被截斷 */ .merged-storyline::before { content: ""; position: absolute; top: -4px; bottom: -4px; left: 50%; width: 4px; transform: translateX(-50%); background: linear-gradient(180deg, #ffde5f 0%, #ffcc00 45%, #f3b700 100%); border-radius: 8px; } .story-node { position: relative; width: calc(50% - 34px); margin-bottom: 28px; padding: 16px 18px; background: linear-gradient(135deg, var(--surface-soft) 0%, #fff 100%); border: 1px solid rgba(255, 204, 0, 0.18); border-radius: 12px; box-shadow: 0 10px 24px rgba(0, 0, 0, 0.1); } /* 備註:改回 Font Awesome 鑽石圖示,並加上 border-box 讓圓圈節點中心準確對齊主軸 */ .story-node::before { content: "\f3a5"; font-family: "Font Awesome 6 Free"; font-weight: 900; position: absolute; top: 6px; width: 30px; height: 30px; box-sizing: border-box; display: grid; place-items: center; line-height: 1; border-radius: 50%; background: #fffdf5; color: #e0b400; /* border: 2px solid var(--primary); box-shadow: 0 0 0 4px var(--surface), 0 4px 10px rgba(0, 0, 0, 0.14); */ z-index: 2; } /* 備註:時間標籤改成 concert 的日期章語言,並把字級放大到原本兩倍以上 */ .story-node::after { content: attr(data-era); position: absolute; top: -14px; background-color: var(--primary); color: #303030; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.5px; border-radius: 7px; padding: 3px 9px; border: 2px solid #fff; box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.16); z-index: 3; } /* 備註:改用奇偶自動分邊,新增中間節點時不需要手動加 class */ .merged-storyline .story-node:nth-of-type(odd) { margin-right: auto; margin-top: 30px; } .merged-storyline .story-node:nth-of-type(odd)::before { right: -49px; } .merged-storyline .story-node:nth-of-type(odd)::after { right: -10px; top: -20px; transform: rotate(30deg); } .merged-storyline .story-node:nth-of-type(even) { margin-left: auto; margin-top: 10px; } .merged-storyline .story-node:nth-of-type(even)::before { left: -49px; } .merged-storyline .story-node:nth-of-type(even)::after { left: -10px; top: -20px; transform: rotate(-30deg); } .story-node h3 { color: #303030; margin-bottom: 8px; font-size: 1rem; line-height: 1.5; } .story-node p { color: #575757; font-size: 0.9rem; line-height: 1.7; } @media (max-width: 900px) { /* 備註:手機版主軸維持在左側,避免鑽石與內容互相遮擋 */ .merged-storyline::before { left: 18px; transform: none; } .story-node { width: calc(100% - 44px); margin-left: 44px; } .story-node { margin-right: 0; margin-left: 44px; } .story-node::before { left: -39px; right: auto; } .story-node::after { left: 14px; right: auto; transform: rotate(-8deg); } } /* 頁尾 */ footer { background-color: var(--black); color: white; text-align: center; padding: 50px 0 20px; } .highlight { color: var(--dark-yellow); font-weight: bold; } /* map.html */ .map-archive-header { text-align: center; padding: 90px 20px 38px; background: #fcfaf2; } .map-archive-header .main-title { font-size: clamp(2rem, 4.5vw, 3.2rem); font-weight: 900; color: #333; letter-spacing: 8px; text-transform: uppercase; margin: 0; } .map-archive-header .subtitle-wrap { margin-top: 20px; } .map-archive-header .subtitle-wrap::before, .map-archive-header .subtitle-wrap::after { height: 3px; background-color: #ffcc00; max-width: 56px; } .map-archive-header .sub-title { font-size: 0.96rem; letter-spacing: 4px; color: #8a8a8a; } .map-layout { display: grid; grid-template-columns: minmax(320px, 40%) minmax(0, 1fr); gap: 26px; align-items: start; padding-top: 16px; } .member-tabs { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px; margin: 14px auto 14px; max-width: 1100px; padding: 4px 20px; } #itinerary-search { display: block; max-width: 1100px; width: 100%; margin: 0 auto 14px; padding: 10px 16px; border: 1px solid #e4dbb8; border-radius: 999px; font-size: 0.92rem; background: #fffef8; color: #444; outline: none; } #itinerary-search:focus { border-color: #ffcc00; box-shadow: 0 0 0 3px rgba(255, 204, 0, 0.2); } .tab-btn { border: 1px solid #e9d99d; background: #ffffff; color: #4a4a4a; border-radius: 999px; padding: 9px 18px; font-size: 0.93rem; font-weight: 700; cursor: pointer; transition: all 0.2s ease; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04); } .tab-btn:hover, .tab-btn.active { background: #ffcc00; color: #2f2f2f; border-color: #ffcc00; } .map-sticky { position: sticky; top: 22px; align-self: start; background: #fff; border-radius: 16px; padding: 18px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.07); border: 1px solid rgba(0, 0, 0, 0.04); } .map-title { color: #343434; font-size: 1.05rem; margin: 0 0 12px; letter-spacing: 1px; } #member-map { width: 100%; height: min(66vh, 640px); min-height: 420px; border: 0; border-radius: 12px; box-shadow: 0 10px 26px rgba(0, 0, 0, 0.1); } .map-link { display: inline-block; margin-top: 12px; font-size: 0.85rem; color: #7f6712; text-decoration: none; border-bottom: 1px solid rgba(127, 103, 18, 0.4); } .itinerary-list { background: transparent; border: 0; box-shadow: none; border-radius: 0; padding-top: 0; padding-bottom: 0; display: grid; gap: 14px; padding: 0 14px; } .day-group { padding: 0 !important; border: 0 !important; box-shadow: none !important; border-radius: 14px; background: #fff8df; overflow: hidden; width: 100%; margin: 0; } .day-toggle { width: calc(100% - 20px); margin: 10px auto 8px; border: 0; background: #fff8df; color: #4b4020; font-size: 0.95rem; font-weight: 800; letter-spacing: 0.4px; padding: 12px 16px; display: flex; align-items: center; justify-content: space-between; cursor: pointer; border-radius: 12px; } .day-toggle i { transition: transform 0.2s ease; } .day-group.expanded .day-toggle i { transform: rotate(180deg); } .day-cards { display: grid; gap: 10px; width: calc(100% - 20px); margin: 0 auto 10px; padding: 10px; background: #fff; border-radius: 12px; } .polaroid-card { display: flex; align-items: flex-start; gap: 14px; border-radius: 12px; padding: 12px; background: #fff; cursor: pointer; transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease; position: relative; } .polaroid-card::before { content: "\f111"; font-family: "Font Awesome 6 Free"; font-weight: 900; position: absolute; right: 12px; top: 10px; color: #ebd37a; font-size: 0.5rem; } .polaroid-card:hover, .polaroid-card.active { transform: translateY(-1px); box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08); background: #fffdf4; } .photo-frame { width: 118px; flex: 0 0 118px; } .photo-frame img { width: 100%; height: 86px; object-fit: cover; border-radius: 8px; } .card-content .date { display: inline-block; font-size: 0.72rem; color: #9a8851; margin-bottom: 2px; font-weight: 700; letter-spacing: 0.6px; } .card-content h3 { margin: 0 0 3px; font-size: 1rem; color: #323232; } .card-content .description { margin: 0 0 6px; font-size: 0.86rem; color: #6a6a6a; } .card-content .tag { font-size: 0.76rem; color: #8b7423; font-weight: 600; } .detail-panel { margin-top: 8px; border: 1px solid #eadfb2; border-radius: 12px; overflow: hidden; background: #fffef8; box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06); } .detail-photo img { width: 100%; max-height: 300px; object-fit: cover; display: block; } .detail-content { padding: 16px; } .detail-content h3 { margin: 4px 0 10px; color: #2c2c2c; font-size: 1.2rem; } .detail-content p { color: #5a5a5a; margin-bottom: 12px; line-height: 1.7; } .detail-content blockquote { margin: 0 0 10px; padding: 10px 12px; background: #fff7da; border-left: 3px solid #f0c02f; color: #65510e; font-size: 0.92rem; border-radius: 4px; } .detail-link { display: inline-block; margin-top: 8px; color: #7b6215; text-decoration: none; font-weight: 600; border-bottom: 1px solid rgba(123, 98, 21, 0.45); } @media (max-width: 920px) { .map-archive-header { padding: 76px 16px 30px; } .map-archive-header .main-title { letter-spacing: 4px; } .map-layout { grid-template-columns: 1fr; } #itinerary-search { width: calc(100% - 28px); } .map-sticky { position: static; padding: 14px; } #member-map { height: 320px; min-height: 320px; } .polaroid-card { flex-direction: column; gap: 10px; } .photo-frame { width: 100%; flex: none; } .photo-frame img { height: 170px; } .detail-content { padding: 13px; } }