aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOscar Najera <hi@oscarnajera.com>2023-10-15 16:39:58 +0200
committerOscar Najera <hi@oscarnajera.com>2023-10-15 16:39:58 +0200
commit6fbfa9f0f71f5fe17ed3999322badacf54d7cbbf (patch)
tree8d40488eb47e3a50c9acdb7da08edf01a6445a3a
parentbd924ee52abf96ef3f6352b7b2926d9900ae5ff9 (diff)
downloadhugo-minimalist-theme-6fbfa9f0f71f5fe17ed3999322badacf54d7cbbf.tar.gz
hugo-minimalist-theme-6fbfa9f0f71f5fe17ed3999322badacf54d7cbbf.tar.bz2
hugo-minimalist-theme-6fbfa9f0f71f5fe17ed3999322badacf54d7cbbf.zip
Hero text shading
-rw-r--r--assets/scss/style.scss4
-rw-r--r--layouts/partials/hero.html2
2 files changed, 5 insertions, 1 deletions
diff --git a/assets/scss/style.scss b/assets/scss/style.scss
index 05fa25c..da1db94 100644
--- a/assets/scss/style.scss
+++ b/assets/scss/style.scss
@@ -136,6 +136,10 @@
color: #fff !important;
background-color: #79c753 !important;
}
+// HERO
+#hero {
+ text-shadow: 2px 2px 3px black;
+}
// POSTS
.main-content {
diff --git a/layouts/partials/hero.html b/layouts/partials/hero.html
index 1926f04..5acafde 100644
--- a/layouts/partials/hero.html
+++ b/layouts/partials/hero.html
@@ -4,7 +4,7 @@
{{ end }}; background-position: center;"
class="pv5"
>
- <div class="mw7 center ph2 near-white">
+ <div id="hero" class="mw7 center ph2 near-white lh-copy">
<h1 class="f1 tc title berkshire-swash">{{ .Title }}</h1>
{{ .Content }}
</div>