mirror of
https://github.com/nunocoracao/blowfish.git
synced 2026-11-14 23:19:21 +00:00
fix: render homepage background above page canvas
This commit is contained in:
1 parent
c559ea3b74
commit
3b2ea59367
2 files changed
+5
-2
No files matched your search
@@ -345,6 +345,9 @@
|
|||||||
.-z-10 {
|
.-z-10 {
|
||||||
z-index: calc(10 * -1);
|
z-index: calc(10 * -1);
|
||||||
}
|
}
|
||||||
|
.z-0 {
|
||||||
|
z-index: 0;
|
||||||
|
}
|
||||||
.z-2 {
|
.z-2 {
|
||||||
z-index: 2;
|
z-index: 2;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
<div class="absolute inset-x-0 bottom-0 h-1/2"></div>
|
<div class="absolute inset-x-0 bottom-0 h-1/2"></div>
|
||||||
<div class="mx-auto max-w-7xl p-0">
|
<div class="mx-auto max-w-7xl p-0">
|
||||||
<div class="relative sm:overflow-hidden">
|
<div class="relative sm:overflow-hidden">
|
||||||
<div class="fixed inset-x-0 top-0 -z-10">
|
<div class="pointer-events-none fixed inset-x-0 top-0 z-0">
|
||||||
{{ $useDefault := true }}
|
{{ $useDefault := true }}
|
||||||
{{ $homepageImage := "" }}
|
{{ $homepageImage := "" }}
|
||||||
{{ with .Site.Params.defaultBackgroundImage }}
|
{{ with .Site.Params.defaultBackgroundImage }}
|
||||||
@@ -41,7 +41,7 @@
|
|||||||
class="from-neutral absolute inset-0 h-[1000px] bg-gradient-to-t to-neutral-100 opacity-60 mix-blend-normal dark:from-neutral-800 dark:to-neutral-800"></div>
|
class="from-neutral absolute inset-0 h-[1000px] bg-gradient-to-t to-neutral-100 opacity-60 mix-blend-normal dark:from-neutral-800 dark:to-neutral-800"></div>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
</div>
|
</div>
|
||||||
<div class="relative flex flex-col items-center justify-center px-1 py-1 text-center">
|
<div class="relative z-10 flex flex-col items-center justify-center px-1 py-1 text-center">
|
||||||
{{ with .Site.Params.Author.image }}
|
{{ with .Site.Params.Author.image }}
|
||||||
{{ $authorImage := "" }}
|
{{ $authorImage := "" }}
|
||||||
{{ if or (strings.HasPrefix . "http:") (strings.HasPrefix . "https:") }}
|
{{ if or (strings.HasPrefix . "http:") (strings.HasPrefix . "https:") }}
|
||||||
|
|||||||
Reference in new issue
Block a user