Spaces:
Sleeping
Sleeping
| @import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap'); | |
| * { | |
| margin: 0; | |
| padding: 0; | |
| box-sizing: border-box; | |
| } | |
| body { | |
| font-family: 'Inter', -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif; | |
| background-color: var(--bg-body); | |
| color: var(--text-main); | |
| -webkit-font-smoothing: antialiased; | |
| line-height: 1.6; | |
| } | |
| #app { | |
| display: flex; | |
| min-height: 100vh; | |
| width: 100%; | |
| } | |
| /* 布局组件类 */ | |
| .layout-sidebar { | |
| width: var(--sidebar-width); | |
| background: var(--bg-sidebar); | |
| height: 100vh; | |
| position: fixed; | |
| left: 0; | |
| top: 0; | |
| border-right: 1px solid var(--border-color); | |
| padding: 32px 24px; | |
| display: flex; | |
| flex-direction: column; | |
| z-index: 100; | |
| transition: all 0.3s ease; | |
| } | |
| .layout-main { | |
| margin-left: var(--sidebar-width); | |
| flex: 1; | |
| padding: 40px 60px; | |
| min-height: 100vh; | |
| background: linear-gradient(135deg, #FAFAFA 0%, #F4F5F7 100%); | |
| display: flex; | |
| flex-direction: column; | |
| } | |
| /* Logo 区域 */ | |
| .logo-area { | |
| display: flex; | |
| align-items: center; | |
| gap: 12px; | |
| margin-bottom: 48px; | |
| padding-left: 8px; | |
| } | |
| .logo-icon { | |
| width: 40px; | |
| height: 40px; | |
| border-radius: 12px; | |
| object-fit: cover; | |
| box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); | |
| } | |
| .logo-text { | |
| font-size: 22px; | |
| font-weight: 700; | |
| color: var(--text-main); | |
| letter-spacing: -0.5px; | |
| } | |
| /* 导航菜单 */ | |
| .nav-menu { | |
| display: flex; | |
| flex-direction: column; | |
| gap: 8px; | |
| } | |
| .nav-item { | |
| display: flex; | |
| align-items: center; | |
| gap: 14px; | |
| padding: 14px 18px; | |
| border-radius: var(--radius-md); | |
| color: var(--text-sub); | |
| text-decoration: none; | |
| font-weight: 500; | |
| transition: all 0.2s ease; | |
| font-size: 15px; | |
| } | |
| .nav-item:hover { | |
| background: #F9FAFB; | |
| color: var(--primary); | |
| } | |
| .nav-item.active { | |
| background: var(--primary-light); | |
| color: var(--primary); | |
| } | |
| /* 通用容器 */ | |
| .container { | |
| width: 100%; | |
| max-width: 1200px; | |
| margin: 0 auto; | |
| } | |
| /* 标题排版 */ | |
| .page-header { | |
| margin-bottom: 32px; | |
| display: flex; | |
| justify-content: space-between; | |
| align-items: flex-end; | |
| flex-wrap: wrap; | |
| gap: 16px; | |
| } | |
| .page-title { | |
| font-size: 36px; | |
| font-weight: 800; | |
| color: var(--text-main); | |
| margin-bottom: 12px; | |
| letter-spacing: -1px; | |
| } | |
| .page-subtitle { | |
| font-size: 18px; | |
| color: var(--text-sub); | |
| max-width: 600px; | |
| margin: 0 auto; | |
| line-height: 1.6; | |
| } | |
| .section-title { | |
| font-size: 20px; | |
| font-weight: 700; | |
| margin-bottom: 20px; | |
| color: var(--text-main); | |
| display: flex; | |
| align-items: center; | |
| gap: 8px; | |
| } | |
| /* 全局页脚 */ | |
| .global-footer { | |
| margin-top: 80px; | |
| padding: 32px 0 24px; | |
| border-top: 1px solid var(--border-color); | |
| background: transparent; | |
| } | |
| .footer-content { | |
| display: flex; | |
| flex-direction: column; | |
| align-items: center; | |
| gap: 8px; | |
| } | |
| .footer-text { | |
| font-size: 14px; | |
| color: var(--text-sub); | |
| font-weight: 500; | |
| } | |
| .footer-text a { | |
| color: var(--primary); | |
| text-decoration: none; | |
| font-weight: 600; | |
| transition: all 0.2s ease; | |
| } | |
| .footer-text a:hover { | |
| color: var(--primary-hover); | |
| text-decoration: underline; | |
| } | |
| .footer-license { | |
| font-size: 13px; | |
| color: var(--text-placeholder); | |
| } | |
| .footer-license a { | |
| color: var(--text-sub); | |
| text-decoration: none; | |
| transition: all 0.2s ease; | |
| } | |
| .footer-license a:hover { | |
| color: var(--primary); | |
| text-decoration: underline; | |
| } | |