From 8c9916d09175818db7e35efce306ae7e8044cc18 Mon Sep 17 00:00:00 2001 From: Henk Verlinde Date: Tue, 1 Feb 2022 11:51:28 +0100 Subject: [PATCH] ux: set font weight active page to 500 --- assets/scss/layouts/_sidebar.scss | 6 ++++++ config/_default/params.toml | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/assets/scss/layouts/_sidebar.scss b/assets/scss/layouts/_sidebar.scss index 2a48a5f..88959bf 100644 --- a/assets/scss/layouts/_sidebar.scss +++ b/assets/scss/layouts/_sidebar.scss @@ -92,6 +92,12 @@ a.docs-link { color: $link-color; } +.nav-link.active, +.dropdown-menu-main .dropdown-item.active, +.docs-link.active { + font-weight: 500; +} + .docs-links h3.sidebar-link, .page-links h3.sidebar-link { text-transform: none; diff --git a/config/_default/params.toml b/config/_default/params.toml index b7451a0..9b1bd85 100644 --- a/config/_default/params.toml +++ b/config/_default/params.toml @@ -54,7 +54,7 @@ lqipWidth = "20x" smallLimit = "300" # Footer -footer = "Powered by Netlify, Hugo, and Doks" +footer = "Powered by Netlify, Hugo, and Doks" # Feed copyRight = "Copyright (c) 2020-2021 Henk Verlinde"