Files
all-personal-resume/个人简历_环保/eco_resume_theme.css

230 lines
7.0 KiB
CSS
Raw Permalink Normal View History

/* 环保产业个人简历主题 - 统一绿色系风格 */
:root {
/* 主色调 - 绿色系渐变 */
--eco-primary: #2d7f5e; /* 主绿色 */
--eco-primary-light: #4a9d7e; /* 浅绿色 */
--eco-primary-lighter: #6db89a; /* 更浅绿色 */
--eco-primary-dark: #1a5c40; /* 深绿色 */
--eco-primary-darker: #0d3926; /* 更深绿色 */
--eco-primary-soft: #e8f5f0; /* 极浅绿背景 */
--eco-primary-softer: #f0faf6; /* 超浅绿背景 */
/* 辅助色 - 同色系变体 */
--eco-secondary: #3a8968; /* 青绿色 */
--eco-secondary-light: #5ba584; /* 浅青绿色 */
--eco-secondary-dark: #2a6b4f; /* 深青绿色 */
--eco-mint: #4fb286; /* 薄荷绿 */
--eco-mint-light: #7ac5a3; /* 浅薄荷绿 */
/* 功能色 - 绿色系变体 */
--eco-accent: #66c297; /* 翠绿色 - 强调色 */
--eco-accent-light: #8cd4b1; /* 浅翠绿色 */
--eco-success: #52c41a; /* 成功绿 */
--eco-warning: #95b83d; /* 黄绿色警告 */
--eco-error: #d48869; /* 柔和橙红 */
--eco-info: #5ea89b; /* 青绿信息色 */
/* 中性色 - 现代灰度系统 */
--neutral-50: #fafafa;
--neutral-100: #f5f5f5;
--neutral-200: #eeeeee;
--neutral-300: #e0e0e0;
--neutral-400: #bdbdbd;
--neutral-500: #9e9e9e;
--neutral-600: #757575;
--neutral-700: #616161;
--neutral-800: #424242;
--neutral-900: #212121;
/* 背景色系 - 绿色系 */
--bg-primary: #ffffff;
--bg-secondary: #f8faf9;
--bg-tertiary: #f0f7f4;
--bg-hero: linear-gradient(135deg, #e8f5f0 0%, #e5f4ed 50%, #ebf8f2 100%);
--bg-card: #ffffff;
--bg-overlay: rgba(45, 127, 94, 0.03);
/* 文字色系 */
--text-primary: #1f2937;
--text-secondary: #4b5563;
--text-muted: #6b7280;
--text-inverse: #ffffff;
--text-link: #2d7f5e;
--text-link-hover: #1a5c40;
/* 边框色系 */
--border-light: #e5e7eb;
--border-normal: #d1d5db;
--border-dark: #9ca3af;
--border-focus: #2d7f5e;
/* 阴影系统 - 绿色调柔和阴影 */
--shadow-xs: 0 1px 2px 0 rgba(45, 127, 94, 0.04);
--shadow-sm: 0 1px 3px 0 rgba(45, 127, 94, 0.08), 0 1px 2px -1px rgba(45, 127, 94, 0.08);
--shadow-md: 0 4px 6px -1px rgba(45, 127, 94, 0.1), 0 2px 4px -2px rgba(45, 127, 94, 0.06);
--shadow-lg: 0 10px 15px -3px rgba(45, 127, 94, 0.1), 0 4px 6px -4px rgba(45, 127, 94, 0.05);
--shadow-xl: 0 20px 25px -5px rgba(45, 127, 94, 0.12), 0 8px 10px -6px rgba(45, 127, 94, 0.08);
--shadow-2xl: 0 25px 50px -12px rgba(45, 127, 94, 0.15);
--shadow-card: 0 2px 8px rgba(45, 127, 94, 0.06);
--shadow-hover: 0 8px 16px rgba(45, 127, 94, 0.12);
--shadow-green: 0 4px 12px rgba(45, 127, 94, 0.15);
/* 圆角系统 - 现代柔和 */
--radius-xs: 0.125rem; /* 2px */
--radius-sm: 0.25rem; /* 4px */
--radius-md: 0.375rem; /* 6px */
--radius-lg: 0.5rem; /* 8px */
--radius-xl: 0.75rem; /* 12px */
--radius-2xl: 1rem; /* 16px */
--radius-3xl: 1.5rem; /* 24px */
--radius-full: 9999px;
/* 字体系统 - 专业现代 */
--font-sans: 'Inter', 'PingFang SC', 'Microsoft YaHei', sans-serif;
--font-display: 'Poppins', 'PingFang SC', sans-serif;
--font-mono: 'JetBrains Mono', 'Fira Code', monospace;
/* 字重 */
--font-light: 300;
--font-normal: 400;
--font-medium: 500;
--font-semibold: 600;
--font-bold: 700;
--font-extrabold: 800;
/* 字号系统 - 响应式 */
--text-xs: 0.75rem; /* 12px */
--text-sm: 0.875rem; /* 14px */
--text-base: 1rem; /* 16px */
--text-lg: 1.125rem; /* 18px */
--text-xl: 1.25rem; /* 20px */
--text-2xl: 1.5rem; /* 24px */
--text-3xl: 1.875rem; /* 30px */
--text-4xl: 2.25rem; /* 36px */
--text-5xl: 3rem; /* 48px */
--text-6xl: 3.75rem; /* 60px */
/* 行高系统 */
--leading-none: 1;
--leading-tight: 1.25;
--leading-snug: 1.375;
--leading-normal: 1.5;
--leading-relaxed: 1.625;
--leading-loose: 2;
/* 间距系统 */
--space-0: 0;
--space-1: 0.25rem; /* 4px */
--space-2: 0.5rem; /* 8px */
--space-3: 0.75rem; /* 12px */
--space-4: 1rem; /* 16px */
--space-5: 1.25rem; /* 20px */
--space-6: 1.5rem; /* 24px */
--space-8: 2rem; /* 32px */
--space-10: 2.5rem; /* 40px */
--space-12: 3rem; /* 48px */
--space-16: 4rem; /* 64px */
--space-20: 5rem; /* 80px */
--space-24: 6rem; /* 96px */
/* 动画时长 */
--duration-75: 75ms;
--duration-100: 100ms;
--duration-150: 150ms;
--duration-200: 200ms;
--duration-300: 300ms;
--duration-500: 500ms;
--duration-700: 700ms;
--duration-1000: 1000ms;
/* 动画曲线 */
--ease-linear: linear;
--ease-in: cubic-bezier(0.4, 0, 1, 1);
--ease-out: cubic-bezier(0, 0, 0.2, 1);
--ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
--ease-bounce: cubic-bezier(0.68, -0.55, 0.265, 1.55);
--ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
/* 断点 */
--breakpoint-sm: 640px;
--breakpoint-md: 768px;
--breakpoint-lg: 1024px;
--breakpoint-xl: 1280px;
--breakpoint-2xl: 1536px;
/* 容器宽度 */
--container-sm: 640px;
--container-md: 768px;
--container-lg: 1024px;
--container-xl: 1280px;
--container-2xl: 1536px;
/* 特殊效果 - 统一绿色系 */
--gradient-eco: linear-gradient(135deg, var(--eco-primary) 0%, var(--eco-secondary) 50%, var(--eco-mint) 100%);
--gradient-hero: linear-gradient(135deg, #e8f5f0 0%, #e5f4ed 50%, #ebf8f2 100%);
--gradient-card: linear-gradient(180deg, #ffffff 0%, #f8fdfb 100%);
--gradient-text: linear-gradient(135deg, var(--eco-primary) 0%, var(--eco-mint) 100%);
--gradient-button: linear-gradient(135deg, var(--eco-primary) 0%, var(--eco-primary-light) 100%);
--gradient-skill: linear-gradient(90deg, var(--eco-mint) 0%, var(--eco-accent) 100%);
/* 毛玻璃效果 */
--blur-sm: 4px;
--blur-md: 8px;
--blur-lg: 16px;
--blur-xl: 24px;
/* 透明度 */
--opacity-0: 0;
--opacity-5: 0.05;
--opacity-10: 0.1;
--opacity-20: 0.2;
--opacity-25: 0.25;
--opacity-30: 0.3;
--opacity-40: 0.4;
--opacity-50: 0.5;
--opacity-60: 0.6;
--opacity-70: 0.7;
--opacity-75: 0.75;
--opacity-80: 0.8;
--opacity-90: 0.9;
--opacity-95: 0.95;
--opacity-100: 1;
}
/* 暗色模式变量(可选) */
@media (prefers-color-scheme: dark) {
:root {
--bg-primary: #0f172a;
--bg-secondary: #1e293b;
--bg-tertiary: #334155;
--bg-card: #1e293b;
--bg-hero: linear-gradient(135deg, #1e3a2e 0%, #1e293b 100%);
--text-primary: #f1f5f9;
--text-secondary: #cbd5e1;
--text-muted: #94a3b8;
--border-light: #334155;
--border-normal: #475569;
--border-dark: #64748b;
--eco-primary: #4ade80;
--eco-primary-light: #86efac;
--eco-primary-dark: #22c55e;
--eco-primary-soft: #052e16;
--shadow-card: 0 2px 8px rgba(0, 0, 0, 0.25);
--shadow-hover: 0 8px 16px rgba(0, 0, 0, 0.35);
}
}
/* 打印样式 */
@media print {
:root {
--bg-primary: white;
--text-primary: black;
--shadow-sm: none;
--shadow-md: none;
--shadow-lg: none;
}
}