mirror of
https://github.com/handsomezhuzhu/personal-navigation-site.git
synced 2026-04-18 22:32:52 +00:00
feat: redesign navigation with modern centered layout
Centered title, optimized search box, improved category headers, enhanced card interactions, and realigned footer. Co-authored-by: Simon <85533298+handsomezhuzhu@users.noreply.github.com>
This commit is contained in:
@@ -3,27 +3,27 @@
|
||||
|
||||
@custom-variant dark (&:is(.dark *));
|
||||
|
||||
/* 深色主题设计,适合个人导航站 */
|
||||
/* 深色主题设计,个人导航站 - 深蓝色调 */
|
||||
:root {
|
||||
--background: oklch(0.13 0.01 260);
|
||||
--foreground: oklch(0.95 0 0);
|
||||
--card: oklch(0.18 0.01 260);
|
||||
--card-foreground: oklch(0.95 0 0);
|
||||
--popover: oklch(0.18 0.01 260);
|
||||
--popover-foreground: oklch(0.95 0 0);
|
||||
--primary: oklch(0.7 0.15 200);
|
||||
--background: oklch(0.12 0.015 240);
|
||||
--foreground: oklch(0.98 0 0);
|
||||
--card: oklch(0.16 0.015 240);
|
||||
--card-foreground: oklch(0.98 0 0);
|
||||
--popover: oklch(0.16 0.015 240);
|
||||
--popover-foreground: oklch(0.98 0 0);
|
||||
--primary: oklch(0.75 0.12 180);
|
||||
--primary-foreground: oklch(0.1 0 0);
|
||||
--secondary: oklch(0.25 0.01 260);
|
||||
--secondary-foreground: oklch(0.9 0 0);
|
||||
--muted: oklch(0.25 0.01 260);
|
||||
--muted-foreground: oklch(0.65 0 0);
|
||||
--accent: oklch(0.7 0.15 200);
|
||||
--secondary: oklch(0.22 0.015 240);
|
||||
--secondary-foreground: oklch(0.95 0 0);
|
||||
--muted: oklch(0.22 0.015 240);
|
||||
--muted-foreground: oklch(0.6 0.01 240);
|
||||
--accent: oklch(0.75 0.12 180);
|
||||
--accent-foreground: oklch(0.1 0 0);
|
||||
--destructive: oklch(0.577 0.245 27.325);
|
||||
--destructive-foreground: oklch(0.577 0.245 27.325);
|
||||
--border: oklch(0.28 0.01 260);
|
||||
--input: oklch(0.28 0.01 260);
|
||||
--ring: oklch(0.7 0.15 200);
|
||||
--border: oklch(0.24 0.02 240);
|
||||
--input: oklch(0.20 0.015 240);
|
||||
--ring: oklch(0.75 0.12 180);
|
||||
--chart-1: oklch(0.646 0.222 41.116);
|
||||
--chart-2: oklch(0.6 0.118 184.704);
|
||||
--chart-3: oklch(0.398 0.07 227.392);
|
||||
|
||||
Reference in New Issue
Block a user