Skip to content

Commit ecee7c4

Browse files
committed
fix: unify homepage nav style with doc pages (font-size/weight/blur)
1 parent b3b0138 commit ecee7c4

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

_layouts/home.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -58,13 +58,13 @@
5858
body { font-family: var(--font-sans); color: var(--ink); line-height: 1.5; background: var(--canvas); -webkit-font-smoothing: antialiased; }
5959

6060
/* Nav */
61-
.nav { height: 64px; display: flex; align-items: center; position: sticky; top: 0; z-index: 100; backdrop-filter: blur(12px); background: rgba(255,255,255,0.85); border-bottom: 1px solid var(--hairline); }
61+
.nav { height: 64px; display: flex; align-items: center; position: sticky; top: 0; z-index: 100; backdrop-filter: blur(8px); background: rgba(255,255,255,0.8); border-bottom: 1px solid var(--hairline); }
6262
.nav-inner { max-width: 1100px; margin: 0 auto; padding: 0 24px; width: 100%; display: flex; align-items: center; justify-content: space-between; }
63-
.nav-logo { font-size: 15px; font-weight: 600; color: var(--ink); text-decoration: none; letter-spacing: -0.3px; }
63+
.nav-logo { font-size: 16px; font-weight: 700; color: var(--ink); text-decoration: none; letter-spacing: -0.5px; }
6464
.nav-links { display: flex; gap: 8px; align-items: center; }
65-
.nav-links a { color: var(--body); text-decoration: none; font-size: 13px; font-weight: 400; padding: 6px 12px; border-radius: var(--rounded-pill); transition: background 0.15s, color 0.15s; }
65+
.nav-links a { color: var(--body); text-decoration: none; font-size: 14px; font-weight: 500; padding: 6px 12px; border-radius: var(--rounded-pill); transition: background 0.15s, color 0.15s; }
6666
.nav-links a:hover { background: var(--canvas-soft-2); color: var(--ink); }
67-
.nav-cta { background: var(--primary) !important; color: var(--on-primary) !important; font-size: 13px !important; font-weight: 500; padding: 6px 14px !important; border-radius: var(--rounded-sm); }
67+
.nav-cta { background: var(--primary) !important; color: var(--on-primary) !important; font-size: 14px !important; font-weight: 500; padding: 6px 16px !important; border-radius: var(--rounded-sm); }
6868
.nav-cta:hover { opacity: 0.9; }
6969

7070
/* Hero with background image */

0 commit comments

Comments
 (0)