diff --git a/hugo.yaml b/hugo.yaml index dd277e7..fc07104 100644 --- a/hugo.yaml +++ b/hugo.yaml @@ -4,6 +4,12 @@ language: en-GB theme: nostyleplease +markup: + highlight: + codeFences: true + noClasses: true + style: nord + params: theme_config: appearance: dark diff --git a/static/images/apple-touch-icon.png b/static/images/apple-touch-icon.png index 86bbac9..945b2d8 100644 Binary files a/static/images/apple-touch-icon.png and b/static/images/apple-touch-icon.png differ diff --git a/static/images/banner-placeholder.png b/static/images/banner-placeholder.png new file mode 100644 index 0000000..efedf82 Binary files /dev/null and b/static/images/banner-placeholder.png differ diff --git a/static/images/dynamic-banners/archetyp.png b/static/images/dynamic-banners/archetyp.png new file mode 100644 index 0000000..b655e2f Binary files /dev/null and b/static/images/dynamic-banners/archetyp.png differ diff --git a/static/images/dynamic-banners/banner-variations.png b/static/images/dynamic-banners/banner-variations.png new file mode 100644 index 0000000..99f861a Binary files /dev/null and b/static/images/dynamic-banners/banner-variations.png differ diff --git a/static/images/favicon-96x96.png b/static/images/favicon-96x96.png index 6d0ad0b..64f9d61 100644 Binary files a/static/images/favicon-96x96.png and b/static/images/favicon-96x96.png differ diff --git a/static/images/favicon.ico b/static/images/favicon.ico index dabc6ad..68b0bc4 100644 Binary files a/static/images/favicon.ico and b/static/images/favicon.ico differ diff --git a/static/images/favicon.svg b/static/images/favicon.svg index 3f974ee..0eb1012 100644 --- a/static/images/favicon.svg +++ b/static/images/favicon.svg @@ -1,3 +1,13 @@ - \ No newline at end of file + + + + + + + + + + + + + \ No newline at end of file diff --git a/static/images/web-app-manifest-192x192.png b/static/images/web-app-manifest-192x192.png index 0545c19..c702549 100644 Binary files a/static/images/web-app-manifest-192x192.png and b/static/images/web-app-manifest-192x192.png differ diff --git a/static/images/web-app-manifest-512x512.png b/static/images/web-app-manifest-512x512.png index 9ae29a3..5a77f32 100644 Binary files a/static/images/web-app-manifest-512x512.png and b/static/images/web-app-manifest-512x512.png differ diff --git a/static/manifest.json b/static/manifest.json index aa0d29c..34ed30d 100644 --- a/static/manifest.json +++ b/static/manifest.json @@ -15,7 +15,7 @@ "purpose": "maskable" } ], - "theme_color": "#252525", - "background_color": "#252525", + "theme_color": "#525252", + "background_color": "#525252", "display": "standalone" } diff --git a/themes/nostyleplease/assets/css/main.scss b/themes/nostyleplease/assets/css/main.scss index 089a201..0d199c0 100644 --- a/themes/nostyleplease/assets/css/main.scss +++ b/themes/nostyleplease/assets/css/main.scss @@ -54,7 +54,7 @@ } @mixin dark-appearance { - @include theme(#000000, #f1fffa, #000000, #3aeb9d, #b7f8c6, #b1d2b8); + @include theme(#000000, #f1fffa, #000000, #93b1b2, #c8e0f8, #b1b8d2); } @mixin light-appearance { @@ -88,13 +88,11 @@ body { header { display: flex; align-items: center; - width: min-content; + width: 100%; } -header > img { - max-width: 2.5rem; - max-height: 2.5rem; - padding-right: 1rem; +#banner { + padding-bottom: 2rem; } h2, h3, h4, h5, h6 { margin-top: 1.5rem; } @@ -129,6 +127,7 @@ table, th, td { } code { + font-size: 15px; text-size-adjust: 100%; -ms-text-size-adjust: 100%; -moz-text-size-adjust: 100%; @@ -194,5 +193,7 @@ details[open] summary { } .site-footer { + display: flex; + justify-content: center; margin-top: 2em; } diff --git a/themes/nostyleplease/layouts/index.html b/themes/nostyleplease/layouts/index.html index c168eed..63c9503 100644 --- a/themes/nostyleplease/layouts/index.html +++ b/themes/nostyleplease/layouts/index.html @@ -1,12 +1,36 @@ {{ define "main" }}
- -

{{ $.Site.Title }}

+ {{- if $.Site.Params.theme_config.show_description -}}

{{ $.Site.Params.description }}

{{- end -}}
+ +{{ if hugo.IsProduction }} + + +{{ else }} + + +{{ end }} + {{ .Content }} {{ partial "menu_item.html" (dict "context" . "collection" $.Site.Data.menu.entries) }} diff --git a/themes/nostyleplease/layouts/partials/footer.html b/themes/nostyleplease/layouts/partials/footer.html index 7bf1b5b..9e8b37b 100644 --- a/themes/nostyleplease/layouts/partials/footer.html +++ b/themes/nostyleplease/layouts/partials/footer.html @@ -1,3 +1,3 @@