Files
pages/index.html
2026-04-30 09:40:14 +08:00

173 lines
4.1 KiB
HTML

<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>我的设计作品集</title>
<style>
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
background-color: #f5f5f5;
color: #333;
line-height: 1.6;
min-height: 100vh;
}
nav {
position: fixed;
top: 0;
left: 0;
right: 0;
background: #fff;
box-shadow: 0 2px 10px rgba(0,0,0,0.08);
z-index: 1000;
padding: 15px 40px;
}
nav .nav-title {
font-size: 16px;
font-weight: 600;
color: #1a1a1a;
text-align: center;
}
main {
padding: 100px 40px 60px;
max-width: 900px;
margin: 0 auto;
}
.hero {
text-align: center;
padding: 60px 20px;
}
.hero h1 {
font-size: 36px;
font-weight: 600;
color: #1a1a1a;
margin-bottom: 15px;
}
.hero p {
font-size: 16px;
color: #666;
}
.project-list {
display: flex;
flex-direction: column;
gap: 20px;
margin-top: 40px;
}
.project-card {
background: #fff;
border-radius: 8px;
box-shadow: 0 2px 20px rgba(0,0,0,0.06);
padding: 30px;
transition: all 0.3s ease;
}
.project-card:hover {
box-shadow: 0 4px 30px rgba(0,0,0,0.1);
transform: translateY(-2px);
}
.project-card h2 {
font-size: 20px;
font-weight: 600;
margin-bottom: 10px;
color: #1a1a1a;
}
.project-card p {
font-size: 14px;
color: #666;
margin-bottom: 20px;
}
.project-card .link-btn {
display: inline-block;
padding: 10px 24px;
background: #333;
color: #fff;
text-decoration: none;
border-radius: 4px;
font-size: 14px;
transition: all 0.3s ease;
}
.project-card .link-btn:hover {
background: #000;
}
footer {
text-align: center;
padding: 40px 20px;
color: #999;
font-size: 13px;
}
@media (max-width: 768px) {
nav {
padding: 12px 20px;
}
main {
padding: 80px 20px 40px;
}
.hero {
padding: 40px 20px;
}
.hero h1 {
font-size: 28px;
}
}
</style>
</head>
<body>
<nav>
<div class="nav-title">我的设计作品集</div>
</nav>
<main>
<div class="hero">
<h1>我的设计作品集</h1>
<p>建筑设计作业展示</p>
</div>
<div class="project-list">
<div class="project-card">
<h2>总平面图</h2>
<p>展示建筑设计的总平面布局图</p>
<a href="master-plan.html" target="_blank" class="link-btn">查看总平面图</a>
</div>
<div class="project-card">
<h2>生成过程</h2>
<p>展示建筑设计从概念到成品的生成过程</p>
<a href="design-process.html" target="_blank" class="link-btn">查看生成过程</a>
</div>
<div class="project-card">
<h2>平面图</h2>
<p>展示建筑设计的平面布置图</p>
<a href="floor-plan.html" target="_blank" class="link-btn">查看平面图</a>
</div>
</div>
</main>
<footer>
<p>建筑设计作业展示</p>
</footer>
</body>
</html>