feat(footer): 實作頁尾架站者廣告連結

This commit is contained in:
2026-05-01 20:10:55 +08:00
parent 211c5b1690
commit 98faa60d10
3 changed files with 164 additions and 70 deletions
+18 -32
View File
@@ -5,9 +5,11 @@
<meta charset="UTF-8"> <meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>SECHSKIES - 水晶男孩傳奇介紹</title> <title>SECHSKIES - 水晶男孩傳奇介紹</title>
<link rel="stylesheet" href="style.css">
<style> <style>
/* 基本樣式與應援色設定 */ /* 基本樣式與應援色設定 */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+TC:wght@100..900&display=swap'); @import url('https://fonts.googleapis.com/css2?family=Noto+Sans+TC:wght@100..900&display=swap');
:root { :root {
--yellow: #FFD700; --yellow: #FFD700;
/* 應援黃色 */ /* 應援黃色 */
@@ -40,7 +42,8 @@
header { header {
/* aspect-ratio: 1920 / 1080; */ /* aspect-ratio: 1920 / 1080; */
/* width: 100%; */ /* width: 100%; */
height: 100vh; /* 預設為全屏高度,實際高度由 JS 調整 */ height: 100vh;
/* 預設為全屏高度,實際高度由 JS 調整 */
background-image: url(img/header.png); background-image: url(img/header.png);
background-size: cover; background-size: cover;
background-position: center; background-position: center;
@@ -54,7 +57,8 @@
overflow: hidden; overflow: hidden;
margin: 0; margin: 0;
padding: 0; padding: 0;
vertical-align: bottom; /* 消除某些瀏覽器對區塊元素的底邊留白 */ vertical-align: bottom;
/* 消除某些瀏覽器對區塊元素的底邊留白 */
} }
/* 導覽列 */ /* 導覽列 */
@@ -104,26 +108,15 @@
color: var(--yellow); color: var(--yellow);
margin-bottom: 0.5rem; margin-bottom: 0.5rem;
} }
.hero p { .hero p {
font-size: 1.2rem; font-size: 1.2rem;
margin-bottom: 2rem; margin-bottom: 2rem;
color: var(--gray); color: var(--gray);
} }
.btn {
display: inline-block;
padding: 10px 30px;
background: var(--yellow);
color: #000;
font-weight: bold;
border-radius: 50px;
text-decoration: none;
transition: all 0.3s;
}
.btn:hover {
transform: scale(1.1);
background: #FFEE66;
}
/* 區塊容器 */ /* 區塊容器 */
@@ -132,6 +125,7 @@
margin: 0 auto; margin: 0 auto;
padding: 40px 20px; padding: 40px 20px;
} }
.story-grid { .story-grid {
display: grid; display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
@@ -139,16 +133,19 @@
max-width: 1200px; max-width: 1200px;
margin: 0 auto; margin: 0 auto;
} }
.card { .card {
/* background: rgba(0, 0, 0, 0.85); */ /* background: rgba(0, 0, 0, 0.85); */
border-radius: 20px; border-radius: 20px;
padding: 30px; padding: 30px;
transition: transform 0.4s, box-shadow 0.4s; transition: transform 0.4s, box-shadow 0.4s;
} }
.card:hover { .card:hover {
transform: translateY(-15px); transform: translateY(-15px);
box-shadow: 0 5px 5px rgba(255, 221, 0, 0.2); box-shadow: 0 5px 5px rgba(255, 221, 0, 0.2);
} }
.card h3 { .card h3 {
color: var(--yellow); color: var(--yellow);
margin-bottom: 15px; margin-bottom: 15px;
@@ -164,12 +161,7 @@
z-index: 10; z-index: 10;
} }
h2 {
border-left: 5px solid var(--yellow);
padding-left: 15px;
color: var(--black);
margin-bottom: 25px;
}
/* 作品列表表格 */ /* 作品列表表格 */
table { table {
@@ -219,14 +211,6 @@
top: 5px; top: 5px;
} }
/* 頁尾 */
footer {
background-color: var(--black);
color: white;
text-align: center;
padding: 20px 0;
margin-top: 50px;
}
.highlight { .highlight {
color: var(--dark-yellow); color: var(--dark-yellow);
@@ -349,13 +333,15 @@
</section> </section>
</div> </div>
<footer> <footer>
<p>SECHSKIES Fanpage &copy; 2026 - 黃色氣球永遠飄揚</p> <p>SECHSKIES Fanpage &copy; 2026 - 黃色氣球永遠飄揚</p>
<a href="https://jekkinoopy.github.io/Portfolio/" class="studio-link" target="_blank">
Design by <strong>Jekkinoopy Studio</strong>
</a>
</footer> </footer>
<!-- 粒子效果 --> <!-- 粒子效果 -->
<script> <script>
// 確保在 DOM 完全載入後執行 // 確保在 DOM 完全載入後執行
if (document.readyState === 'loading') { if (document.readyState === 'loading') {
document.addEventListener('DOMContentLoaded', setHeaderHeight); document.addEventListener('DOMContentLoaded', setHeaderHeight);
+4 -1
View File
@@ -77,10 +77,12 @@
/* width: 100%; */ /* width: 100%; */
/* border:#fff solid 1px; */ /* border:#fff solid 1px; */
} }
a { a {
color: #FFF; color: #FFF;
text-decoration: none; text-decoration: none;
} }
.contact i { .contact i {
font-size: 0.6em; font-size: 0.6em;
margin-right: 0.3rem; margin-right: 0.3rem;
@@ -173,7 +175,8 @@
<img src="https://ygfamily.com/home/assets/images/f_logo.svg" alt=""> <img src="https://ygfamily.com/home/assets/images/f_logo.svg" alt="">
<h3>YG Entertainment</h3> <h3>YG Entertainment</h3>
<i class="fa-solid fa-map-location-dot"></i> Huiujeong-ro 1-gil, Mapo-gu, Seoul, South Korea <br> <i class="fa-solid fa-map-location-dot"></i> Huiujeong-ro 1-gil, Mapo-gu, Seoul, South Korea <br>
<i class="fas fa-globe"></i> <a href="https://www.ygfamily.com/" target="_blank">https://www.ygfamily.com/</a><br> <i class="fas fa-globe"></i> <a href="https://www.ygfamily.com/"
target="_blank">https://www.ygfamily.com/</a><br>
<i class="fas fa-phone"></i> +82231421104 <i class="fas fa-phone"></i> +82231421104
</div> </div>
</td> </td>
+127 -22
View File
@@ -1,50 +1,93 @@
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+TC:wght@100..900&display=swap'); @import url('https://fonts.googleapis.com/css2?family=Noto+Sans+TC:wght@100..900&display=swap');
:root { :root {
--yellow: #FFDD00; /* 1. 核心主角:水晶黃 */
--dark: #777; --primary: #FFDD00;
/* 主色:應援黃 */
--accent: #FFD700; --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;
} }
* { margin:0; padding:0; box-sizing:border-box; }
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body { body {
font-family: 'Noto Sans TC', system-ui, sans-serif; font-family: 'Noto Sans TC', system-ui, sans-serif;
background: linear-gradient(135deg, #0A0A0A 0%, #1A1A2E 100%); background: var(--bg);
color: #EEE; color: var(--text);
line-height: 1.6; line-height: 1.6;
overflow-x: hidden; overflow-x: hidden;
} }
header { header {
height: 100vh; 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; /* 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; */
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: center; justify-content: center;
text-align: center; text-align: center;
position: relative; position: relative;
} }
.hero { .hero {
z-index: 2; z-index: 2;
} }
.hero h1 { .hero h1 {
font-size: 2.5rem; font-size: 2.5rem;
line-height: 1.2; line-height: 1.2;
color: var(--yellow); color: var(--primary);
text-shadow: 0 0 30px rgba(255, 221, 0, 0.8); text-shadow: 0 0 30px rgba(255, 221, 0, 0.8);
margin-bottom: 0.5rem; margin-bottom: 0.5rem;
} }
.hero p { .hero p {
font-size: 1.2rem; font-size: 1.2rem;
margin-bottom: 2rem; margin-bottom: 2rem;
} }
.btn { .btn {
display: inline-block; display: inline-block;
padding: 10px 30px; padding: 10px 30px;
background: var(--yellow); background: var(--primary);
color: #000; color: var(--text-white);
font-weight: bold; font-weight: bold;
border-radius: 50px; border-radius: 50px;
text-decoration: none; text-decoration: none;
transition: all 0.3s; transition: all 0.3s;
} }
.btn:hover { .btn:hover {
transform: scale(1.1); transform: scale(1.1);
background: #FFEE66; background: #FFEE66;
@@ -53,18 +96,20 @@
section { section {
padding: 100px 8%; padding: 100px 8%;
} }
h2 { h2 {
font-size: 3rem; font-size: 3rem;
color: var(--yellow); color: var(--text-muted);
text-align: center; text-align: center;
margin-bottom: 60px; margin-bottom: 60px;
position: relative; position: relative;
} }
h2:after { h2:after {
content: ''; content: '';
width: 80px; width: 80px;
height: 4px; height: 4px;
background: var(--yellow); background: var(--primary);
position: absolute; position: absolute;
bottom: -15px; bottom: -15px;
left: 50%; left: 50%;
@@ -75,6 +120,7 @@
#story { #story {
background: #111; background: #111;
} }
.story-grid { .story-grid {
display: grid; display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
@@ -82,18 +128,21 @@
max-width: 1200px; max-width: 1200px;
margin: 0 auto; margin: 0 auto;
} }
.card { .card {
background: rgba(255, 255, 255, 0.05); background: rgba(255, 255, 255, 0.05);
border-radius: 20px; border-radius: 20px;
padding: 30px; padding: 30px;
transition: transform 0.4s, box-shadow 0.4s; transition: transform 0.4s, box-shadow 0.4s;
} }
.card:hover { .card:hover {
transform: translateY(-15px); transform: translateY(-15px);
box-shadow: 0 20px 40px rgba(255, 221, 0, 0.2); box-shadow: 0 20px 40px rgba(255, 221, 0, 0.2);
} }
.card h3 { .card h3 {
color: var(--yellow); color: var(--primary);
margin-bottom: 15px; margin-bottom: 15px;
} }
@@ -101,6 +150,7 @@
#members { #members {
background: linear-gradient(#1A1A2E, #0A0A0A); background: linear-gradient(#1A1A2E, #0A0A0A);
} }
.members-grid { .members-grid {
display: grid; display: grid;
grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
@@ -108,33 +158,39 @@
max-width: 1200px; max-width: 1200px;
margin: 0 auto; margin: 0 auto;
} }
.member { .member {
text-align: center; text-align: center;
} }
.member img { .member img {
width: 100%; width: 100%;
border-radius: 20px; border-radius: 20px;
border: 4px solid var(--yellow); border: 4px solid var(--primary);
transition: all 0.4s; transition: all 0.4s;
} }
.member:hover img { .member:hover img {
border-color: #FFEE66; border-color: #FFEE66;
transform: scale(1.05); transform: scale(1.05);
} }
.member h3 { .member h3 {
margin-top: 15px; margin-top: 15px;
color: var(--yellow); color: var(--primary);
} }
/* 歷年作品時間軸 */ /* 歷年作品時間軸 */
#discography { #discography {
background: #111; background: #111;
} }
.timeline { .timeline {
max-width: 1000px; max-width: 1000px;
margin: 0 auto; margin: 0 auto;
position: relative; position: relative;
} }
.timeline:before { .timeline:before {
content: ''; content: '';
position: absolute; position: absolute;
@@ -142,9 +198,10 @@
top: 0; top: 0;
bottom: 0; bottom: 0;
width: 6px; width: 6px;
background: var(--yellow); /* background: var(--primary); */
opacity: 0.3; opacity: 0.3;
} }
.timeline-item { .timeline-item {
margin: 60px 0; margin: 60px 0;
display: flex; display: flex;
@@ -152,18 +209,23 @@
align-items: center; align-items: center;
position: relative; position: relative;
} }
.timeline-item:nth-child(odd) { flex-direction: row-reverse; }
.timeline-item:nth-child(odd) {
/* flex-direction: row-reverse; */
}
.timeline-content { .timeline-content {
width: 45%; width: 45%;
background: rgba(255, 221, 0, 0.1); background: rgba(255, 221, 0, 0.1);
padding: 25px; padding: 25px;
border-radius: 15px; border-radius: 15px;
border: 2px solid var(--yellow); border: 2px solid var(--primary);
} }
.timeline-year { .timeline-year {
width: 80px; width: 80px;
height: 80px; height: 80px;
background: var(--yellow); background: var(--primary);
color: #000; color: #000;
font-weight: bold; font-weight: bold;
font-size: 1.5rem; font-size: 1.5rem;
@@ -180,24 +242,67 @@
background: linear-gradient(to bottom, #1A1A2E, #0A0A0A); background: linear-gradient(to bottom, #1A1A2E, #0A0A0A);
text-align: center; text-align: center;
} }
.now-content { .now-content {
max-width: 800px; max-width: 800px;
margin: 0 auto; margin: 0 auto;
font-size: 1.2rem; font-size: 1.2rem;
} }
/* 頁尾 */
footer { footer {
background: #000; background: var(--gray-900);
text-align: center; text-align: center;
padding: 60px 20px; padding: 60px 20px;
color: #888; color: var(--text-muted);
border-top: 1px solid var(--primary);
}
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 { #particles {
position: absolute; position: absolute;
top: 0; left: 0; top: 0;
width: 100%; height: 100%; left: 0;
width: 100%;
height: 100%;
z-index: 1; z-index: 1;
pointer-events: none; pointer-events: none;
} }