small fix on background

This commit is contained in:
Nuno Coração 2022-11-06 23:16:52 +00:00
parent 7189216109
commit c456627c39
2 changed files with 4 additions and 8 deletions

View file

@ -1667,8 +1667,8 @@ select {
height: 150px;
}
.h-\[900px\] {
height: 900px;
.h-\[800px\] {
height: 800px;
}
.h-36 {
@ -3805,10 +3805,6 @@ body:has(#menu-controller:checked) {
display: none;
}
.lg\:h-\[250px\] {
height: 250px;
}
.lg\:h-72 {
height: 18rem;
}

View file

@ -3,8 +3,8 @@
{{- if not $featured }}{{ $featured = $images.GetMatch "{*cover*,*thumbnail*}" }}{{ end -}}
{{- with $featured -}}
{{ with .Resize "1200x" }}
<div id="hero" class="h-[150px] md:h-[200px] lg:h-[250px]"></div>
<div class="fixed inset-x-0 top-0 h-[900px] single_hero_background nozoom"
<div id="hero" class="h-[150px] md:h-[200px]"></div>
<div class="fixed inset-x-0 top-0 h-[800px] single_hero_background nozoom"
style="background-image:url({{ .RelPermalink }});">
<div class="absolute inset-0 bg-gradient-to-t from-neutral dark:from-neutral-800 to-transparent mix-blend-normal">
</div>