From 8c9916d09175818db7e35efce306ae7e8044cc18 Mon Sep 17 00:00:00 2001 From: Henk Verlinde Date: Tue, 1 Feb 2022 11:51:28 +0100 Subject: [PATCH 1/2] 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" From 29b19cf68c6d3f999e7aa5da0f2821b83a263a8d Mon Sep 17 00:00:00 2001 From: Henk Verlinde Date: Tue, 1 Feb 2022 12:04:12 +0100 Subject: [PATCH 2/2] config: preload jost-v4-latin-500.woff2 --- layouts/partials/head/resource-hints.html | 1 + 1 file changed, 1 insertion(+) diff --git a/layouts/partials/head/resource-hints.html b/layouts/partials/head/resource-hints.html index 3baa711..73bccd9 100644 --- a/layouts/partials/head/resource-hints.html +++ b/layouts/partials/head/resource-hints.html @@ -1,4 +1,5 @@ + {{ if .Site.Params.options.kaTex -}}