From 4f9bb2bb8207cac43f360f0ef930aacae6facc46 Mon Sep 17 00:00:00 2001 From: Geo Date: Sat, 23 Apr 2022 15:11:29 +0100 Subject: [PATCH] starters: redesign of Minimal template --- starters/minimal/assets/scss/template.scss | 7 +++++++ starters/minimal/config/_default/config.yaml | 2 +- starters/minimal/content/authors/admin/_index.md | 4 +--- starters/minimal/go.mod | 5 +---- wowchemy/assets/scss/wowchemy/layouts/_footer.scss | 8 ++++++++ 5 files changed, 18 insertions(+), 8 deletions(-) diff --git a/starters/minimal/assets/scss/template.scss b/starters/minimal/assets/scss/template.scss index b14bc78a..287a43f4 100644 --- a/starters/minimal/assets/scss/template.scss +++ b/starters/minimal/assets/scss/template.scss @@ -16,6 +16,13 @@ ul.network-icon .big-icon { font-size: 1.5rem; } +.network-icon li { + @include media-breakpoint-down(sm) { + /* Min 48px Lighthouse tap targets on mobile */ + margin-right: 12px; + } +} + .dark .portrait-title h3 { color: rgba(255, 255, 255, 0.9); font-weight: bold; diff --git a/starters/minimal/config/_default/config.yaml b/starters/minimal/config/_default/config.yaml index 166231c4..f6624ed7 100644 --- a/starters/minimal/config/_default/config.yaml +++ b/starters/minimal/config/_default/config.yaml @@ -21,8 +21,8 @@ removePathAccents: true module: imports: - - path: github.com/wowchemy/wowchemy-hugo-modules/wowchemy-cms/v5 - path: github.com/wowchemy/wowchemy-hugo-modules/wowchemy/v5 +# - path: github.com/wowchemy/wowchemy-hugo-modules/wowchemy-cms/v5 ############################ ## ADVANCED diff --git a/starters/minimal/content/authors/admin/_index.md b/starters/minimal/content/authors/admin/_index.md index 75277b1e..c7a87c42 100644 --- a/starters/minimal/content/authors/admin/_index.md +++ b/starters/minimal/content/authors/admin/_index.md @@ -19,7 +19,7 @@ status: # url: "" # Short bio (displayed in user profile at end of posts) -bio: My research interests include distributed robotics, mobile computing and programmable matter. +bio: '' # Social/Academic Networking # For available icons, see: https://wowchemy.com/docs/getting-started/page-builder/#icons @@ -53,8 +53,6 @@ social: icon_pack: fas label: View Resume link: uploads/resume.pdf - # Enter email to display Gravatar (if Gravatar enabled in Config) #email: "" --- - diff --git a/starters/minimal/go.mod b/starters/minimal/go.mod index a0501125..548c2da5 100644 --- a/starters/minimal/go.mod +++ b/starters/minimal/go.mod @@ -2,7 +2,4 @@ module github.com/wowchemy/starter-minimal go 1.14 -require ( - github.com/wowchemy/wowchemy-hugo-modules/wowchemy-cms/v5 v5.0.0-20220412113704-f6b6d736055b // indirect - github.com/wowchemy/wowchemy-hugo-modules/wowchemy/v5 v5.0.0-20220412113704-f6b6d736055b // indirect -) +require github.com/wowchemy/wowchemy-hugo-modules/wowchemy/v5 v5.0.0-20220421125247-378aa6124fa1 // indirect diff --git a/wowchemy/assets/scss/wowchemy/layouts/_footer.scss b/wowchemy/assets/scss/wowchemy/layouts/_footer.scss index 5293b393..d9943fc8 100644 --- a/wowchemy/assets/scss/wowchemy/layouts/_footer.scss +++ b/wowchemy/assets/scss/wowchemy/layouts/_footer.scss @@ -8,10 +8,18 @@ footer { footer p { font-size: 0.75rem; text-align: center; + @include media-breakpoint-down(sm) { + /* 12px is min size required by Lighthouse on mobile */ + font-size: 12px; + } } footer .powered-by { font-size: 0.67rem; + @include media-breakpoint-down(sm) { + /* 12px is min size required by Lighthouse on mobile */ + font-size: 12px; + } } .site-footer {