人生轨迹代码初始化
This commit is contained in:
@@ -0,0 +1,144 @@
|
||||
@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+SC:wght@300;600&family=Noto+Sans+SC:wght@300;400;500&display=swap');
|
||||
|
||||
:root {
|
||||
--glass-bg: rgba(15, 17, 26, 0.4);
|
||||
--glass-border: rgba(255, 255, 255, 0.08);
|
||||
--accent-orange: #FFAB91;
|
||||
--accent-blue: #81D4FA;
|
||||
--card-shadow: 0 20px 50px -12px rgba(0, 0, 0, 0.5);
|
||||
}
|
||||
|
||||
* { box-sizing: border-box; }
|
||||
|
||||
body {
|
||||
font-family: 'Noto Sans SC', sans-serif;
|
||||
-webkit-font-smoothing: antialiased;
|
||||
color: #e2e8f0;
|
||||
}
|
||||
|
||||
.font-serif { font-family: 'Noto Serif SC', serif; }
|
||||
|
||||
/* Advanced Glassmorphism */
|
||||
.glass-card {
|
||||
background: var(--glass-bg);
|
||||
backdrop-filter: blur(25px) saturate(180%);
|
||||
-webkit-backdrop-filter: blur(25px) saturate(180%);
|
||||
border: 1px solid var(--glass-border);
|
||||
border-radius: 32px;
|
||||
box-shadow: var(--card-shadow);
|
||||
}
|
||||
|
||||
.glass-btn {
|
||||
background: rgba(255, 255, 255, 0.03);
|
||||
backdrop-filter: blur(10px);
|
||||
border: 1px solid rgba(255, 255, 255, 0.05);
|
||||
transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.glass-btn:hover {
|
||||
background: rgba(255, 255, 255, 0.08);
|
||||
border-color: rgba(255, 255, 255, 0.2);
|
||||
transform: translateY(-2px);
|
||||
}
|
||||
|
||||
.glass-btn:active { transform: scale(0.98); }
|
||||
|
||||
.glass-input {
|
||||
background: rgba(0, 0, 0, 0.2);
|
||||
border: 1px solid rgba(255, 255, 255, 0.05);
|
||||
border-radius: 16px;
|
||||
padding: 14px 20px;
|
||||
color: white;
|
||||
outline: none;
|
||||
transition: all 0.3s ease;
|
||||
}
|
||||
|
||||
.glass-input:focus {
|
||||
border-color: var(--accent-orange);
|
||||
background: rgba(255, 255, 255, 0.03);
|
||||
box-shadow: 0 0 20px rgba(255, 171, 145, 0.1);
|
||||
}
|
||||
|
||||
/* Animations */
|
||||
@keyframes float {
|
||||
0%, 100% { transform: translate(0, 0) scale(1); }
|
||||
50% { transform: translate(5%, 5%) scale(1.1); }
|
||||
}
|
||||
|
||||
.animate-float { animation: float 15s infinite ease-in-out; }
|
||||
.animate-float-delayed { animation: float 20s infinite ease-in-out reverse; }
|
||||
|
||||
.page-transition-enter { opacity: 0; transform: translateY(20px) scale(0.98); }
|
||||
.page-transition-active { opacity: 1; transform: translateY(0) scale(1); transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1); }
|
||||
|
||||
/* Timeline UI */
|
||||
.timeline-dot {
|
||||
width: 12px;
|
||||
height: 12px;
|
||||
border: 2px solid var(--accent-orange);
|
||||
background: #0a0c10;
|
||||
box-shadow: 0 0 10px var(--accent-orange);
|
||||
border-radius: 50%;
|
||||
}
|
||||
|
||||
.timeline-line {
|
||||
position: absolute;
|
||||
left: 21px;
|
||||
top: 0;
|
||||
bottom: 0;
|
||||
width: 1px;
|
||||
background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.1) 15%, rgba(255, 255, 255, 0.1) 85%, transparent);
|
||||
}
|
||||
|
||||
/* Scrollbar Refinement */
|
||||
.custom-scrollbar::-webkit-scrollbar { width: 4px; }
|
||||
.custom-scrollbar::-webkit-scrollbar-track { background: transparent; }
|
||||
.custom-scrollbar::-webkit-scrollbar-thumb {
|
||||
background: rgba(255, 255, 255, 0.08);
|
||||
border-radius: 10px;
|
||||
}
|
||||
.custom-scrollbar::-webkit-scrollbar-thumb:hover { background: rgba(255, 255, 255, 0.15); }
|
||||
|
||||
/* Responsive Form Adjustments */
|
||||
@media (max-width: 768px) {
|
||||
#view-container { height: 95vh; border-radius: 0; }
|
||||
.glass-card { border-radius: 20px; }
|
||||
.nav-item span { display: none; }
|
||||
.nav-item i { margin-right: 0 !important; }
|
||||
}
|
||||
|
||||
.prompt-tag {
|
||||
display: inline-block;
|
||||
padding: 6px 16px;
|
||||
background: rgba(255, 255, 255, 0.03);
|
||||
border: 1px solid rgba(255, 255, 255, 0.08);
|
||||
border-radius: 99px;
|
||||
font-size: 0.75rem;
|
||||
cursor: pointer;
|
||||
transition: all 0.3s;
|
||||
user-select: none;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.prompt-tag:hover {
|
||||
background: var(--accent-orange);
|
||||
color: #000;
|
||||
border-color: var(--accent-orange);
|
||||
}
|
||||
|
||||
/* Sidebar Active State */
|
||||
.nav-item.active {
|
||||
background: rgba(255, 171, 145, 0.08);
|
||||
border-color: rgba(255, 171, 145, 0.2);
|
||||
color: var(--accent-orange) !important;
|
||||
}
|
||||
|
||||
/* AI Glow Effect */
|
||||
.ai-glow-card {
|
||||
background: linear-gradient(145deg, rgba(255,255,255,0.02) 0%, rgba(255,255,255,0.05) 100%);
|
||||
border-left: 2px solid var(--accent-orange);
|
||||
box-shadow: inset 0 0 20px rgba(255, 171, 145, 0.05);
|
||||
}
|
||||
Reference in New Issue
Block a user