From 92f65567cbc73296fcec0368ead5a635e2805a59 Mon Sep 17 00:00:00 2001 From: danix Date: Fri, 27 Jan 2023 18:02:53 +0100 Subject: [PATCH] initial cleanup of the styling. --- assets/sass/main.scss | 20 ++++++++++++++++---- layouts/partials/footer-addition.html | 2 +- layouts/partials/head-addition.html | 6 +++++- layouts/partials/head.html | 2 -- layouts/post/single-baseof.html | 2 +- 5 files changed, 23 insertions(+), 9 deletions(-) diff --git a/assets/sass/main.scss b/assets/sass/main.scss index 55e11c4..8a037a9 100644 --- a/assets/sass/main.scss +++ b/assets/sass/main.scss @@ -8,8 +8,7 @@ // MY COLOR DEFINITIONS @import "colors"; // GOOGLE FONTS -@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,200;0,400;0,600;1,400;1,600&display=swap'); - + @import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,200;0,400;0,600;1,400;1,600&family=Red+Hat+Mono&display=swap'); html { margin: 0; padding: 0; @@ -76,8 +75,7 @@ html { a { color: $dark-orange; &:hover { - animation-name: fa-bounce; - color: shade($dark-orange, 60%); + color: shade($dark-orange, 40%); } } } @@ -91,4 +89,18 @@ html { .screen-reader-text, .hidden { @include hide-visually; +} +pre { + margin: 1em; + padding: 0.7em; + max-width: 90vw; + background-color: $light-grey; + color: $light-orange; + font-size: 1.4em; + font-family: 'Red Hat Mono', monospace; +} +div#backtotop { + a { + color: $light-orange; + } } \ No newline at end of file diff --git a/layouts/partials/footer-addition.html b/layouts/partials/footer-addition.html index d5da406..dce3e8c 100644 --- a/layouts/partials/footer-addition.html +++ b/layouts/partials/footer-addition.html @@ -1,4 +1,4 @@
- back to top + back to top
diff --git a/layouts/partials/head-addition.html b/layouts/partials/head-addition.html index b298b5e..fdfaef9 100644 --- a/layouts/partials/head-addition.html +++ b/layouts/partials/head-addition.html @@ -4,7 +4,11 @@ {{ if isset .Params "featured_image" }} {{ end }} diff --git a/layouts/partials/head.html b/layouts/partials/head.html index 4c451a9..e100d06 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -6,8 +6,6 @@ {{ $style_options := (dict "targetPath" "css/style.css" "outputStyle" "compressed" "transpiler" "dartsass" "enableSourceMap" (not hugo.IsProduction)) }} {{ $style := resources.Get "sass/main.scss" | resources.ToCSS $style_options }} - - {{ partial "funcs/favicon.html" . }} diff --git a/layouts/post/single-baseof.html b/layouts/post/single-baseof.html index 10afcb1..dbe68c7 100644 --- a/layouts/post/single-baseof.html +++ b/layouts/post/single-baseof.html @@ -2,7 +2,7 @@ {{- partial "head.html" . -}} -
+
{{- partial "header.html" . -}}
-- 2.20.1