mirror of
https://github.com/RhenCloud/Cloud-Home.git
synced 2026-01-22 17:39:07 +08:00
- 初始化 Vue 3 + Vite 项目结构 - 添加核心组件 (Hero, About, Projects, Friends 等) - 配置页面路由和基础样式 - 添加服务端 API 接口 (邮件发送, 好友请求) - 添加项目配置文件 (vercel.json, vite.config.js)
93 lines
1.5 KiB
CSS
93 lines
1.5 KiB
CSS
:root {
|
|
color-scheme: light dark;
|
|
font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
|
|
background: #0f1629;
|
|
color: #e8eefc;
|
|
}
|
|
|
|
body {
|
|
margin: 0;
|
|
min-height: 100vh;
|
|
background: radial-gradient(circle at 20% 20%, #1b2b4b, #0f1629);
|
|
}
|
|
|
|
a {
|
|
color: #7cc1ff;
|
|
text-decoration: none;
|
|
}
|
|
|
|
.page {
|
|
max-width: 960px;
|
|
margin: 0 auto;
|
|
padding: 32px 16px 48px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 16px;
|
|
}
|
|
|
|
.card {
|
|
background: rgba(255, 255, 255, 0.04);
|
|
border: 1px solid rgba(255, 255, 255, 0.08);
|
|
border-radius: 16px;
|
|
padding: 18px 20px;
|
|
backdrop-filter: blur(8px);
|
|
box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25);
|
|
}
|
|
|
|
.hero {
|
|
display: grid;
|
|
grid-template-columns: 96px 1fr;
|
|
gap: 16px;
|
|
align-items: center;
|
|
}
|
|
|
|
.avatar {
|
|
width: 96px;
|
|
height: 96px;
|
|
border-radius: 50%;
|
|
object-fit: cover;
|
|
border: 2px solid rgba(255, 255, 255, 0.2);
|
|
}
|
|
|
|
h1,
|
|
h2,
|
|
h3 {
|
|
margin: 0 0 8px 0;
|
|
}
|
|
|
|
p {
|
|
margin: 6px 0;
|
|
}
|
|
|
|
.muted {
|
|
color: #a8b3cf;
|
|
font-size: 0.95rem;
|
|
}
|
|
|
|
.chips {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 10px;
|
|
}
|
|
|
|
.chips a {
|
|
padding: 6px 12px;
|
|
border-radius: 999px;
|
|
background: rgba(255, 255, 255, 0.08);
|
|
}
|
|
|
|
.list {
|
|
list-style: none;
|
|
padding: 0;
|
|
margin: 0;
|
|
}
|
|
|
|
.list li {
|
|
margin-bottom: 8px;
|
|
}
|
|
|
|
.footer {
|
|
text-align: center;
|
|
margin-top: 8px;
|
|
}
|