From: danix Date: Fri, 27 Jan 2023 17:02:53 +0000 (+0100) Subject: initial cleanup of the styling. X-Git-Url: https://git.danix.xyz/?a=commitdiff_plain;h=92f65567cbc73296fcec0368ead5a635e2805a59;p=theme-danix.xyz.git initial cleanup of the styling. --- 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" . -}}