diff --git a/assets/scss/hero.scss b/assets/scss/hero.scss index e3f36bb..0b61ffe 100644 --- a/assets/scss/hero.scss +++ b/assets/scss/hero.scss @@ -8,6 +8,7 @@ .hero-icon-container { padding: 1rem; + margin: auto; } .hero-button { diff --git a/assets/scss/index.scss b/assets/scss/index.scss index dfd4c83..3b9a2ec 100644 --- a/assets/scss/index.scss +++ b/assets/scss/index.scss @@ -287,10 +287,16 @@ button { } .services { - display: inherit; + display: flex; + align-items: center; padding: 1.5rem 0rem; } +.services-section-content { + display: flex; + align-items: center; +} + .service-icon-container { padding: 1.5rem; margin: auto; @@ -299,6 +305,7 @@ button { .service-icon { width: 100%; height: auto; + object-fit: contain; } .service-button { diff --git a/layouts/_default/list.html b/layouts/_default/list.html index 62aa147..c10ff15 100644 --- a/layouts/_default/list.html +++ b/layouts/_default/list.html @@ -1,11 +1,17 @@ {{ define "main" }} -{{ if .Params.id }} -{{- partial "hero.html" (dict "hero" .Params "color" .Site.Params.color "odd" 0) -}} -{{ end }} -{{.Content}} -