Skip to content

Commit c9d479b

Browse files
authored
Merge pull request #13 from rakeshAlgo/nav-menu-ui
Fix Navigation style menu
2 parents 2f2bc0e + 118717e commit c9d479b

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

src/css/nav.css

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -45,9 +45,10 @@
4545
display: flex;
4646
word-break: break-all;
4747
align-items: center;
48-
font-size: 20px;
48+
font-size: 1.25rem;
4949
line-height: 28px;
50-
font-family: "Open Sans", sans-serif;
50+
/* font-family: "Open Sans", sans-serif; */
51+
font-family: "Source Sans Pro", sans-serif;
5152
color: var(--color-brand-gray1);
5253
font-weight: var(--weight-semibold);
5354
}
@@ -97,6 +98,7 @@
9798
.nav-menu .nav-list li a {
9899
font-size: 0.875rem;
99100
font-weight: var(--weight-normal);
101+
font-family: "Source Sans Pro", sans-serif;
100102
}
101103

102104
.nav-menu > .nav-list {
@@ -179,9 +181,10 @@
179181

180182
.nav-menu .nav-item.is-current-page > .nav-line > a.nav-link {
181183
color: var(--color-text);
182-
font-weight: var(--weight-medium);
184+
font-weight: var(--weight-semibold);
183185
}
184186

187+
.nav-item.open.is-active[data-depth="1"] .in-toggle[data-depth='1'],
185188
.nav-item.is-current-path.is-active[data-depth='1'] .in-toggle[data-depth='1'],
186189
.nav-item.is-current-page.is-active[data-depth='1'] .in-toggle[data-depth='1'],
187190
.nav-item.is-current-path.is-active[data-depth='2'] .in-toggle[data-depth='2'],
@@ -299,7 +302,8 @@ html.is-clipped--nav {
299302
/* flex-direction: row-reverse; */
300303
}
301304

302-
.nav-line[data-depth="1"] .nav-link {
305+
.nav-line[data-depth="1"] .nav-link,
306+
.nav-line[data-depth="1"] .nav-text {
303307
/* color: var(--color-brand-gray4); */
304308
color: var(--color-brand-black);
305309
font-size: var(--font-base);

0 commit comments

Comments
 (0)