feat:建立concert.html
This commit is contained in:
@@ -0,0 +1,273 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="zh-Hant">
|
||||
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>SECHSKIES Concert Archive</title>
|
||||
<style>
|
||||
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: 600px;
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
/* 第一層:演唱會卡片外殼 */
|
||||
.level-1,
|
||||
.level-2,
|
||||
.level-3 {
|
||||
background-color: #fff;
|
||||
border-radius: 16px;
|
||||
padding: 25px;
|
||||
margin-bottom: 40px;
|
||||
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: visible;
|
||||
}
|
||||
|
||||
/* 右上角緞帶:改用獨立 div 或確保不被裁切 */
|
||||
[data-tour]::after {
|
||||
content: attr(data-tour);
|
||||
position: absolute;
|
||||
top: 15px;
|
||||
right: -10px;
|
||||
background: #eee;
|
||||
color: #999;
|
||||
font-size: 10px;
|
||||
padding: 2px 20px;
|
||||
transform: rotate(45deg);
|
||||
z-index: 1;
|
||||
/* 如果擔心緞帶超出卡片太醜,可將此設為透明或微調位置 */
|
||||
}
|
||||
|
||||
.title {
|
||||
display: block;
|
||||
font-size: 1.5rem;
|
||||
font-weight: 900;
|
||||
margin-bottom: 20px;
|
||||
color: #333;
|
||||
}
|
||||
|
||||
/* 第二層:地點區塊 (通用選擇器) */
|
||||
/* 只要是 level-X-X 的格式都套用 */
|
||||
[class*="level-"][class*="-"] {
|
||||
padding-left: 20px;
|
||||
margin: 15px 0 15px 10px;
|
||||
border-left: 4px solid #eee;
|
||||
/* 預設灰線 */
|
||||
position: relative;
|
||||
background: linear-gradient(to right, #fffdf5, #fff);
|
||||
border-radius: 4px;
|
||||
counter-reset: track-counter;
|
||||
}
|
||||
|
||||
/* 參加過的場次:變黃線 */
|
||||
.attended {
|
||||
border-left: 4px solid #ffcc00 !important;
|
||||
}
|
||||
|
||||
/* 第三層:曲目 */
|
||||
[class*="level-"]>div>div {
|
||||
padding-left: 35px;
|
||||
font-size: 0.9rem;
|
||||
color: #777;
|
||||
margin: 5px 0;
|
||||
}
|
||||
|
||||
[class*="level-"]>div>div::before {
|
||||
content: "🎵 ";
|
||||
}
|
||||
|
||||
[class*="level-"]>div>div::after {
|
||||
counter-increment: track-counter;
|
||||
content: " #" counter(track-counter);
|
||||
font-size: 0.7rem;
|
||||
color: #ccc;
|
||||
margin-left: 5px;
|
||||
vertical-align: super;
|
||||
}
|
||||
|
||||
/* 📍 地點圖示 */
|
||||
.location::before {
|
||||
content: "📍";
|
||||
margin-right: 8px;
|
||||
}
|
||||
|
||||
/* --- 日期蓋章:全自動定位 --- */
|
||||
/* 使用屬性選擇器,確保 level-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);
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<!-- HTML 結構 -->
|
||||
<div class="search-section">
|
||||
<input type="text" class="search-input" placeholder="搜尋曲目或場次...">
|
||||
</div>
|
||||
<div class="concert-container">
|
||||
|
||||
<!-- 演唱會 01 -->
|
||||
<div class="level-1" data-tour="YELLOW NOTE">
|
||||
<span class="title">2016 SECHSKIES [YELLOW NOTE]</span>
|
||||
|
||||
<div class="level-1-1 attended" data-date1="09.10">
|
||||
<span class="location"> 首爾 | 首爾奧林匹克體操競技場</span>
|
||||
<div class="track-item"><span class="track">COM' BACK</span></div>
|
||||
<div class="track-item"><span class="track">THREE WORDS</span></div>
|
||||
</div>
|
||||
|
||||
<div class="level-1-2">
|
||||
<span class="location">大邱 | 大邱會展中心</span>
|
||||
<div><span class="track">Something Special</span></div>
|
||||
</div>
|
||||
|
||||
<div class="level-1-3 attended" data-date1="12.23" data-date2="12.24">
|
||||
<span class="location">釜山 | 釜山會展中心</span>
|
||||
<div class="track-item"><span class="track">Three Words</span></div>
|
||||
</div>
|
||||
<div class="level-1-4">
|
||||
<span class="location">首爾 | 蠶室室內體育館</span>
|
||||
<div><span class="track">Something Special</span></div>
|
||||
<div><span class="track">Three Words</span></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- 演唱會 02 -->
|
||||
<div class="level-2" data-tour="20TH ANNIV.">
|
||||
<span class="title">20TH ANNIVERSARY CONCERT</span>
|
||||
<div class="level-2-1 attended" data-date1="09.23">
|
||||
<span class="location">首爾:高尺天空巨蛋</span>
|
||||
<div><span class="track">Something Special</span></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
+285
@@ -0,0 +1,285 @@
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>SECHSKIES Concert Archive</title>
|
||||
<style>
|
||||
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: 600px;
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
/* 第一層:演唱會卡片外殼 */
|
||||
.level-1,
|
||||
.level-2,
|
||||
.level-3 {
|
||||
background-color: #fff;
|
||||
border-radius: 16px;
|
||||
padding: 25px;
|
||||
margin-bottom: 40px;
|
||||
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: visible;
|
||||
}
|
||||
|
||||
/* 右上角緞帶:改用獨立 div 或確保不被裁切 */
|
||||
[data-tour]::after {
|
||||
content: attr(data-tour);
|
||||
position: absolute;
|
||||
top: 15px;
|
||||
right: -10px;
|
||||
background: #eee;
|
||||
color: #999;
|
||||
font-size: 10px;
|
||||
padding: 2px 20px;
|
||||
transform: rotate(45deg);
|
||||
z-index: 1;
|
||||
/* 如果擔心緞帶超出卡片太醜,可將此設為透明或微調位置 */
|
||||
}
|
||||
|
||||
.title {
|
||||
display: block;
|
||||
font-size: 1.5rem;
|
||||
font-weight: 900;
|
||||
margin-bottom: 20px;
|
||||
color: #333;
|
||||
}
|
||||
|
||||
/* 第二層:地點區塊 (通用選擇器) */
|
||||
/* 只要是 level-X-X 的格式都套用 */
|
||||
[class*="level-"][class*="-"] {
|
||||
padding-left: 20px;
|
||||
margin: 15px 0 15px 10px;
|
||||
border-left: 4px solid #eee;
|
||||
/* 預設灰線 */
|
||||
position: relative;
|
||||
background: linear-gradient(to right, #fffdf5, #fff);
|
||||
border-radius: 4px;
|
||||
counter-reset: track-counter;
|
||||
}
|
||||
|
||||
/* 參加過的場次:變黃線 */
|
||||
.attended {
|
||||
border-left: 4px solid #ffcc00 !important;
|
||||
}
|
||||
|
||||
/* 第三層:曲目 */
|
||||
[class*="level-"]>div>div {
|
||||
padding-left: 35px;
|
||||
font-size: 0.9rem;
|
||||
color: #777;
|
||||
margin: 5px 0;
|
||||
}
|
||||
|
||||
[class*="level-"]>div>div::before {
|
||||
content: "🎵 ";
|
||||
}
|
||||
|
||||
[class*="level-"]>div>div::after {
|
||||
counter-increment: track-counter;
|
||||
content: " #" counter(track-counter);
|
||||
font-size: 0.7rem;
|
||||
color: #ccc;
|
||||
margin-left: 5px;
|
||||
vertical-align: super;
|
||||
}
|
||||
|
||||
/* 📍 地點圖示 */
|
||||
.location::before {
|
||||
content: "📍";
|
||||
margin-right: 8px;
|
||||
}
|
||||
|
||||
/* --- 日期蓋章:全自動定位 --- */
|
||||
/* 使用屬性選擇器,確保 level-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);
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<!-- HTML 結構 -->
|
||||
<div class="search-section">
|
||||
<input type="text" class="search-input" placeholder="搜尋曲目或場次...">
|
||||
</div>
|
||||
<div class="concert-container">
|
||||
|
||||
<!-- 演唱會 level-$ -->
|
||||
<div class="level-1" data-tour="YELLOW NOTE">
|
||||
<span class="title">2016 SECHSKIES [YELLOW NOTE]</span>
|
||||
|
||||
<!-- 地點 level-$-$ -->
|
||||
<div class="level-1-1 attended" data-date1="09.10">
|
||||
<span class="location"> 首爾 | 首爾奧林匹克體操競技場</span>
|
||||
<!-- 曲目 level-$-$-$ -->
|
||||
<div class="track-item"><span class="track">COM' BACK</span></div>
|
||||
<div class="track-item"><span class="track">THREE WORDS</span></div>
|
||||
</div>
|
||||
|
||||
<div class="level-1-2">
|
||||
<span class="location">大邱 | 大邱會展中心</span>
|
||||
<div><span class="track">Something Special</span></div>
|
||||
</div>
|
||||
|
||||
<div class="level-1-3 attended" data-date1="12.23" data-date2="12.24">
|
||||
<span class="location">釜山 | 釜山會展中心</span>
|
||||
<div class="track-item"><span class="track">Three Words</span></div>
|
||||
</div>
|
||||
<div class="level-1-4">
|
||||
<span class="location">首爾 | 蠶室室內體育館</span>
|
||||
<div><span class="track">Something Special</span></div>
|
||||
<div><span class="track">Three Words</span></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- 演唱會 02 -->
|
||||
<div class="level-2" data-tour="20TH ANNIV.">
|
||||
<span class="title">20TH ANNIVERSARY CONCERT</span>
|
||||
<div class="level-2-1">
|
||||
<span class="location">首爾:高尺天空巨蛋</span>
|
||||
<div><span class="track">Something Special</span></div>
|
||||
</div>
|
||||
<div class="level-2-2">
|
||||
<span class="location">光州 | 光州女大世大運體育</span>
|
||||
<div class="level-2-2-1"><span class="track">Something Special</span></div>
|
||||
<div class="level-2-2-2"><span class="track">Three Words</span></div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- 演唱會 03 -->
|
||||
<div class="level-3" data-tour="NOW・HERE・AGAIN.">
|
||||
<span class="title">2018 CONCERT [NOW・HERE・AGAIN]</span>
|
||||
<div class="level-3-1 attended" data-date1="10.13" data-date2="10.14">
|
||||
<span class="location">首爾:首爾奧林匹克體操競技場</span>
|
||||
<div class="level-3-1-1"><span class="track">Something Special</span></div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 808 KiB |
+10
-212
@@ -6,217 +6,7 @@
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>SECHSKIES - 水晶男孩傳奇介紹</title>
|
||||
<link rel="stylesheet" href="style.css">
|
||||
<style>
|
||||
/* 基本樣式與應援色設定 */
|
||||
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+TC:wght@100..900&display=swap');
|
||||
|
||||
:root {
|
||||
--yellow: #FFD700;
|
||||
/* 應援黃色 */
|
||||
--dark-yellow: #4e492b;
|
||||
--black: #1a1a1a;
|
||||
--gray: #f4f4f4;
|
||||
--text-color: #333;
|
||||
--dark: #777;
|
||||
--accent: #FFD700;
|
||||
}
|
||||
|
||||
* {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
html {
|
||||
background: #0A0A0A;
|
||||
min-height: 100%;
|
||||
}
|
||||
|
||||
body {
|
||||
font-family: 'Noto Sans TC', system-ui, sans-serif;
|
||||
color: var(--text-color);
|
||||
line-height: 1.6;
|
||||
overflow-x: hidden;
|
||||
}
|
||||
|
||||
header {
|
||||
/* aspect-ratio: 1920 / 1080; */
|
||||
/* width: 100%; */
|
||||
height: 100vh;
|
||||
/* 預設為全屏高度,實際高度由 JS 調整 */
|
||||
background-image: url(img/header.png);
|
||||
background-size: cover;
|
||||
background-position: center;
|
||||
background-repeat: no-repeat;
|
||||
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
text-align: center;
|
||||
/* position: relative; */
|
||||
overflow: hidden;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
vertical-align: bottom;
|
||||
/* 消除某些瀏覽器對區塊元素的底邊留白 */
|
||||
}
|
||||
|
||||
/* 導覽列 */
|
||||
nav {
|
||||
background-color: var(--black);
|
||||
padding: 0.5rem;
|
||||
position: sticky;
|
||||
top: 0;
|
||||
z-index: 1000;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
nav a {
|
||||
color: var(--yellow);
|
||||
text-decoration: none;
|
||||
margin: 0 20px;
|
||||
font-weight: bold;
|
||||
transition: 0.3s;
|
||||
}
|
||||
|
||||
nav a:hover {
|
||||
color: white;
|
||||
}
|
||||
|
||||
#particles {
|
||||
position: absolute;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
display: block;
|
||||
z-index: 1;
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
/* 橫幅 Hero Section */
|
||||
.hero {
|
||||
z-index: 2;
|
||||
position: relative;
|
||||
width: 100%;
|
||||
text-shadow: 0 0 10px rgba(28, 28, 26, 0.3);
|
||||
}
|
||||
|
||||
.hero h1 {
|
||||
font-size: 2.5rem;
|
||||
line-height: 1.2;
|
||||
color: var(--yellow);
|
||||
margin-bottom: 0.5rem;
|
||||
}
|
||||
|
||||
.hero p {
|
||||
font-size: 1.2rem;
|
||||
margin-bottom: 2rem;
|
||||
color: var(--gray);
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
/* 區塊容器 */
|
||||
.container {
|
||||
max-width: 1000px;
|
||||
margin: 0 auto;
|
||||
padding: 40px 20px;
|
||||
}
|
||||
|
||||
.story-grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
|
||||
gap: 40px;
|
||||
max-width: 1200px;
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
.card {
|
||||
/* background: rgba(0, 0, 0, 0.85); */
|
||||
border-radius: 20px;
|
||||
padding: 30px;
|
||||
transition: transform 0.4s, box-shadow 0.4s;
|
||||
}
|
||||
|
||||
.card:hover {
|
||||
transform: translateY(-15px);
|
||||
box-shadow: 0 5px 5px rgba(255, 221, 0, 0.2);
|
||||
}
|
||||
|
||||
.card h3 {
|
||||
color: var(--yellow);
|
||||
margin-bottom: 15px;
|
||||
}
|
||||
|
||||
section {
|
||||
margin-bottom: 60px;
|
||||
background: rgba(255, 255, 255, 0.95);
|
||||
padding: 30px;
|
||||
border-radius: 15px;
|
||||
box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
|
||||
position: relative;
|
||||
z-index: 10;
|
||||
}
|
||||
|
||||
|
||||
|
||||
/* 作品列表表格 */
|
||||
table {
|
||||
width: 100%;
|
||||
border-collapse: collapse;
|
||||
margin-top: 20px;
|
||||
}
|
||||
|
||||
table th {
|
||||
background-color: var(--yellow);
|
||||
color: var(--black);
|
||||
padding: 12px;
|
||||
}
|
||||
|
||||
table td {
|
||||
padding: 12px;
|
||||
border-bottom: 1px solid #ddd;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
a {
|
||||
color: var(--text-color);
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
/* 現在的故事線樣式 */
|
||||
.timeline {
|
||||
border-left: 3px solid var(--yellow);
|
||||
padding-left: 20px;
|
||||
margin-left: 10px;
|
||||
}
|
||||
|
||||
.timeline-item {
|
||||
margin-bottom: 20px;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.timeline-item::before {
|
||||
content: '';
|
||||
width: 12px;
|
||||
height: 12px;
|
||||
background: var(--black);
|
||||
border: 3px solid var(--yellow);
|
||||
border-radius: 50%;
|
||||
position: absolute;
|
||||
left: -31px;
|
||||
top: 5px;
|
||||
}
|
||||
|
||||
|
||||
.highlight {
|
||||
color: var(--dark-yellow);
|
||||
font-weight: bold;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
@@ -339,9 +129,17 @@
|
||||
<a href="https://jekkinoopy.github.io/Portfolio/" class="studio-link" target="_blank">
|
||||
Design by <strong>Jekkinoopy Studio</strong>
|
||||
</a>
|
||||
</footer>
|
||||
<!-- 粒子效果 -->
|
||||
</footer> <!-- 粒子效果 -->
|
||||
<script>
|
||||
// 根據圖片比例 (1920:1080) 調整 header 高度
|
||||
const header = document.querySelector('header');
|
||||
|
||||
function setHeaderHeight() {
|
||||
const width = window.innerWidth;
|
||||
const height = width * (1080 / 1920);
|
||||
header.style.height = height + 'px';
|
||||
}
|
||||
|
||||
// 確保在 DOM 完全載入後執行
|
||||
if (document.readyState === 'loading') {
|
||||
document.addEventListener('DOMContentLoaded', setHeaderHeight);
|
||||
|
||||
+73
@@ -0,0 +1,73 @@
|
||||
:root {
|
||||
/* 定義一個基礎大小,這就是你的「倍率開關」 */
|
||||
font-size: 26px;
|
||||
}
|
||||
|
||||
.nanum-pen-script-regular {
|
||||
font-family: "Nanum Pen Script", cursive;
|
||||
font-weight: 400;
|
||||
font-style: normal;
|
||||
}
|
||||
|
||||
body {
|
||||
margin: 10%;
|
||||
background-color: #333333;
|
||||
color: #ffffff;
|
||||
}
|
||||
|
||||
h1 {
|
||||
color: #FAEAB1;
|
||||
font-size: 2.5rem;
|
||||
/* 想要這區特別大一點就設 2.5 */
|
||||
}
|
||||
|
||||
.main-left {
|
||||
width: 50%;
|
||||
vertical-align: top;
|
||||
gap: 1rem;
|
||||
/* padding-right: 40px; */
|
||||
}
|
||||
|
||||
.songInfo {
|
||||
color: #FAEAB1;
|
||||
display: grid;
|
||||
grid-template-columns: max-content 1fr;
|
||||
gap: -10px;
|
||||
align-items: center;
|
||||
gap: 0.5rem;
|
||||
/* 原本的 8px 大約是 0.5rem */
|
||||
font-size: 1.2rem;
|
||||
/* 想要這區特別大一點就設 1.2 */
|
||||
}
|
||||
|
||||
/* .songInfo dd{
|
||||
margin: 5px 0;
|
||||
} */
|
||||
p {
|
||||
color: #fff;
|
||||
line-height: 1.5;
|
||||
gap: 0.5rem;
|
||||
/* 原本的 8px 大約是 0.5rem */
|
||||
font-size: 1.5rem;
|
||||
/* 想要這區特別大一點就設 1.2 */
|
||||
margin: auto;
|
||||
}
|
||||
|
||||
table {
|
||||
border-spacing: 40px;
|
||||
/* 左右間距 20px,上下 0 */
|
||||
border-collapse: separate;
|
||||
/* 必須是 separate,spacing 才會生效 */
|
||||
}
|
||||
|
||||
/* width: 100%; */
|
||||
/* border:#fff solid 1px; */
|
||||
a {
|
||||
color: #FFF;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.contact i {
|
||||
font-size: 0.6em;
|
||||
margin-right: 0.3rem;
|
||||
}
|
||||
@@ -9,6 +9,8 @@
|
||||
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
||||
<link href="https://fonts.googleapis.com/css2?family=Nanum+Pen+Script&display=swap" rel="stylesheet">
|
||||
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
|
||||
<link rel="stylesheet" href="lyrics.css">
|
||||
<link rel="stylesheet" href="style.css">
|
||||
<style>
|
||||
:root {
|
||||
/* 定義一個基礎大小,這就是你的「倍率開關」 */
|
||||
|
||||
@@ -1,87 +1,118 @@
|
||||
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+TC:wght@100..900&display=swap');
|
||||
|
||||
:root {
|
||||
/* 1. 核心主角:水晶黃 */
|
||||
--primary: #FFDD00;
|
||||
/* 主色:應援黃 */
|
||||
--yellow: #FFD700;
|
||||
/* 應援黃色 */
|
||||
--dark-yellow: #4e492b;
|
||||
--black: #1a1a1a;
|
||||
--gray: #f4f4f4;
|
||||
--text-color: #333;
|
||||
--dark: #777;
|
||||
--accent: #FFD700;
|
||||
/* 強調:較深一點的金色,用於 Hover 效果 */
|
||||
--secondary: #ea9a87;
|
||||
/* 次要:規範中的粉橘,用於柔和的提醒 */
|
||||
--text: #190604;
|
||||
/* 標題:採用規範中最深的 Core-900,壓住亮度 */
|
||||
--text-muted: #666666;
|
||||
/* 次要文字:規範中的 Gray-700 */
|
||||
--text-white: #ffffff;
|
||||
/* 純白:用於深色底部的文字 */
|
||||
|
||||
/* 背景顏色 */
|
||||
--bg: #292929;
|
||||
/* 大背景:規範中的輕灰 */
|
||||
--bg-alt: #ffffff;
|
||||
/* 區塊背景:純白 */
|
||||
|
||||
/* 4. 交互細節 */
|
||||
--interactive-hover: #862617;
|
||||
/* 懸停:規範中的深紅,點綴黃色的對比 */
|
||||
--shadow: rgba(0, 0, 0, 0.1);
|
||||
|
||||
/* 灰色系 (Gray Scale) */
|
||||
--gray-900: #333333;
|
||||
--gray-700: #777;
|
||||
--gray-500: #999999;
|
||||
--gray-300: #cccccc;
|
||||
--gray-100: #eeeeee;
|
||||
|
||||
--font-size: 16px;
|
||||
}
|
||||
|
||||
/* 1. 先處理 body 和全域,確保沒人亂給外距 */
|
||||
* {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
html {
|
||||
background: #0A0A0A;
|
||||
min-height: 100%;
|
||||
}
|
||||
|
||||
body {
|
||||
font-family: 'Noto Sans TC', system-ui, sans-serif;
|
||||
background: var(--bg);
|
||||
color: var(--text);
|
||||
color: var(--text-color);
|
||||
line-height: 1.6;
|
||||
overflow-x: hidden;
|
||||
}
|
||||
|
||||
header {
|
||||
height: 100vh;
|
||||
/* background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.8)), url('https://via.placeholder.com/1920x1080/FFDD00/000000?text=SECHSKIES') center/cover no-repeat; */
|
||||
/* aspect-ratio: 1920 / 1080; */
|
||||
width: 100%;
|
||||
/* 改用 vh (螢幕高度) 通常比 aspect-ratio 更能解決首屏留白問題 */
|
||||
min-height: 100vh;
|
||||
background-image: url(img/header.jpg);
|
||||
background-size: cover;
|
||||
background-position: center;
|
||||
background-repeat: no-repeat;
|
||||
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
|
||||
text-align: center;
|
||||
overflow: hidden;
|
||||
position: relative;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
vertical-align: bottom;
|
||||
/* 消除某些瀏覽器對區塊元素的底邊留白 */
|
||||
}
|
||||
|
||||
/* 導覽列 */
|
||||
nav {
|
||||
background-color: var(--black);
|
||||
padding: 0.5rem;
|
||||
position: sticky;
|
||||
top: 0;
|
||||
z-index: 1000;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
nav a {
|
||||
color: var(--yellow);
|
||||
text-decoration: none;
|
||||
margin: 0 20px;
|
||||
font-weight: bold;
|
||||
transition: 0.3s;
|
||||
}
|
||||
|
||||
nav a:hover {
|
||||
color: white;
|
||||
}
|
||||
|
||||
#particles {
|
||||
position: absolute;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
display: block;
|
||||
z-index: 1;
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
/* 橫幅 Hero Section */
|
||||
.hero {
|
||||
z-index: 2;
|
||||
position: relative;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.hero h1 {
|
||||
font-size: 2.5rem;
|
||||
line-height: 1.2;
|
||||
color: var(--primary);
|
||||
color: var(--yellow);
|
||||
text-shadow: 0 0 30px rgba(255, 221, 0, 0.8);
|
||||
margin-bottom: 0.5rem;
|
||||
}
|
||||
|
||||
.hero p {
|
||||
font-size: 1.2rem;
|
||||
margin-bottom: 2rem;
|
||||
/* margin-bottom: 2rem; */
|
||||
color: var(--gray);
|
||||
|
||||
}
|
||||
|
||||
.btn {
|
||||
display: inline-block;
|
||||
padding: 10px 30px;
|
||||
background: var(--primary);
|
||||
color: var(--text-white);
|
||||
background: var(--yellow);
|
||||
color: #000;
|
||||
font-weight: bold;
|
||||
border-radius: 50px;
|
||||
text-decoration: none;
|
||||
@@ -93,32 +124,12 @@
|
||||
background: #FFEE66;
|
||||
}
|
||||
|
||||
section {
|
||||
padding: 100px 8%;
|
||||
}
|
||||
|
||||
h2 {
|
||||
font-size: 3rem;
|
||||
color: var(--text-muted);
|
||||
text-align: center;
|
||||
margin-bottom: 60px;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
h2:after {
|
||||
content: '';
|
||||
width: 80px;
|
||||
height: 4px;
|
||||
background: var(--primary);
|
||||
position: absolute;
|
||||
bottom: -15px;
|
||||
left: 50%;
|
||||
transform: translateX(-50%);
|
||||
}
|
||||
|
||||
/* 故事背景 */
|
||||
#story {
|
||||
background: #111;
|
||||
/* 區塊容器 */
|
||||
.container {
|
||||
max-width: 1000px;
|
||||
margin: 0 auto;
|
||||
padding: 40px 20px;
|
||||
}
|
||||
|
||||
.story-grid {
|
||||
@@ -130,7 +141,7 @@
|
||||
}
|
||||
|
||||
.card {
|
||||
background: rgba(255, 255, 255, 0.05);
|
||||
/* background: rgba(0, 0, 0, 0.85); */
|
||||
border-radius: 20px;
|
||||
padding: 30px;
|
||||
transition: transform 0.4s, box-shadow 0.4s;
|
||||
@@ -138,171 +149,89 @@
|
||||
|
||||
.card:hover {
|
||||
transform: translateY(-15px);
|
||||
box-shadow: 0 20px 40px rgba(255, 221, 0, 0.2);
|
||||
box-shadow: 0 5px 5px rgba(255, 221, 0, 0.2);
|
||||
}
|
||||
|
||||
.card h3 {
|
||||
color: var(--primary);
|
||||
color: var(--yellow);
|
||||
margin-bottom: 15px;
|
||||
}
|
||||
|
||||
/* 成員介紹 */
|
||||
#members {
|
||||
background: linear-gradient(#1A1A2E, #0A0A0A);
|
||||
section {
|
||||
margin-bottom: 60px;
|
||||
background: rgba(255, 255, 255, 0.95);
|
||||
padding: 30px;
|
||||
border-radius: 15px;
|
||||
box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
|
||||
position: relative;
|
||||
z-index: 10;
|
||||
}
|
||||
|
||||
.members-grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
|
||||
gap: 30px;
|
||||
max-width: 1200px;
|
||||
margin: 0 auto;
|
||||
h2 {
|
||||
border-left: 5px solid var(--yellow);
|
||||
padding-left: 15px;
|
||||
color: var(--black);
|
||||
margin-bottom: 25px;
|
||||
}
|
||||
|
||||
.member {
|
||||
/* 作品列表表格 */
|
||||
table {
|
||||
width: 100%;
|
||||
border-collapse: collapse;
|
||||
margin-top: 20px;
|
||||
}
|
||||
|
||||
table th {
|
||||
background-color: var(--yellow);
|
||||
color: var(--black);
|
||||
padding: 12px;
|
||||
}
|
||||
|
||||
table td {
|
||||
padding: 12px;
|
||||
border-bottom: 1px solid #ddd;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.member img {
|
||||
width: 100%;
|
||||
border-radius: 20px;
|
||||
border: 4px solid var(--primary);
|
||||
transition: all 0.4s;
|
||||
}
|
||||
|
||||
.member:hover img {
|
||||
border-color: #FFEE66;
|
||||
transform: scale(1.05);
|
||||
}
|
||||
|
||||
.member h3 {
|
||||
margin-top: 15px;
|
||||
color: var(--primary);
|
||||
}
|
||||
|
||||
/* 歷年作品時間軸 */
|
||||
#discography {
|
||||
background: #111;
|
||||
a {
|
||||
color: var(--text-color);
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
/* 現在的故事線樣式 */
|
||||
.timeline {
|
||||
max-width: 1000px;
|
||||
margin: 0 auto;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.timeline:before {
|
||||
content: '';
|
||||
position: absolute;
|
||||
left: 50%;
|
||||
top: 0;
|
||||
bottom: 0;
|
||||
width: 6px;
|
||||
/* background: var(--primary); */
|
||||
opacity: 0.3;
|
||||
border-left: 3px solid var(--yellow);
|
||||
padding-left: 20px;
|
||||
margin-left: 10px;
|
||||
}
|
||||
|
||||
.timeline-item {
|
||||
margin: 60px 0;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
margin-bottom: 20px;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.timeline-item:nth-child(odd) {
|
||||
/* flex-direction: row-reverse; */
|
||||
}
|
||||
|
||||
.timeline-content {
|
||||
width: 45%;
|
||||
background: rgba(255, 221, 0, 0.1);
|
||||
padding: 25px;
|
||||
border-radius: 15px;
|
||||
border: 2px solid var(--primary);
|
||||
}
|
||||
|
||||
.timeline-year {
|
||||
width: 80px;
|
||||
height: 80px;
|
||||
background: var(--primary);
|
||||
color: #000;
|
||||
font-weight: bold;
|
||||
font-size: 1.5rem;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
.timeline-item::before {
|
||||
content: '';
|
||||
width: 12px;
|
||||
height: 12px;
|
||||
background: var(--black);
|
||||
border: 3px solid var(--yellow);
|
||||
border-radius: 50%;
|
||||
flex-shrink: 0;
|
||||
box-shadow: 0 0 20px rgba(255, 221, 0, 0.6);
|
||||
}
|
||||
|
||||
/* 現在的故事線 */
|
||||
#now {
|
||||
background: linear-gradient(to bottom, #1A1A2E, #0A0A0A);
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.now-content {
|
||||
max-width: 800px;
|
||||
margin: 0 auto;
|
||||
font-size: 1.2rem;
|
||||
position: absolute;
|
||||
left: -31px;
|
||||
top: 5px;
|
||||
}
|
||||
|
||||
/* 頁尾 */
|
||||
footer {
|
||||
background: var(--gray-900);
|
||||
background-color: var(--black);
|
||||
color: white;
|
||||
text-align: center;
|
||||
padding: 60px 20px;
|
||||
color: var(--text-muted);
|
||||
border-top: 1px solid var(--primary);
|
||||
padding: 20px 0;
|
||||
margin-top: 50px;
|
||||
}
|
||||
|
||||
footer p {
|
||||
color: var(--text-white);
|
||||
font-size: 1rem;
|
||||
margin-bottom: 15px;
|
||||
letter-spacing: 2px;
|
||||
}
|
||||
|
||||
/* 廣告連結容器 */
|
||||
.studio-link {
|
||||
display: inline-block;
|
||||
margin-top: 10px;
|
||||
color: var(--text-muted);
|
||||
text-decoration: none;
|
||||
font-size: 0.9rem;
|
||||
transition: all 0.3s ease;
|
||||
padding: 5px 15px;
|
||||
border: 1px solid transparent;
|
||||
border-radius: 20px;
|
||||
}
|
||||
|
||||
/* 廣告連結內的工作室名稱 */
|
||||
.studio-link strong {
|
||||
transition: 0.3s;
|
||||
}
|
||||
|
||||
/* 懸停效果:讓你的廣告連結更亮眼 */
|
||||
.studio-link:hover {
|
||||
color: var(--text-white);
|
||||
background: rgba(255, 255, 255, 0.05);
|
||||
border-color: var(--text-muted);
|
||||
transform: translateY(-3px);
|
||||
}
|
||||
|
||||
.studio-link:hover strong {
|
||||
text-shadow: 0 0 1px var(--primary);
|
||||
/* 懸停時名字發光 */
|
||||
}
|
||||
|
||||
/* 粒子背景效果 */
|
||||
#particles {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
z-index: 1;
|
||||
pointer-events: none;
|
||||
.highlight {
|
||||
color: var(--dark-yellow);
|
||||
font-weight: bold;
|
||||
}
|
||||
Reference in New Issue
Block a user