diff options
author | Oscar Najera <hi@oscarnajera.com> | 2023-08-27 11:50:46 +0200 |
---|---|---|
committer | Oscar Najera <hi@oscarnajera.com> | 2023-08-27 11:51:11 +0200 |
commit | a0e572976134fc06e30dfacaebb7bac9eb2cbd86 (patch) | |
tree | a3248032de4270e922e15aa9296f9141e5eba6e6 /layouts/partials | |
parent | 57e26d78e54b3b9dca36956dde90f2f2ea48a227 (diff) | |
download | hugo-minimalist-theme-a0e572976134fc06e30dfacaebb7bac9eb2cbd86.tar.gz hugo-minimalist-theme-a0e572976134fc06e30dfacaebb7bac9eb2cbd86.tar.bz2 hugo-minimalist-theme-a0e572976134fc06e30dfacaebb7bac9eb2cbd86.zip |
Remove content alternating background stripe
Diffstat (limited to 'layouts/partials')
-rw-r--r-- | layouts/partials/footer.html | 2 | ||||
-rw-r--r-- | layouts/partials/hero.html | 4 | ||||
-rw-r--r-- | layouts/partials/open_section.html | 10 |
3 files changed, 7 insertions, 9 deletions
diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html index a9e1474..e781e63 100644 --- a/layouts/partials/footer.html +++ b/layouts/partials/footer.html @@ -1,5 +1,5 @@ <footer class="bg-black"> - <div class="w-100 ph3 pv3 tc"> + <div class="w-100 ph3 pv3 tc near-white"> {{ with .Site.GetPage "footer.md" }} {{ .Content }} {{ end }} diff --git a/layouts/partials/hero.html b/layouts/partials/hero.html index cdbccdf..263bb03 100644 --- a/layouts/partials/hero.html +++ b/layouts/partials/hero.html @@ -1,7 +1,7 @@ <div style="background: linear-gradient( rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.5) ), url('{{ .Params.image }}'); background-position: center;" class="bg-center pv5" > - <div class="mw7 center ph2"> - <h1 class="f1 tc title berkshire-swash near-white">{{ .Title }}</h1> + <div class="mw7 center ph2 near-white"> + <h1 class="f1 tc title berkshire-swash">{{ .Title }}</h1> {{ .Content }} </div> </div> diff --git a/layouts/partials/open_section.html b/layouts/partials/open_section.html index f58cdf9..805d802 100644 --- a/layouts/partials/open_section.html +++ b/layouts/partials/open_section.html @@ -1,9 +1,7 @@ -<div class="stripe-dark"> - <div class="mw7 center pa2"> - <h2 class="baskerville f2 lh-title">{{ .Title }}</h2> +<div class="mw7 center pa2"> + <h2 class="baskerville f2 lh-title">{{ .Title }}</h2> - <div class="main-content lh-copy"> - {{ .Content }} - </div> + <div class="main-content lh-copy"> + {{ .Content }} </div> </div> |