Files
home/css/about.css
hehh 29e2e2761f feat(about): 实现主题系统与技术标签球体动画
- 添加日夜主题CSS变量定义与样式覆盖
- 实现根据时间自动切换主题功能
- 技术标签云改造成3D球体布局并添加动画
- 优化移动端与减少动画模式下的标签展示
- 调整部分元素尺寸与颜色以适配新主题
- 更新MBTI图标展示方式并移除旧装饰图
- 修复SVG路径定义与GitHub统计展示问题
2025-11-20 17:44:10 +08:00

2166 lines
48 KiB
CSS

/* 关于页面样式 - 现代动态设计 */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
:root {
--ink: #0D0F12;
--slate: #121417;
--pearl: #F2F3F5;
--glass-blur: 20px;
--glass-alpha: 0.12;
--glass-alpha-strong: 0.16;
--glass-border: rgba(255, 255, 255, 0.16);
--text-strong: #ffffff;
--text-soft: rgba(255, 255, 255, 0.9);
--grad-a: #101216;
--grad-b: #171a1f;
--accent-a: #3AA0FF;
--accent-b: #4ECDC4;
--accent-coral: #FF6B6B;
--accent-lavender: #7B7AE6;
}
:root.theme-day {
--grad-a: #F6F7F9;
--grad-b: #EDEFF3;
--text-strong: #121417;
--text-soft: #2a2d34;
--glass-alpha: 0.10;
--glass-border: rgba(0, 0, 0, 0.12);
}
:root.theme-night {
--grad-a: #101216;
--grad-b: #171a1f;
--text-strong: #F2F3F5;
--text-soft: rgba(255, 255, 255, 0.9);
--glass-alpha: 0.14;
--glass-border: rgba(255, 255, 255, 0.16);
}
.theme-day .nav-logo {
background: linear-gradient(45deg, #121417, #2a2d34);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
}
.theme-day .nav-links a { color: var(--text-soft); }
.theme-day .hero-title,
.theme-day .section-title,
.theme-day .project-title,
.theme-day .article-title {
background: linear-gradient(45deg, #121417, #2a2d34);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
}
.theme-day .hero-subtitle,
.theme-day .intro-text p,
.theme-day .project-description,
.theme-day .article-excerpt,
.theme-day .timeline-content p,
.theme-day .section-subtitle,
.theme-day .location-info,
.theme-day .stat-label { color: var(--text-soft); }
.theme-day .cloud-tag {
color: var(--text-soft);
border-color: rgba(0, 0, 0, 0.1);
background: rgba(255, 255, 255, 0.08);
}
body {
font-family: 'Inter', 'SF Pro Text', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
line-height: 1.6;
color: var(--text-soft);
background: radial-gradient(1200px 600px at 20% 20%, rgba(60, 60, 80, 0.35), transparent 60%),
radial-gradient(800px 800px at 80% 0%, rgba(90, 70, 120, 0.18), transparent 70%),
linear-gradient(135deg, var(--grad-a) 0%, var(--grad-b) 100%);
min-height: 100vh;
overflow-x: hidden;
background-attachment: fixed;
}
/* 动态背景 */
body::before {
content: '';
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background:
radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
radial-gradient(circle at 40% 40%, rgba(255, 255, 255, 0.05) 0%, transparent 50%),
radial-gradient(circle at 60% 60%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
z-index: -1;
animation: backgroundShift 25s ease-in-out infinite;
}
@keyframes backgroundShift {
0%, 100% { transform: scale(1) rotate(0deg); }
50% { transform: scale(1.1) rotate(5deg); }
}
/* 链接样式 - 添加动画效果 */
a {
color: #667eea;
text-decoration: none;
position: relative;
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
a:hover {
color: #764ba2;
transform: translateY(-1px);
}
/* 引用线样式 */
.quote-section {
position: relative;
padding-left: 2rem;
}
.quote-line {
position: absolute;
left: 0;
top: 0;
bottom: 0;
width: 4px;
background: linear-gradient(180deg, #667eea 0%, #764ba2 50%, #9b59b6 100%);
border-radius: 2px;
box-shadow: 0 0 10px rgba(102, 126, 234, 0.3);
}
.quote-content {
position: relative;
}
.intro-quote {
margin: 1.5rem 0;
padding: 1.5rem;
background: rgba(255, 255, 255, var(--glass-alpha));
border-radius: 15px;
border-left: 4px solid #667eea;
box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
backdrop-filter: blur(var(--glass-blur));
-webkit-backdrop-filter: blur(var(--glass-blur));
position: relative;
transition: all 0.3s ease;
border: 1px solid var(--glass-border);
}
.intro-quote:hover {
transform: translateY(-2px);
box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
background: rgba(255, 255, 255, 0.15);
}
.intro-quote::before {
content: '"';
position: absolute;
top: -10px;
left: 15px;
font-size: 3rem;
color: #667eea;
font-family: Georgia, serif;
opacity: 0.3;
}
.intro-quote p {
margin: 0;
font-style: italic;
color: #fff;
line-height: 1.7;
font-size: 1.1rem;
}
/* 链接下划线动画 */
a:not(.nav-logo):not(.nav-links a):not(.social-link):not(.btn):not(.footer-info a)::after {
content: '';
position: absolute;
bottom: -2px;
left: 0;
width: 0;
height: 2px;
background: linear-gradient(90deg, #667eea, #764ba2);
transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
a:not(.nav-logo):not(.nav-links a):not(.social-link):not(.btn):not(.footer-info a):hover::after {
width: 100%;
}
/* 导航链接特殊动画 */
.nav-links a {
position: relative;
overflow: hidden;
}
.nav-links a::before {
content: '';
position: absolute;
top: 0;
left: -100%;
width: 100%;
height: 100%;
background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
transition: left 0.5s ease;
}
.nav-links a:hover::before {
left: 100%;
}
/* 社交链接脉冲动画 */
.social-link:hover {
animation: socialPulse 0.6s ease;
}
@keyframes socialPulse {
0% { transform: scale(1); }
50% { transform: scale(1.1); }
100% { transform: scale(1); }
}
/* 按钮悬浮效果 */
.btn {
position: relative;
overflow: hidden;
z-index: 1;
}
.btn::before {
content: '';
position: absolute;
top: 0;
left: 0;
width: 0;
height: 100%;
background: linear-gradient(90deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.2));
transition: width 0.3s ease;
z-index: -1;
}
.btn:hover::before {
width: 100%;
}
.btn:hover {
transform: translateY(-2px);
box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}
/* 导航栏 */
.navbar {
position: fixed;
top: 0;
left: 0;
right: 0;
background: rgba(255, 255, 255, var(--glass-alpha));
backdrop-filter: blur(var(--glass-blur));
-webkit-backdrop-filter: blur(var(--glass-blur));
z-index: 1000;
padding: 1rem 0;
transition: all 0.3s ease;
border-bottom: 1px solid var(--glass-border);
box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
}
.navbar.scrolled {
background: rgba(255, 255, 255, 0.2);
box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
}
.nav-container {
max-width: 1400px;
margin: 0 auto;
padding: 0 2rem;
display: flex;
justify-content: space-between;
align-items: center;
}
.nav-logo {
font-size: 1.8rem;
font-weight: 800;
color: #fff;
text-decoration: none;
background: linear-gradient(45deg, #fff, #e0e0e0);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
transition: all 0.3s ease;
}
.nav-logo:hover {
transform: scale(1.05);
}
.nav-links {
display: flex;
list-style: none;
gap: 2.5rem;
background: rgba(255, 255, 255, var(--glass-alpha));
padding: 0.8rem 1.5rem;
border-radius: 50px;
backdrop-filter: blur(var(--glass-blur));
-webkit-backdrop-filter: blur(var(--glass-blur));
border: 1px solid var(--glass-border);
}
.nav-links a {
text-decoration: none;
color: #fff;
font-weight: 600;
transition: all 0.3s ease;
position: relative;
padding: 0.5rem 1rem;
border-radius: 25px;
}
.nav-links a::after {
content: '';
position: absolute;
bottom: -2px;
left: 50%;
transform: translateX(-50%);
width: 0;
height: 3px;
background: linear-gradient(45deg, #ff6b6b, #4ecdc4);
border-radius: 2px;
transition: width 0.3s ease;
}
.nav-links a:hover,
.nav-links a.active {
color: var(--accent-coral);
background: rgba(255, 255, 255, 0.2);
transform: translateY(-2px);
}
.nav-links a:hover::after,
.nav-links a.active::after {
width: 80%;
}
.nav-links a.active {
background: rgba(255, 107, 107, 0.1);
color: #ff6b6b;
}
/* 主要内容 */
.about-main {
margin-top: 80px;
max-width: 1400px;
margin-left: auto;
margin-right: auto;
}
/* 英雄区域 */
.hero-section {
padding: 4rem 2rem;
background: rgba(255, 255, 255, 0.06);
background-size: 400% 400%;
animation: heroGradientShift 15s ease infinite;
min-height: 80vh;
display: flex;
align-items: center;
position: relative;
overflow: hidden;
border-radius: 0 0 50px 50px;
margin-bottom: 2rem;
backdrop-filter: blur(var(--glass-blur));
-webkit-backdrop-filter: blur(var(--glass-blur));
border: 1px solid var(--glass-border);
box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
}
.hero-section::before {
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: radial-gradient(circle at 20% 80%, rgba(120, 119, 198, 0.1) 0%, transparent 50%),
radial-gradient(circle at 80% 20%, rgba(255, 119, 198, 0.1) 0%, transparent 50%),
radial-gradient(circle at 40% 40%, rgba(120, 219, 255, 0.1) 0%, transparent 50%);
pointer-events: none;
}
@keyframes heroGradientShift {
0% { background-position: 0% 50%; }
50% { background-position: 100% 50%; }
100% { background-position: 0% 50%; }
}
/* INFJ装饰图片 - 重新设计布局 */
.infj-decoration {
position: absolute;
top: 30px;
right: 30px;
z-index: 10;
opacity: 0.9;
}
.infj-image {
width: 100px;
height: 100px;
border-radius: 50%;
border: 4px solid rgba(255, 255, 255, 0.4);
box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3), 0 0 25px rgba(120, 119, 198, 0.4);
transition: all 0.3s ease;
animation: gentleFloat 4s ease-in-out infinite;
filter: brightness(1.1) contrast(1.1);
backdrop-filter: blur(5px);
}
.infj-image:hover {
transform: scale(1.15) rotate(10deg);
box-shadow: 0 15px 50px rgba(120, 119, 198, 0.6), 0 0 30px rgba(255, 255, 255, 0.4);
border-color: rgba(120, 119, 198, 0.6);
filter: brightness(1.3) contrast(1.2) saturate(1.2);
}
/* 轻柔浮动动画 */
@keyframes gentleFloat {
0%, 100% {
transform: translateY(0px) rotate(0deg) scale(1);
}
50% {
transform: translateY(-10px) rotate(5deg) scale(1.05);
}
}
.hero-container {
max-width: 1200px;
margin: 0 auto;
display: grid;
grid-template-columns: 1fr 2fr;
gap: 4rem;
align-items: center;
}
.hero-left {
display: flex;
justify-content: center;
}
.profile-card {
background: rgba(255, 255, 255, var(--glass-alpha));
border-radius: 20px;
padding: 2rem;
box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
text-align: center;
position: relative;
overflow: hidden;
border: 1px solid var(--glass-border);
backdrop-filter: blur(var(--glass-blur));
-webkit-backdrop-filter: blur(var(--glass-blur));
}
.profile-card::before {
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
height: 4px;
background: linear-gradient(90deg, #667eea, #764ba2, #667eea);
background-size: 200% 100%;
animation: gradientShift 3s ease-in-out infinite;
}
@keyframes gradientShift {
0%, 100% { background-position: 0% 50%; }
50% { background-position: 100% 50%; }
}
.profile-avatar {
position: relative;
display: inline-block;
margin-bottom: 1.5rem;
}
.avatar-image {
width: 120px;
height: 120px;
border-radius: 50%;
object-fit: cover;
border: 4px solid #fff;
box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
transition: all 0.3s ease;
}
.avatar-image:hover {
transform: scale(1.05);
box-shadow: 0 12px 35px rgba(0, 0, 0, 0.2);
}
.status-indicator {
position: absolute;
bottom: 8px;
right: 8px;
width: 20px;
height: 20px;
background: #4CAF50;
border-radius: 50%;
border: 3px solid #fff;
animation: pulse 2s infinite;
}
@keyframes pulse {
0% { box-shadow: 0 0 0 0 rgba(76, 175, 80, 0.7); }
70% { box-shadow: 0 0 0 10px rgba(76, 175, 80, 0); }
100% { box-shadow: 0 0 0 0 rgba(76, 175, 80, 0); }
}
.profile-info h1 {
margin: 0 0 0.5rem 0;
font-size: 2rem;
font-weight: 700;
color: #fff;
}
.profile-info p {
margin: 0 0 1rem 0;
color: rgba(255, 255, 255, 0.9);
font-size: 1.1rem;
}
.location-info {
display: flex;
justify-content: center;
align-items: center;
gap: 0.5rem;
color: rgba(255, 255, 255, 0.8);
font-size: 0.9rem;
}
.hero-right {
padding-left: 2rem;
}
.intro-content h2 {
font-size: 2.5rem;
font-weight: 800;
color: #fff;
margin-bottom: 1.5rem;
background: linear-gradient(45deg, #fff, #e0e0e0);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
}
.intro-text p {
font-size: 1.1rem;
line-height: 1.8;
color: rgba(255, 255, 255, 0.9);
margin-bottom: 1.5rem;
}
.personality-section {
margin: 2rem 0;
}
.mbti-card {
background: linear-gradient(135deg, rgba(102, 126, 234, 0.2) 0%, rgba(118, 75, 162, 0.2) 100%);
border-radius: 15px;
padding: 1.5rem;
color: #fff;
margin-bottom: 2rem;
backdrop-filter: blur(var(--glass-blur));
-webkit-backdrop-filter: blur(var(--glass-blur));
border: 1px solid var(--glass-border);
box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
}
.mbti-header {
display: flex;
align-items: center;
gap: 1rem;
margin-bottom: 1rem;
}
.mbti-tag {
background: rgba(255, 255, 255, 0.2);
padding: 0.5rem 1rem;
border-radius: 25px;
font-weight: 700;
font-size: 1.1rem;
}
.mbti-name {
font-size: 1.2rem;
font-weight: 600;
}
.mbti-traits {
display: flex;
gap: 0.8rem;
flex-wrap: wrap;
}
.trait {
background: rgba(255, 255, 255, 0.15);
padding: 0.4rem 0.8rem;
border-radius: 20px;
font-size: 0.9rem;
border: 1px solid rgba(255, 255, 255, 0.2);
}
.profile-avatar {
position: relative;
display: inline-block;
margin-bottom: 2rem;
}
.hero-title {
font-size: 4rem;
font-weight: 800;
margin-bottom: 1rem;
background: linear-gradient(45deg, #fff, #e0e0e0);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
animation: titleGlow 3s ease-in-out infinite;
text-shadow: 0 0 30px rgba(255, 255, 255, 0.3);
}
.hero-subtitle {
font-size: 1.4rem;
color: rgba(255, 255, 255, 0.9);
margin-bottom: 1.5rem;
font-weight: 500;
opacity: 0.9;
}
.hero-description {
margin-bottom: 2rem;
}
.hero-description p {
font-size: 1.2rem;
color: rgba(255, 255, 255, 0.8);
font-weight: 400;
margin: 0;
padding: 1rem 2rem;
background: rgba(255, 255, 255, 0.1);
border-radius: 25px;
border: 1px solid rgba(255, 255, 255, 0.18);
display: inline-block;
}
.avatar-image:hover {
transform: scale(1.05);
box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
}
.avatar-ring {
position: absolute;
top: -15px;
left: -15px;
right: -15px;
bottom: -15px;
border: 2px solid;
border-image: linear-gradient(45deg, #667eea, #764ba2, #667eea) 1;
border-radius: 50%;
animation: rotate 10s linear infinite;
}
@keyframes rotate {
from { transform: rotate(0deg); }
to { transform: rotate(360deg); }
}
.hero-title {
font-size: 4rem;
font-weight: 800;
color: #2c3e50;
margin-bottom: 1rem;
background: linear-gradient(45deg, #fff, #e0e0e0);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
animation: titleGlow 3s ease-in-out infinite alternate;
}
@keyframes titleGlow {
from { filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.5)); }
to { filter: drop-shadow(0 0 30px rgba(255, 255, 255, 0.8)); }
}
.hero-subtitle {
font-size: 1.5rem;
color: rgba(255, 255, 255, 0.9);
margin-bottom: 2rem;
font-weight: 300;
opacity: 0.8;
}
.personality-badge {
display: flex;
justify-content: center;
align-items: center;
gap: 1rem;
margin-bottom: 3rem;
}
.mbti-tag {
background: linear-gradient(45deg, rgba(255, 107, 107, 0.3), rgba(78, 205, 196, 0.3));
color: #fff;
padding: 0.8rem 1.5rem;
border-radius: 30px;
font-size: 1rem;
font-weight: 700;
box-shadow: 0 8px 25px rgba(255, 107, 107, 0.4);
animation: pulse 2s infinite;
border: 1px solid rgba(255, 255, 255, 0.18);
}
.badge-desc {
color: rgba(255, 255, 255, 0.9);
font-size: 0.9rem;
font-style: italic;
font-weight: 500;
}
.hero-stats {
display: flex;
justify-content: center;
gap: 3rem;
flex-wrap: wrap;
}
.hero-stats .stat-item {
text-align: center;
}
.hero-stats .stat-number {
font-size: 2.5rem;
font-weight: 800;
background: linear-gradient(45deg, #fff, #e0e0e0);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
display: block;
margin-bottom: 0.5rem;
}
.hero-stats .stat-label {
color: rgba(255, 255, 255, 0.9);
font-size: 0.9rem;
text-transform: uppercase;
letter-spacing: 1px;
font-weight: 600;
}
/* 通用区域样式 */
.section-header {
text-align: center;
margin-bottom: 4rem;
padding: 0 2rem;
}
.section-title {
font-size: 3rem;
font-weight: 800;
background: linear-gradient(45deg, #fff, #e0e0e0);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
margin-bottom: 1rem;
position: relative;
display: inline-block;
}
.section-title::after {
content: '';
position: absolute;
bottom: -10px;
left: 50%;
transform: translateX(-50%);
width: 80px;
height: 4px;
background: linear-gradient(45deg, var(--accent-coral), var(--accent-b));
border-radius: 2px;
box-shadow: 0 2px 10px rgba(255, 107, 107, 0.25);
}
.section-subtitle {
font-size: 1.2rem;
color: rgba(255, 255, 255, 0.9);
font-weight: 500;
opacity: 0.8;
}
/* 技术栈云图 - INFJ风格设计 */
.tech-cloud-section {
padding: 8rem 2rem;
background: rgba(255, 255, 255, 0.05);
backdrop-filter: blur(10px);
-webkit-backdrop-filter: blur(10px);
border-radius: 50px;
margin: 2rem;
border: 1px solid rgba(255, 255, 255, 0.18);
box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
position: relative;
overflow: hidden;
}
.tech-cloud-section::before {
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: radial-gradient(circle at 20% 80%, rgba(120, 119, 198, 0.1) 0%, transparent 50%),
radial-gradient(circle at 80% 20%, rgba(255, 119, 198, 0.1) 0%, transparent 50%),
radial-gradient(circle at 40% 40%, rgba(120, 219, 255, 0.1) 0%, transparent 50%);
pointer-events: none;
}
@keyframes gradientShift {
0% { background-position: 0% 50%; }
50% { background-position: 100% 50%; }
100% { background-position: 0% 50%; }
}
/* 标签云容器 */
.cloud-wrapper {
display: flex;
flex-wrap: wrap;
justify-content: center;
align-items: center;
gap: 15px;
min-height: 400px;
position: relative;
perspective: 1000px;
}
.cloud-wrapper.sphere {
height: 420px;
width: 100%;
max-width: 600px;
margin: 0 auto;
perspective: 800px;
transform-style: preserve-3d;
}
.cloud-wrapper.sphere .cloud-tag {
position: absolute;
}
/* 连接线动画 */
.cloud-wrapper::before {
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background-image:
radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.1) 1px, transparent 1px),
radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.1) 1px, transparent 1px),
radial-gradient(circle at 40% 80%, rgba(255, 255, 255, 0.1) 1px, transparent 1px),
radial-gradient(circle at 60% 20%, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
background-size: 100px 100px, 150px 150px, 120px 120px, 80px 80px;
animation: connectionLines 15s linear infinite;
pointer-events: none;
opacity: 0.3;
}
@keyframes connectionLines {
0% { transform: translate(0, 0) rotate(0deg); }
25% { transform: translate(-10px, -10px) rotate(90deg); }
50% { transform: translate(10px, -5px) rotate(180deg); }
75% { transform: translate(-5px, 10px) rotate(270deg); }
100% { transform: translate(0, 0) rotate(360deg); }
}
/* 标签云标签 */
.cloud-tag {
display: inline-block;
padding: 0.8rem 1.5rem;
margin: 0.5rem;
border-radius: 25px;
background: rgba(255, 255, 255, 0.1);
backdrop-filter: blur(10px);
-webkit-backdrop-filter: blur(10px);
border: 1px solid rgba(255, 255, 255, 0.18);
color: #fff;
font-size: 0.95rem;
font-weight: 600;
cursor: pointer;
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
animation: cloudFloat 8s ease-in-out infinite;
position: relative;
overflow: hidden;
box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
}
/* 标签浮动动画 */
@keyframes cloudFloat {
0%, 100% {
transform: translateY(0px) rotate(0deg) scale(1);
}
25% {
transform: translateY(-15px) rotate(2deg) scale(1.02);
}
50% {
transform: translateY(-8px) rotate(0deg) scale(1);
}
75% {
transform: translateY(-20px) rotate(-2deg) scale(0.98);
}
}
/* 标签悬浮效果 */
.cloud-tag::before {
content: '';
position: absolute;
top: 0;
left: -100%;
width: 100%;
height: 100%;
background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
transition: left 0.5s;
}
.cloud-tag:hover::before {
left: 100%;
}
.cloud-tag:hover {
transform: translateY(-8px) scale(1.1) rotate(5deg);
background: rgba(255, 255, 255, 0.2);
box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15), 0 0 25px var(--tag-color, #667eea);
border-color: var(--tag-color, #667eea);
color: var(--tag-color, #667eea);
z-index: 10;
}
/* 根据权重设置不同大小和颜色 */
.cloud-tag[data-weight="5"] {
font-size: 20px;
padding: 12px 24px;
font-weight: 700;
animation-duration: 6s;
}
.cloud-tag[data-weight="4"] {
font-size: 18px;
padding: 10px 20px;
font-weight: 600;
animation-duration: 7s;
}
.cloud-tag[data-weight="3"] {
font-size: 16px;
padding: 9px 18px;
font-weight: 500;
animation-duration: 8s;
}
.cloud-tag[data-weight="2"] {
font-size: 14px;
padding: 8px 16px;
font-weight: 400;
animation-duration: 9s;
}
.cloud-tag[data-weight="1"] {
font-size: 12px;
padding: 6px 14px;
font-weight: 300;
opacity: 0.8;
animation-duration: 10s;
}
/* 不同类别的技术标签颜色 */
.cloud-tag[data-category="core"] {
--tag-color: #e74c3c;
border-color: rgba(231, 76, 60, 0.3);
}
.cloud-tag[data-category="core"]:hover {
background: linear-gradient(135deg, rgba(231, 76, 60, 0.2), rgba(231, 76, 60, 0.1));
}
.cloud-tag[data-category="backend"] {
--tag-color: #27ae60;
border-color: rgba(39, 174, 96, 0.3);
}
.cloud-tag[data-category="backend"]:hover {
background: linear-gradient(135deg, rgba(39, 174, 96, 0.2), rgba(39, 174, 96, 0.1));
}
.cloud-tag[data-category="data"] {
--tag-color: #3498db;
border-color: rgba(52, 152, 219, 0.3);
}
.cloud-tag[data-category="data"]:hover {
background: linear-gradient(135deg, rgba(52, 152, 219, 0.2), rgba(52, 152, 219, 0.1));
}
.cloud-tag[data-category="ops"] {
--tag-color: #f39c12;
border-color: rgba(243, 156, 18, 0.3);
}
.cloud-tag[data-category="ops"]:hover {
background: linear-gradient(135deg, rgba(243, 156, 18, 0.2), rgba(243, 156, 18, 0.1));
}
.cloud-tag[data-category="ai"] {
--tag-color: #9b59b6;
border-color: rgba(155, 89, 182, 0.3);
}
.cloud-tag[data-category="ai"]:hover {
background: linear-gradient(135deg, rgba(155, 89, 182, 0.2), rgba(155, 89, 182, 0.1));
}
/* 分类特定动画延迟 */
.cloud-tag[data-category="core"]:nth-child(odd) { animation-delay: 0s; }
.cloud-tag[data-category="core"]:nth-child(even) { animation-delay: 1s; }
.cloud-tag[data-category="backend"]:nth-child(odd) { animation-delay: 2s; }
.cloud-tag[data-category="backend"]:nth-child(even) { animation-delay: 3s; }
.cloud-tag[data-category="ai"]:nth-child(odd) { animation-delay: 4s; }
.cloud-tag[data-category="ai"]:nth-child(even) { animation-delay: 5s; }
.cloud-tag[data-category="data"]:nth-child(odd) { animation-delay: 1.5s; }
.cloud-tag[data-category="data"]:nth-child(even) { animation-delay: 2.5s; }
.cloud-tag[data-category="ops"]:nth-child(odd) { animation-delay: 3.5s; }
.cloud-tag[data-category="ops"]:nth-child(even) { animation-delay: 4.5s; }
/* 个性时间线 */
.personality-timeline-section {
padding: 8rem 2rem;
background: rgba(255, 255, 255, 0.05);
backdrop-filter: blur(10px);
-webkit-backdrop-filter: blur(10px);
border-radius: 50px;
margin: 2rem;
border: 1px solid rgba(255, 255, 255, 0.18);
box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
}
.personality-timeline {
max-width: 800px;
margin: 0 auto;
position: relative;
}
.personality-timeline::before {
content: '';
position: absolute;
left: 50%;
top: 0;
bottom: 0;
width: 4px;
background: linear-gradient(to bottom, #ff6b6b, #4ecdc4, #45b7d1, #f9ca24);
transform: translateX(-50%);
border-radius: 2px;
box-shadow: 0 0 20px rgba(255, 107, 107, 0.3);
}
.timeline-item {
display: flex;
align-items: center;
margin-bottom: 4rem;
position: relative;
}
.timeline-item:nth-child(even) {
flex-direction: row-reverse;
}
.timeline-icon {
width: 90px;
height: 90px;
border-radius: 50%;
background: linear-gradient(45deg, #ff6b6b, #4ecdc4);
display: flex;
align-items: center;
justify-content: center;
font-size: 2.2rem;
z-index: 2;
box-shadow: 0 15px 35px rgba(255, 107, 107, 0.4);
border: 3px solid rgba(255, 255, 255, 0.3);
transition: all 0.3s ease;
}
.timeline-icon:hover {
transform: scale(1.1) rotate(10deg);
box-shadow: 0 20px 40px rgba(255, 107, 107, 0.6);
}
.timeline-content {
flex: 1;
background: rgba(255, 255, 255, var(--glass-alpha));
backdrop-filter: blur(var(--glass-blur));
-webkit-backdrop-filter: blur(var(--glass-blur));
padding: 2rem;
border-radius: 25px;
margin: 0 2rem;
border: 1px solid var(--glass-border);
transition: all 0.3s ease, opacity 0.6s ease, transform 0.6s ease;
box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
opacity: 0;
transform: translateY(30px);
}
.timeline-item.is-entered .timeline-content {
opacity: 1;
transform: none;
}
.timeline-content:hover {
background: rgba(255, 255, 255, 0.2);
transform: translateY(-8px) scale(1.02);
box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
border-color: #ff6b6b;
}
.timeline-content h3 {
background: linear-gradient(45deg, #fff, #e0e0e0);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
font-size: 1.5rem;
margin-bottom: 1rem;
font-weight: 700;
}
.timeline-content p {
color: rgba(255, 255, 255, 0.9);
line-height: 1.6;
font-weight: 500;
}
/* GitHub项目展示 */
.github-showcase-section {
padding: 8rem 2rem;
background: rgba(255, 255, 255, 0.05);
backdrop-filter: blur(10px);
-webkit-backdrop-filter: blur(10px);
border-radius: 50px;
margin: 2rem;
border: 1px solid rgba(255, 255, 255, 0.18);
box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
}
.projects-masonry {
max-width: 1200px;
margin: 0 auto;
display: grid;
grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
gap: 2rem;
align-items: start;
}
.project-card {
background: rgba(255, 255, 255, var(--glass-alpha));
backdrop-filter: blur(var(--glass-blur));
-webkit-backdrop-filter: blur(var(--glass-blur));
border-radius: 25px;
padding: 2rem;
border: 1px solid var(--glass-border);
transition: all 0.3s ease;
position: relative;
overflow: hidden;
box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
}
.project-card::before {
content: '';
position: absolute;
top: 0;
left: -100%;
width: 100%;
height: 100%;
background: linear-gradient(90deg, transparent, rgba(255, 107, 107, 0.1), transparent);
transition: left 0.5s ease;
}
.project-card:hover::before {
left: 100%;
}
.project-card:hover {
transform: translateY(-15px) scale(1.02);
box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
border-color: #ff6b6b;
background: rgba(255, 255, 255, 0.2);
}
.project-title {
background: linear-gradient(45deg, #fff, #e0e0e0);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
font-size: 1.4rem;
margin-bottom: 1rem;
font-weight: 700;
}
.project-description {
color: rgba(255, 255, 255, 0.9);
margin-bottom: 1.5rem;
line-height: 1.6;
font-weight: 500;
}
.project-stats {
display: flex;
gap: 1rem;
margin-bottom: 1rem;
}
.project-stat {
display: flex;
align-items: center;
gap: 0.3rem;
color: rgba(255, 255, 255, 0.8);
font-size: 0.9rem;
font-weight: 600;
}
.project-link {
display: inline-block;
background: linear-gradient(45deg, var(--accent-coral), var(--accent-b));
color: #fff;
padding: 0.8rem 1.8rem;
border-radius: 30px;
text-decoration: none;
font-weight: 600;
transition: all 0.3s ease;
box-shadow: 0 5px 15px rgba(255, 107, 107, 0.3);
border: 1px solid rgba(255, 255, 255, 0.18);
}
.project-link:hover {
transform: translateY(-3px) scale(1.05);
box-shadow: 0 10px 25px rgba(255, 107, 107, 0.5);
}
/* 博客瀑布流 */
.blog-waterfall-section {
padding: 8rem 2rem;
background: rgba(255, 255, 255, 0.05);
backdrop-filter: blur(10px);
-webkit-backdrop-filter: blur(10px);
border-radius: 50px;
margin: 2rem;
border: 1px solid rgba(255, 255, 255, 0.18);
box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
}
.view-all-link {
background: linear-gradient(45deg, #fff, #e0e0e0);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
text-decoration: none;
font-weight: 700;
display: inline-flex;
align-items: center;
gap: 0.5rem;
transition: all 0.3s ease;
padding: 0.5rem 1rem;
border-radius: 20px;
border: 2px solid transparent;
background-origin: border-box;
}
.view-all-link:hover {
transform: translateX(8px) scale(1.05);
border-color: #ff6b6b;
background: rgba(255, 107, 107, 0.1);
}
.articles-waterfall {
max-width: 1200px;
margin: 0 auto;
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: 2rem;
align-items: start;
}
.article-card {
background: rgba(255, 255, 255, var(--glass-alpha));
backdrop-filter: blur(var(--glass-blur));
-webkit-backdrop-filter: blur(var(--glass-blur));
border-radius: 20px;
padding: 1.8rem;
border: 1px solid var(--glass-border);
transition: all 0.3s ease;
text-decoration: none;
display: block;
box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
}
.article-card:hover {
transform: translateY(-8px) scale(1.02);
box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
background: rgba(255, 255, 255, 0.2);
border-color: #ff6b6b;
}
.article-title {
background: linear-gradient(45deg, #fff, #e0e0e0);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
font-size: 1.3rem;
font-weight: 700;
margin-bottom: 1rem;
line-height: 1.4;
}
.article-excerpt {
color: rgba(255, 255, 255, 0.9);
font-size: 0.95rem;
line-height: 1.6;
margin-bottom: 1rem;
font-weight: 500;
}
.article-meta {
display: flex;
justify-content: space-between;
align-items: center;
font-size: 0.85rem;
color: rgba(255, 255, 255, 0.8);
font-weight: 600;
}
.article-category {
background: linear-gradient(45deg, #45b7d1, #96ceb4);
color: #fff;
padding: 0.4rem 1rem;
border-radius: 15px;
font-size: 0.75rem;
font-weight: 600;
box-shadow: 0 3px 10px rgba(69, 183, 209, 0.3);
}
/* 联系方式轨道 - 循环随机围绕动画 */
.contact-floating-section {
padding: 8rem 2rem;
position: relative;
min-height: 600px;
overflow: hidden;
background: rgba(255, 255, 255, 0.06);
backdrop-filter: blur(var(--glass-blur));
-webkit-backdrop-filter: blur(var(--glass-blur));
border-radius: 50px;
margin: 2rem;
border: 1px solid var(--glass-border);
box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
}
.contact-floating-section::before {
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background:
radial-gradient(circle at 20% 30%, rgba(102, 126, 234, 0.1) 0%, transparent 50%),
radial-gradient(circle at 80% 70%, rgba(118, 75, 162, 0.1) 0%, transparent 50%),
radial-gradient(circle at 40% 80%, rgba(155, 89, 182, 0.1) 0%, transparent 50%);
pointer-events: none;
z-index: 1;
border-radius: 50px;
}
.contact-container {
max-width: 800px;
margin: 0 auto;
text-align: center;
position: relative;
}
.contact-title h2 {
font-size: 2.8rem;
background: linear-gradient(45deg, #fff, #e0e0e0);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
margin-bottom: 1rem;
font-weight: 800;
position: relative;
z-index: 10;
}
.contact-title p {
color: rgba(255, 255, 255, 0.9);
font-size: 1.2rem;
margin-bottom: 4rem;
font-weight: 500;
opacity: 0.8;
position: relative;
z-index: 10;
}
.social-grid {
position: relative;
width: 500px;
height: 500px;
margin: 0 auto;
border-radius: 50%;
}
.social-card {
background: rgba(255, 255, 255, var(--glass-alpha));
backdrop-filter: blur(var(--glass-blur));
-webkit-backdrop-filter: blur(var(--glass-blur));
border: 1px solid var(--glass-border);
border-radius: 25px;
padding: 1rem;
text-decoration: none;
color: #fff;
transition: all 0.3s ease;
box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
display: flex;
flex-direction: column;
align-items: center;
gap: 0.5rem;
position: absolute;
top: 50%;
left: 50%;
overflow: hidden;
width: 110px;
height: 110px;
justify-content: center;
text-align: center;
transform-origin: center;
z-index: 1;
}
@keyframes orbit {
0% { transform: translate(-50%, -50%) rotate(var(--phase)) translateX(var(--radius)) rotate(calc(-1 * var(--phase))); }
100% { transform: translate(-50%, -50%) rotate(calc(var(--phase) + 360deg)) translateX(var(--radius)) rotate(calc(-1 * var(--phase) - 360deg)); }
}
.social-card::before {
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
height: 3px;
background: var(--social-color, #667eea);
transform: scaleX(0);
transition: transform 0.3s ease;
z-index: -1;
}
.social-card:hover {
transform: scale(1.1);
box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15), 0 0 25px var(--social-color, #667eea);
border-color: var(--social-color, #667eea);
background: rgba(255, 255, 255, 0.2);
animation-play-state: paused;
}
.social-card:hover::before {
transform: scaleX(1);
}
.social-icon {
width: 40px;
height: 40px;
border-radius: 50%;
background: linear-gradient(135deg, var(--social-color, #667eea), var(--social-color-end, #764ba2));
display: flex;
align-items: center;
justify-content: center;
color: #fff;
font-size: 1.2rem;
flex-shrink: 0;
margin-bottom: 0.5rem;
}
.social-info h3 {
margin: 0;
font-size: 0.9rem;
font-weight: 600;
color: #fff;
}
.social-info p {
margin: 0;
font-size: 0.7rem;
color: rgba(255, 255, 255, 0.8);
}
/* 轨道围绕动画 - 每个卡片不同的轨道路径,优化避免碰撞 */
.social-card:nth-child(1) {
animation: orbit1 20s linear infinite;
}
.social-card:nth-child(2) {
animation: orbit2 25s linear infinite;
}
.social-card:nth-child(3) {
animation: orbit3 30s linear infinite;
}
.social-card:nth-child(4) {
animation: orbit4 35s linear infinite;
}
.social-card:nth-child(5) {
animation: orbit5 40s linear infinite;
}
.social-card:nth-child(6) {
animation: orbit6 45s linear infinite;
}
/* 轨道动画关键帧 - 优化避免碰撞 */
@keyframes orbit1 {
0% {
transform: translate(-50%, -50%) rotate(0deg) translateX(180px) rotate(0deg);
}
100% {
transform: translate(-50%, -50%) rotate(360deg) translateX(180px) rotate(-360deg);
}
}
@keyframes orbit2 {
0% {
transform: translate(-50%, -50%) rotate(72deg) translateX(200px) rotate(-72deg);
}
100% {
transform: translate(-50%, -50%) rotate(432deg) translateX(200px) rotate(-432deg);
}
}
@keyframes orbit3 {
0% {
transform: translate(-50%, -50%) rotate(144deg) translateX(160px) rotate(-144deg);
}
100% {
transform: translate(-50%, -50%) rotate(504deg) translateX(160px) rotate(-504deg);
}
}
@keyframes orbit4 {
0% {
transform: translate(-50%, -50%) rotate(216deg) translateX(220px) rotate(-216deg);
}
100% {
transform: translate(-50%, -50%) rotate(576deg) translateX(220px) rotate(-576deg);
}
}
@keyframes orbit5 {
0% {
transform: translate(-50%, -50%) rotate(288deg) translateX(140px) rotate(-288deg);
}
100% {
transform: translate(-50%, -50%) rotate(648deg) translateX(140px) rotate(-648deg);
}
}
@keyframes orbit6 {
0% {
transform: translate(-50%, -50%) rotate(36deg) translateX(240px) rotate(-36deg);
}
100% {
transform: translate(-50%, -50%) rotate(396deg) translateX(240px) rotate(-396deg);
}
}
.social-card.github {
--social-color: #333;
--social-color-end: #555;
}
.social-card.email {
--social-color: #ea4335;
--social-color-end: #fbbc05;
}
.social-card.blog {
--social-color: #667eea;
--social-color-end: #764ba2;
}
.social-card.zhihu {
--social-color: #0084ff;
--social-color-end: #0066cc;
}
.social-card.wechat {
--social-color: #07c160;
--social-color-end: #00a854;
}
.social-card.juejin {
--social-color: #1e80ff;
--social-color-end: #1890ff;
}
/* 微信弹窗样式 */
.modal {
position: fixed;
z-index: 1000;
left: 0;
top: 0;
width: 100%;
height: 100%;
background-color: rgba(0, 0, 0, 0.5);
backdrop-filter: blur(calc(var(--glass-blur) * 0.5));
-webkit-backdrop-filter: blur(calc(var(--glass-blur) * 0.5));
}
.modal-content {
background-color: rgba(255, 255, 255, var(--glass-alpha));
backdrop-filter: blur(var(--glass-blur));
-webkit-backdrop-filter: blur(var(--glass-blur));
margin: 10% auto;
padding: 2rem;
border-radius: 15px;
width: 90%;
max-width: 400px;
text-align: center;
position: relative;
box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
border: 1px solid var(--glass-border);
}
.close {
position: absolute;
right: 1rem;
top: 1rem;
color: #aaa;
font-size: 1.5rem;
font-weight: bold;
cursor: pointer;
transition: color 0.3s ease;
}
.close:hover {
color: #fff;
}
.qr-code {
margin: 1rem 0;
}
.qr-code img {
width: 200px;
height: 200px;
border-radius: 10px;
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
border: 1px solid rgba(255, 255, 255, 0.18);
}
/* 评论系统 */
.comments-section {
padding: 8rem 2rem;
background: rgba(255, 255, 255, 0.05);
backdrop-filter: blur(10px);
-webkit-backdrop-filter: blur(10px);
border-radius: 50px;
margin: 2rem;
border: 1px solid rgba(255, 255, 255, 0.18);
box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
}
.comments-container {
max-width: 1000px;
margin: 0 auto;
text-align: center;
}
.comments-container .section-title {
margin-bottom: 0.5rem;
}
.comments-container .section-subtitle {
margin-bottom: 3rem;
}
#artalk-container {
background: rgba(255, 255, 255, var(--glass-alpha));
backdrop-filter: blur(var(--glass-blur));
-webkit-backdrop-filter: blur(var(--glass-blur));
border-radius: 25px;
padding: 2.5rem;
border: 1px solid var(--glass-border);
text-align: left;
box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
}
/* 加载动画 */
.loading-placeholder {
text-align: center;
padding: 4rem 2rem;
color: rgba(255, 255, 255, 0.9);
font-weight: 600;
}
.loading-spinner {
width: 45px;
height: 45px;
border: 4px solid rgba(255, 107, 107, 0.1);
border-top: 4px solid #ff6b6b;
border-radius: 50%;
animation: spin 1s linear infinite;
margin: 0 auto 1rem;
box-shadow: 0 5px 15px rgba(255, 107, 107, 0.2);
}
@keyframes spin {
0% { transform: rotate(0deg); }
100% { transform: rotate(360deg); }
}
@keyframes pulse {
0%, 100% { transform: scale(1); }
50% { transform: scale(1.05); }
}
/* 响应式设计 */
@media (max-width: 1024px) {
.tech-categories {
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}
.hero-container {
grid-template-columns: 1fr;
text-align: center;
gap: 2rem;
}
.social-grid {
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}
}
@media (max-width: 768px) {
.nav-container {
padding: 0 1rem;
}
.nav-links {
gap: 1rem;
}
.hero-title {
font-size: 2.5rem;
}
.hero-subtitle {
font-size: 1.2rem;
}
.hero-stats {
gap: 2rem;
}
.section-title {
font-size: 2rem;
}
.tech-categories {
grid-template-columns: 1fr;
}
.personality-timeline::before {
left: 30px;
}
.timeline-item {
flex-direction: row !important;
padding-left: 80px;
}
.timeline-icon {
position: absolute;
left: 0;
width: 60px;
height: 60px;
font-size: 1.5rem;
}
.timeline-content {
margin: 0;
margin-left: 1rem;
}
.social-grid {
grid-template-columns: 1fr;
}
.projects-masonry,
.articles-waterfall {
grid-template-columns: 1fr;
}
.social-grid {
width: auto;
height: auto;
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 1rem;
}
.social-card {
position: static;
width: 100%;
height: auto;
padding: 0.8rem;
transform: none !important;
animation: none !important;
}
.social-icon {
width: 30px;
height: 30px;
font-size: 1rem;
}
.social-info h3 {
font-size: 0.7rem;
}
.social-info p {
font-size: 0.5rem;
}
.social-card:nth-child(1) {
animation: none;
}
.social-card:nth-child(2) {
animation: none;
}
.social-card:nth-child(3) {
animation: none;
}
.social-card:nth-child(4) {
animation: none;
}
.social-card:nth-child(5) {
animation: none;
}
.social-card:nth-child(6) {
animation: none;
}
@keyframes orbit1 { }
@keyframes orbit2 { }
@keyframes orbit3 { }
@keyframes orbit4 { }
@keyframes orbit5 { }
@keyframes orbit6 { }
}
@media (max-width: 480px) {
.hero-title {
font-size: 1.8rem;
}
.hero-stats {
flex-direction: column;
gap: 1rem;
}
.personality-badge {
flex-direction: column;
gap: 0.5rem;
}
.tech-cloud {
width: 280px;
height: 280px;
}
.orbit-1 {
width: 120px;
height: 120px;
}
.orbit-2 {
width: 180px;
height: 180px;
}
.orbit-3 {
width: 240px;
height: 240px;
}
.tech-item {
padding: 0.5rem 1rem;
font-size: 0.8rem;
}
.social-grid {
grid-template-columns: 1fr;
gap: 1rem;
}
.footer-content {
grid-template-columns: 1fr !important;
text-align: center;
gap: 2rem;
}
.footer-section {
text-align: center;
}
.nav-links {
padding: 0.5rem 1rem;
}
.nav-links a {
padding: 0.3rem 0.6rem;
font-size: 0.9rem;
}
.hero-section {
padding: 2rem 1rem;
}
.profile-card {
padding: 1rem;
}
.avatar-image {
width: 80px;
height: 80px;
}
.hero-title {
font-size: 2rem;
}
.hero-subtitle {
font-size: 1rem;
}
.mbti-card {
padding: 1rem;
}
.mbti-tag {
padding: 0.4rem 0.8rem;
font-size: 0.9rem;
}
.section-title {
font-size: 1.8rem;
}
.section-subtitle {
font-size: 1rem;
}
.tech-cloud-section,
.personality-timeline-section,
.github-showcase-section,
.blog-waterfall-section,
.contact-floating-section,
.comments-section {
padding: 3rem 0.8rem;
margin: 0.8rem;
border-radius: 20px;
}
.cloud-tag {
padding: 0.5rem 1rem;
margin: 0.3rem;
font-size: 0.8rem;
}
.timeline-content {
padding: 1rem;
}
.project-card,
.article-card {
padding: 1rem;
}
.modal-content {
padding: 1rem;
margin: 20% auto;
}
.qr-code img {
width: 150px;
height: 150px;
}
}
/* 页脚样式 - 首页风格 */
.footer {
background: rgba(0, 0, 0, 0.2);
color: rgba(255, 255, 255, 0.8);
padding: 30px 0;
margin-top: 80px;
text-align: center;
backdrop-filter: blur(10px);
-webkit-backdrop-filter: blur(10px);
border-top: 1px solid rgba(255, 255, 255, 0.18);
}
.footer-container {
max-width: 1200px;
margin: 0 auto;
padding: 0 20px;
}
.footer-bottom {
border-top: none;
}
.footer-info {
color: rgba(255, 255, 255, 0.7);
font-size: 0.9rem;
}
.footer-info p {
margin: 8px 0;
line-height: 1.6;
}
.footer-info a {
color: rgba(255, 255, 255, 0.8);
text-decoration: none;
transition: color 0.3s ease;
}
.footer-info a:hover {
color: #fff;
}
@media (max-width: 768px) {
.footer {
padding: 20px 0;
}
.footer-info {
font-size: 0.8rem;
}
}
.tech-philosophy {
text-align: center;
margin-top: 2rem;
}
.philosophy-text {
color: rgba(255, 255, 255, 0.9);
font-style: italic;
font-size: 1.1rem;
max-width: 800px;
margin: 0 auto;
padding: 1.5rem;
background: rgba(255, 255, 255, 0.05);
border-radius: 15px;
backdrop-filter: blur(5px);
-webkit-backdrop-filter: blur(5px);
border: 1px solid rgba(255, 255, 255, 0.1);
}
.motion-reduced * {
animation: none !important;
transition: none !important;
}
.motion-mobile .hero-section {
animation-duration: 10s;
}
.motion-mobile .social-card {
width: 90px;
height: 90px;
}
.motion-mobile .hero-title {
text-shadow: none;
}
@media (prefers-color-scheme: dark) {
:root {
--glass-alpha: 0.18;
}
}
@media (prefers-reduced-motion: reduce) {
.hero-section,
.cloud-wrapper::before,
.social-card,
.hero-title,
.mbti-tag,
.avatar-ring {
animation: none !important;
}
}
.theme-day .profile-info h1,
.theme-day .github-info h3,
.theme-day .social-info h3 { color: var(--text-strong); }
.theme-day .intro-quote p,
.theme-day .intro-text p,
.theme-day .timeline-content p,
.theme-day .project-description,
.theme-day .article-excerpt,
.theme-day .article-meta,
.theme-day .social-info p,
.theme-day .github-bio { color: var(--text-soft); }
.theme-day .stat-number {
background: linear-gradient(45deg, #121417, #2a2d34);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
}
.theme-day .hero-description p { color: var(--text-soft); }
.theme-day .project-stat,
.theme-day .project-stats span { color: var(--text-soft); }
.theme-day .article-meta { color: var(--text-soft); }
.theme-day .view-all-link {
background: linear-gradient(45deg, #121417, #2a2d34);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
}
.theme-day .timeline-content h3 {
background: linear-gradient(45deg, #121417, #2a2d34);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
}