From 6b590b28a2fba016b33fae9a86953240886b48b8 Mon Sep 17 00:00:00 2001 From: Andrew Williams Date: Mon, 6 Nov 2023 16:58:53 +0000 Subject: [PATCH] Move style tags to SCSS --- themes/lhs/assets/sass/leighhack.scss | 16 ++++++++++++++++ themes/lhs/layouts/_default/baseof.html | 2 +- themes/lhs/layouts/partials/header.html | 2 +- themes/lhs/layouts/shortcodes/facilities.html | 5 +---- themes/lhs/layouts/shortcodes/memberships.html | 5 +---- 5 files changed, 20 insertions(+), 10 deletions(-) diff --git a/themes/lhs/assets/sass/leighhack.scss b/themes/lhs/assets/sass/leighhack.scss index 52c3a0c..18baddb 100644 --- a/themes/lhs/assets/sass/leighhack.scss +++ b/themes/lhs/assets/sass/leighhack.scss @@ -108,6 +108,12 @@ address { transition: all 0.2s; } +.site-logo-text { + font-size: .9em; + line-height: 1.1; + font-family: 'Transport Medium'; +} + // ------------------------------------------------------- //Navigation // ------------------------------------------------------- @@ -207,6 +213,10 @@ address { border-color: hsl(0, 0%, 86%); } } + + &-description { + min-height: 180px; + } } .small_cta { @@ -223,8 +233,14 @@ address { &-tiers, &-facilities{ padding:2em 0; } + + &-description { + min-height: 180px; + } } + + // ------------------------------------------------------- // Join the team // ------------------------------------------------------- diff --git a/themes/lhs/layouts/_default/baseof.html b/themes/lhs/layouts/_default/baseof.html index 7c7babb..fa41d61 100644 --- a/themes/lhs/layouts/_default/baseof.html +++ b/themes/lhs/layouts/_default/baseof.html @@ -12,7 +12,7 @@ {{ block "hero" . }}
- {{ $img := resources.Get "/images/hero-bg.jpg" }} + {{ $img := resources.Get (default "/images/hero-bg.jpg" .Params.hero_image) }} {{ $img = $img.Resize "1256x jpg" }}