diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html index 0b70a07..d5cea51 100644 --- a/layouts/partials/footer.html +++ b/layouts/partials/footer.html @@ -6,11 +6,7 @@ {{ $jsToTop := resources.Get "js/back-to-top.js" | minify }} - + {{ partial "search-index.html" .}} diff --git a/static/css/custom.css b/static/css/custom.css index b37b41f..9b745d8 100644 --- a/static/css/custom.css +++ b/static/css/custom.css @@ -260,7 +260,6 @@ form button { display: grid; grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr)); grid-gap: 0.5rem; - /* justify-content: center; */ margin: 0.5rem 0; } @@ -333,4 +332,15 @@ button.tinylytics_kudos:hover { .frontmatter_tags { font-size: 0.8rem; color: var(--off-fg); +} + +/* back-to-top styling */ +#back-to-top { + background: var(--inner-bg); + height: 56px; + width: 56px; +} + +#back-to-top svg { + fill: var(--link); } \ No newline at end of file