diff --git a/config/_default/params.toml b/config/_default/params.toml index e3cd7907..14fcc9d2 100644 --- a/config/_default/params.toml +++ b/config/_default/params.toml @@ -13,7 +13,7 @@ logo_dark = "images/logos/logo-dark.svg" logo_webp = false logo_text = "Intelops" -logo_width = "147px" +logo_width = "130px" mainSections = ["blog"] mobile = "+211234565523" fullSiteSearch = true diff --git a/netlify.toml b/netlify.toml index 93b5fce1..a7e2ba01 100644 --- a/netlify.toml +++ b/netlify.toml @@ -3,7 +3,8 @@ command = "hugo --minify --gc" [build.environment] - HUGO_VERSION = "0.85.0" + HUGO_VERSION = "0.111.3" + GO_VERSION = "1.19.4" HUGO_BASEURL = "/" [[headers]] diff --git a/themes/delta/assets/js/script.js b/themes/delta/assets/js/script.js index 36215893..52af59ff 100644 --- a/themes/delta/assets/js/script.js +++ b/themes/delta/assets/js/script.js @@ -337,7 +337,7 @@ if ($(".navigation-alt").length !== 0) { (navigationAltHeight + navigationBottomHeight) * 2 ) { navigationBottom.addClass("sticky"); - navigationBottom.css("top", 0 - navigationAltHeight + "px"); + navigationBottom.css("top", 0 - navigationBottomHeight + "px"); } else { navigationBottom.removeClass("sticky"); navigationBottom.css("top", "unset"); diff --git a/themes/delta/assets/scss/templates/_navigation.scss b/themes/delta/assets/scss/templates/_navigation.scss index 96de8775..04bed35c 100644 --- a/themes/delta/assets/scss/templates/_navigation.scss +++ b/themes/delta/assets/scss/templates/_navigation.scss @@ -133,9 +133,9 @@ } } .navbar-brand.d-none { - margin-right: 13px; + margin-right: 16px; img { - padding-right: 10px; + padding-right: 13px; border-right: 1px solid #ddd; } } @@ -143,6 +143,9 @@ &.navigation-bottom, &.navigation-alt { position: relative; + .navbar { + padding: 3px 0 !important; + } } &.navigation-bottom .navbar { border-top: 1px solid lighten($banner-primary, 12); diff --git a/themes/delta/layouts/partials/header-alt.html b/themes/delta/layouts/partials/header-alt.html index 95dceea7..6d1cd6bd 100644 --- a/themes/delta/layouts/partials/header-alt.html +++ b/themes/delta/layouts/partials/header-alt.html @@ -8,7 +8,7 @@ {{ partial "logo.html" }} - + {{ $logoPath:= .Params.navigation.logo }} {{ $logoWebp:= false }} {{ $logoDarkPath:= .Params.navigation.logo_dark }} @@ -215,7 +215,7 @@ {{ $section := .Section | urlize}}