Skip to content

Commit

Permalink
updated to include typeface lato
Browse files Browse the repository at this point in the history
and changed to print current nav item in bold
  • Loading branch information
rattermeyer committed Jul 8, 2019
1 parent 3274fa9 commit a6b023c
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 6 deletions.
5 changes: 5 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,5 +54,8 @@
"typeface-roboto-mono": "0.0.54",
"vinyl-buffer": "~1.0",
"vinyl-fs": "~3.0"
},
"dependencies": {
"typeface-lato": "0.0.54"
}
}
12 changes: 8 additions & 4 deletions src/css/nav.css
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ html.is-clipped--nav {

.nav-menu h3.title {
margin: 0;
font-weight: 500;
font-weight: 700;
color: #424242;
font-size: 1em;
padding: 0.25em 0 0.125em;
Expand Down Expand Up @@ -159,9 +159,13 @@ html.is-clipped--nav {
transform: rotate(90deg);
}

.is-current-page > .nav-link {
font-weight: 700;
}

.is-current-page > .nav-link,
.is-current-page > .nav-text {
font-weight: 500;
font-weight: 700;
}

.nav-panel-explore {
Expand Down Expand Up @@ -230,7 +234,7 @@ html.is-clipped--nav {
}

.nav-panel-explore .component .title {
font-weight: 500;
font-weight: 700;
}

.nav-panel-explore .versions {
Expand All @@ -255,7 +259,7 @@ html.is-clipped--nav {

.nav-panel-explore .component .is-current a {
border-color: #4a4a4a;
font-weight: 500;
font-weight: 700;
}

/*
Expand Down
3 changes: 1 addition & 2 deletions src/css/site.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
@import "typeface-roboto.css";
@import "typeface-roboto-mono.css";
@import "typeface-lato";
@import "vars.css";
@import "base.css";
@import "body.css";
Expand Down

0 comments on commit a6b023c

Please sign in to comment.