mirror of
https://github.com/nunocoracao/blowfish.git
synced 2025-02-02 03:22:33 -06:00
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:
commit
c7156995e7
2 changed files with 7 additions and 7 deletions
|
@ -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 {
|
||||
|
|
|
@ -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">
|
||||
|
|
Loading…
Reference in a new issue