darken images on homepage and switch to white text
All checks were successful
Hugo / build (push) Successful in 10s
All checks were successful
Hugo / build (push) Successful in 10s
This commit is contained in:
parent
961253b8b0
commit
6ddd8ef383
3 changed files with 5 additions and 4 deletions
|
@ -21,6 +21,7 @@ params:
|
|||
- categoryName: 'Arches'
|
||||
img: /img/catalog/12ftRoundArch2.jpg.webp
|
||||
alt:
|
||||
style:
|
||||
- categoryName: 'Canopies'
|
||||
img: /img/catalog/40ftgardencanopy4.jpg.webp
|
||||
alt:
|
||||
|
|
|
@ -23,15 +23,15 @@
|
|||
>
|
||||
<div class="relative h-full max-w-full">
|
||||
<strong
|
||||
class="text-gray-800 w-full z-10 text-center absolute top-1/2 left-1/2 transform -translate-x-1/2 -translate-y-1/2 text-2xl"
|
||||
class="text-white w-full z-10 text-center absolute top-1/2 left-1/2 transform -translate-x-1/2 -translate-y-1/2 text-3xl"
|
||||
>
|
||||
{{ .categoryName }}
|
||||
</strong>
|
||||
<img
|
||||
class="min-h-full h-auto w-full opacity-60"
|
||||
class="min-h-full h-auto w-full opacity-90"
|
||||
src="{{ .img }}"
|
||||
alt="Category {{ .categoryName }}"
|
||||
style="{{ .style | safeCSS }}"
|
||||
style="{{ .style | safeCSS }} filter: brightness(60%);"
|
||||
/>
|
||||
</div>
|
||||
</a>
|
||||
|
|
2
themes/gallo/static/css/tailwind.min.css
vendored
2
themes/gallo/static/css/tailwind.min.css
vendored
File diff suppressed because one or more lines are too long
Loading…
Add table
Reference in a new issue