From d6cfcde35fc42124fdf9a7c7eb1eddc308613a60 Mon Sep 17 00:00:00 2001 From: Jarrod Millman Date: Thu, 4 Jul 2024 07:19:34 -0700 Subject: [PATCH 1/2] Update hugo (0.128.2) (#628) --- doc/netlify.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/netlify.toml b/doc/netlify.toml index 5e44ebd0..96fff0ef 100644 --- a/doc/netlify.toml +++ b/doc/netlify.toml @@ -1,6 +1,6 @@ [build.environment] PYTHON_VERSION = "3.8" # netlify currently only support 2.7 and 3.8 - HUGO_VERSION = "0.126.2" + HUGO_VERSION = "0.128.2" DART_SASS_VERSION = "1.77.5" DART_SASS_URL = "https://github.com/sass/dart-sass/releases/download/" From 827e00a1ec9b059cd21f8f5885e7c71ae561478a Mon Sep 17 00:00:00 2001 From: Stefan van der Walt Date: Fri, 19 Jul 2024 05:21:34 -0700 Subject: [PATCH 2/2] Use FontAwesome for backtotop icon (#629) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Some computers do not have the unicode fonts required to render ⮝ --- assets/theme-css/backtotop.css | 19 +++++++------------ layouts/_default/baseof.html | 2 +- 2 files changed, 8 insertions(+), 13 deletions(-) diff --git a/assets/theme-css/backtotop.css b/assets/theme-css/backtotop.css index 94ce41a5..2e360a31 100644 --- a/assets/theme-css/backtotop.css +++ b/assets/theme-css/backtotop.css @@ -21,10 +21,11 @@ background: #f39200; } #backtotop a { + display: flex; + align-items: center; outline: none; text-decoration: none; border: 0; - display: block; width: 46px; height: 46px; background-color: var( @@ -35,20 +36,14 @@ border-radius: 50%; text-align: center; font-size: 1.625rem; + color: var(--spht-color-light); } -body #backtotop a { - outline: none; - color: var(--colorSecondary); -} -#backtotop a:after { - outline: none; - content: "⮝"; - position: relative; + +#backtotop svg { + margin: 0 auto; display: block; - top: 50%; - -webkit-transform: translateY(-55%); - transform: translateY(-55%); } + #backtotop.visible #backtotop-color:hover { background: var(--pst-color-link-hover); } diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index e940c5bc..bcca00c2 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -33,7 +33,7 @@ {{ end }} -
+
{{ if .Site.Params.footer }} {{ partial "footer.html" . -}}