Skip to content

Commit c6ff2da

Browse files
committed
site: refine docs top bar styling
1 parent 743f0a0 commit c6ff2da

1 file changed

Lines changed: 19 additions & 0 deletions

File tree

site/styles.css

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1394,6 +1394,13 @@ body,
13941394
backdrop-filter: blur(18px);
13951395
}
13961396

1397+
.page-docs .docs-topbar {
1398+
border-bottom-color: rgba(23, 28, 36, 0.1);
1399+
background:
1400+
linear-gradient(180deg, rgba(249, 245, 239, 0.92), rgba(241, 234, 224, 0.86));
1401+
box-shadow: 0 10px 28px rgba(28, 33, 43, 0.06);
1402+
}
1403+
13971404
.brand-mark {
13981405
color: var(--text);
13991406
border-color: var(--line-strong);
@@ -1409,6 +1416,12 @@ body,
14091416
color: var(--muted);
14101417
}
14111418

1419+
.page-docs .docs-actions .button {
1420+
border-color: rgba(23, 28, 36, 0.12);
1421+
background: rgba(255, 255, 255, 0.5);
1422+
color: #5d6472;
1423+
}
1424+
14121425
.topnav a:hover,
14131426
.docs-actions .button:hover,
14141427
.docs-actions .button:focus-visible {
@@ -1417,6 +1430,12 @@ body,
14171430
color: var(--text);
14181431
}
14191432

1433+
.page-docs .docs-actions .button:hover,
1434+
.page-docs .docs-actions .button:focus-visible {
1435+
border-color: rgba(183, 132, 61, 0.24);
1436+
background: rgba(255, 255, 255, 0.86);
1437+
}
1438+
14201439
.topnav-cta {
14211440
border-color: #151b26;
14221441
background: #151b26;

0 commit comments

Comments
 (0)