feat: add a little gradient to the top of the frontpage

This commit is contained in:
Xylight committed 2024-05-06 17:39:35 -07:00
1 parent af1e4c8b70
commit 9f6af2a2fb
4 files changed
+30 -3

No files matched your search

+21
View File
@@ -37,6 +37,10 @@
</div>
</Modal>
<div
class="background-gradient w-full h-64 absolute top-0 left-0 -z-10 object-cover"
></div>
<div class="flex flex-col gap-4 max-w-full w-full min-w-0">
<header>
<Header>Frontpage</Header>
@@ -69,3 +73,20 @@
</Pageination>
</div>
</div>
<style>
.background-gradient {
background-image: radial-gradient(
circle at left,
rgba(162, 1, 114, 0.1) 0%,
rgba(255, 0, 43, 0) 100%
),
radial-gradient(
circle at 60% 80%,
rgba(162, 33, 1, 0.2) 0%,
rgba(255, 0, 174, 0) 100%
);
background-repeat: no-repeat;
mask-image: linear-gradient(to bottom, rgba(0 0 0 / 100%), transparent);
}
</style>