Merge pull request #214 from nunocoracao/212-background-hero-image-margin-top-is-too-high

corrected margins for backgroun hero image
This commit is contained in:
Nuno Coração 2022-11-06 21:11:50 +00:00 committed by GitHub
commit c7156995e7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 7 deletions

View file

@ -1667,8 +1667,8 @@ select {
height: 100px;
}
.h-\[250px\] {
height: 250px;
.h-\[150px\] {
height: 150px;
}
.h-\[900px\] {
@ -3708,8 +3708,8 @@ body:has(#menu-controller:checked) {
display: none;
}
.md\:h-\[300px\] {
height: 300px;
.md\:h-\[200px\] {
height: 200px;
}
.md\:h-56 {
@ -3801,8 +3801,8 @@ body:has(#menu-controller:checked) {
display: none;
}
.lg\:h-\[350px\] {
height: 350px;
.lg\:h-\[250px\] {
height: 250px;
}
.lg\:h-72 {

View file

@ -3,7 +3,7 @@
{{- if not $featured }}{{ $featured = $images.GetMatch "{*cover*,*thumbnail*}" }}{{ end -}}
{{- with $featured -}}
{{ with .Resize "1200x" }}
<div id="hero" class="h-[250px] md:h-[300px] lg:h-[350px]"></div>
<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"
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">