feat:建立concert.html
This commit is contained in:
+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);
|
||||
|
||||
Reference in New Issue
Block a user