From a6b023cce737584e80bd2bb593f0edc88a2aa583 Mon Sep 17 00:00:00 2001 From: Richard Attermeyer Date: Mon, 8 Jul 2019 21:34:03 +0200 Subject: [PATCH] updated to include typeface lato and changed to print current nav item in bold --- package-lock.json | 5 +++++ package.json | 3 +++ src/css/nav.css | 12 ++++++++---- src/css/site.css | 3 +-- 4 files changed, 17 insertions(+), 6 deletions(-) diff --git a/package-lock.json b/package-lock.json index 97ee80a..d91cdf6 100644 --- a/package-lock.json +++ b/package-lock.json @@ -10863,6 +10863,11 @@ "integrity": "sha1-hnrHTjhkGHsdPUfZlqeOxciDB3c=", "dev": true }, + "typeface-lato": { + "version": "0.0.54", + "resolved": "https://registry.npmjs.org/typeface-lato/-/typeface-lato-0.0.54.tgz", + "integrity": "sha512-2/oP5YrXCBSLg+N2ZdWnMbJ0PRIidrJVFHgRoLxo5MNsdu9eE4aBwsoEY/K/+9rKdktGO8zpiXBYPRn9F6U/Sw==" + }, "typeface-roboto": { "version": "0.0.54", "resolved": "https://registry.npmjs.org/typeface-roboto/-/typeface-roboto-0.0.54.tgz", diff --git a/package.json b/package.json index be075c2..7886700 100644 --- a/package.json +++ b/package.json @@ -54,5 +54,8 @@ "typeface-roboto-mono": "0.0.54", "vinyl-buffer": "~1.0", "vinyl-fs": "~3.0" + }, + "dependencies": { + "typeface-lato": "0.0.54" } } diff --git a/src/css/nav.css b/src/css/nav.css index e94d6f4..2c6338e 100644 --- a/src/css/nav.css +++ b/src/css/nav.css @@ -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; @@ -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 { @@ -230,7 +234,7 @@ html.is-clipped--nav { } .nav-panel-explore .component .title { - font-weight: 500; + font-weight: 700; } .nav-panel-explore .versions { @@ -255,7 +259,7 @@ html.is-clipped--nav { .nav-panel-explore .component .is-current a { border-color: #4a4a4a; - font-weight: 500; + font-weight: 700; } /* diff --git a/src/css/site.css b/src/css/site.css index 07c9d93..607059f 100644 --- a/src/css/site.css +++ b/src/css/site.css @@ -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";