From 42d51c3e6597d574c0dc22b1658096b5e9ff2c92 Mon Sep 17 00:00:00 2001 From: Simon C Date: Tue, 1 Feb 2022 12:12:58 +0100 Subject: [PATCH] fix: Update style and resize image --- assets/styles/main.sass | 6 ++++++ config/_default/config.yml | 1 + themes/hugo-theme-lowtech | 2 +- 3 files changed, 8 insertions(+), 1 deletion(-) diff --git a/assets/styles/main.sass b/assets/styles/main.sass index a7ae72e..a738f97 100644 --- a/assets/styles/main.sass +++ b/assets/styles/main.sass @@ -33,6 +33,12 @@ body --tile: 1rem font-size: .9rem +img + max-width: 100% + @media screen and (max-width: $size-small) + max-width: calc(100% + 1rem) + margin-left: -.5rem + hr border: 0 border-bottom: var(--border-size) var(--border-style) var(--color-highlight) diff --git a/config/_default/config.yml b/config/_default/config.yml index bd2860d..716f94a 100644 --- a/config/_default/config.yml +++ b/config/_default/config.yml @@ -16,6 +16,7 @@ permalinks: params: FaviconFile: logo.svg + ImageSize: 800x minify: tdewolff: diff --git a/themes/hugo-theme-lowtech b/themes/hugo-theme-lowtech index 2b026a0..ae3473d 160000 --- a/themes/hugo-theme-lowtech +++ b/themes/hugo-theme-lowtech @@ -1 +1 @@ -Subproject commit 2b026a00ab899b33187b043a36e569973a3adb49 +Subproject commit ae3473dcea1a4bf11ccb887f1209324267f7c028