Files
sechskies/style.css
T

308 lines
8.2 KiB
CSS
Raw Normal View History

2026-04-11 22:40:09 +08:00
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+TC:wght@100..900&display=swap');
2026-04-11 22:40:09 +08:00
:root {
/* 1. 核心主角:水晶黃 */
--primary: #FFDD00;
/* 主色:應援黃 */
2026-04-11 22:40:09 +08:00
--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;
2026-04-11 22:40:09 +08:00
}
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
2026-04-11 22:40:09 +08:00
body {
font-family: 'Noto Sans TC', system-ui, sans-serif;
background: var(--bg);
color: var(--text);
2026-04-11 22:40:09 +08:00
line-height: 1.6;
overflow-x: hidden;
}
2026-04-11 22:40:09 +08:00
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; */
2026-04-11 22:40:09 +08:00
display: flex;
align-items: center;
justify-content: center;
text-align: center;
position: relative;
}
2026-04-11 22:40:09 +08:00
.hero {
z-index: 2;
}
2026-04-11 22:40:09 +08:00
.hero h1 {
font-size: 2.5rem;
line-height: 1.2;
color: var(--primary);
text-shadow: 0 0 30px rgba(255, 221, 0, 0.8);
2026-04-11 22:40:09 +08:00
margin-bottom: 0.5rem;
}
2026-04-11 22:40:09 +08:00
.hero p {
font-size: 1.2rem;
margin-bottom: 2rem;
}
2026-04-11 22:40:09 +08:00
.btn {
display: inline-block;
padding: 10px 30px;
background: var(--primary);
color: var(--text-white);
2026-04-11 22:40:09 +08:00
font-weight: bold;
border-radius: 50px;
text-decoration: none;
transition: all 0.3s;
}
2026-04-11 22:40:09 +08:00
.btn:hover {
transform: scale(1.1);
background: #FFEE66;
}
section {
padding: 100px 8%;
}
2026-04-11 22:40:09 +08:00
h2 {
font-size: 3rem;
color: var(--text-muted);
2026-04-11 22:40:09 +08:00
text-align: center;
margin-bottom: 60px;
position: relative;
}
2026-04-11 22:40:09 +08:00
h2:after {
content: '';
width: 80px;
height: 4px;
background: var(--primary);
2026-04-11 22:40:09 +08:00
position: absolute;
bottom: -15px;
left: 50%;
transform: translateX(-50%);
}
/* 故事背景 */
#story {
background: #111;
}
2026-04-11 22:40:09 +08:00
.story-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: 40px;
max-width: 1200px;
margin: 0 auto;
}
2026-04-11 22:40:09 +08:00
.card {
background: rgba(255, 255, 255, 0.05);
2026-04-11 22:40:09 +08:00
border-radius: 20px;
padding: 30px;
transition: transform 0.4s, box-shadow 0.4s;
}
2026-04-11 22:40:09 +08:00
.card:hover {
transform: translateY(-15px);
box-shadow: 0 20px 40px rgba(255, 221, 0, 0.2);
2026-04-11 22:40:09 +08:00
}
2026-04-11 22:40:09 +08:00
.card h3 {
color: var(--primary);
2026-04-11 22:40:09 +08:00
margin-bottom: 15px;
}
/* 成員介紹 */
#members {
background: linear-gradient(#1A1A2E, #0A0A0A);
}
2026-04-11 22:40:09 +08:00
.members-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
gap: 30px;
max-width: 1200px;
margin: 0 auto;
}
2026-04-11 22:40:09 +08:00
.member {
text-align: center;
}
2026-04-11 22:40:09 +08:00
.member img {
width: 100%;
border-radius: 20px;
border: 4px solid var(--primary);
2026-04-11 22:40:09 +08:00
transition: all 0.4s;
}
2026-04-11 22:40:09 +08:00
.member:hover img {
border-color: #FFEE66;
transform: scale(1.05);
}
2026-04-11 22:40:09 +08:00
.member h3 {
margin-top: 15px;
color: var(--primary);
2026-04-11 22:40:09 +08:00
}
/* 歷年作品時間軸 */
#discography {
background: #111;
}
2026-04-11 22:40:09 +08:00
.timeline {
max-width: 1000px;
margin: 0 auto;
position: relative;
}
2026-04-11 22:40:09 +08:00
.timeline:before {
content: '';
position: absolute;
left: 50%;
top: 0;
bottom: 0;
width: 6px;
/* background: var(--primary); */
2026-04-11 22:40:09 +08:00
opacity: 0.3;
}
2026-04-11 22:40:09 +08:00
.timeline-item {
margin: 60px 0;
display: flex;
justify-content: space-between;
align-items: center;
position: relative;
}
.timeline-item:nth-child(odd) {
/* flex-direction: row-reverse; */
}
2026-04-11 22:40:09 +08:00
.timeline-content {
width: 45%;
background: rgba(255, 221, 0, 0.1);
2026-04-11 22:40:09 +08:00
padding: 25px;
border-radius: 15px;
border: 2px solid var(--primary);
2026-04-11 22:40:09 +08:00
}
2026-04-11 22:40:09 +08:00
.timeline-year {
width: 80px;
height: 80px;
background: var(--primary);
2026-04-11 22:40:09 +08:00
color: #000;
font-weight: bold;
font-size: 1.5rem;
display: flex;
align-items: center;
justify-content: center;
border-radius: 50%;
flex-shrink: 0;
box-shadow: 0 0 20px rgba(255, 221, 0, 0.6);
2026-04-11 22:40:09 +08:00
}
/* 現在的故事線 */
#now {
background: linear-gradient(to bottom, #1A1A2E, #0A0A0A);
text-align: center;
}
2026-04-11 22:40:09 +08:00
.now-content {
max-width: 800px;
margin: 0 auto;
font-size: 1.2rem;
}
/* 頁尾 */
2026-04-11 22:40:09 +08:00
footer {
background: var(--gray-900);
2026-04-11 22:40:09 +08:00
text-align: center;
padding: 60px 20px;
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);
/* 懸停時名字發光 */
2026-04-11 22:40:09 +08:00
}
/* 粒子背景效果 */
#particles {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
2026-04-11 22:40:09 +08:00
z-index: 1;
pointer-events: none;
}