polishing

This commit is contained in:
planetabhi committed 2023-12-26 21:41:20 +05:30
1 parent 900069b736
commit 808e0519c8
2 files changed
+74 -1

No files matched your search

+73
View File
@@ -74,6 +74,10 @@ const { site, title, tagline } = Astro.props;
© 2023 Method Black. All rights reserved.
</div>
<div class="rays_container">
<div class="rays rays_content"></div>
</div>
</body>
</html>
<style is:global>
@@ -255,6 +259,75 @@ const { site, title, tagline } = Astro.props;
transform: scale(1.2);
}
}
/* gradient */
.rays_container {
overflow: hidden;
inset: 0px;
position: absolute;
z-index: -1;
}
.rays_content {
position: absolute;
inset: -10px;
opacity: 0.24;
}
.rays {
--stripes: linear-gradient(
180deg,
#fff 0%,
#fff 1%,
transparent 10%,
transparent 12%,
#fff 22%
);
--stripesDark: repeating-linear-gradient(
180deg,
#000 0%,
#000 7%,
transparent 10%,
transparent 12%,
#000 16%
);
--rainbow: repeating-linear-gradient(
180deg,
#60a5fa 10%,
#e879f9 15%,
#60a5fa 20%,
#5eead4 25%,
#60a5fa 30%
);
background-image: var(--stripes), var(--rainbow);
background-size: 300%, 200%;
background-position: 50% 50%, 50% 50%;
filter: invert(100%);
mask-image: radial-gradient(ellipse at 100% 0%, black 40%, transparent 70%);
-webkit-mask-image: radial-gradient(ellipse at 100% 0%, black 40%, transparent 70%);
pointer-events: none;
}
.rays::after {
content: "";
position: absolute;
inset: 0;
background-image: var(--stripes), var(--rainbow);
background-size: 200%, 100%;
background-attachment: fixed;
mix-blend-mode: difference;
}
[data-new-ui-theme="dark"] {
.rays {
background-image: var(--stripesDark), var(--rainbow);
filter: blur(10px) opacity(16%) saturate(200%);
}
.rays::after {
background-image: var(--stripesDark), var(--rainbow);
}
}
</style>
<!-- Google tag (gtag.js) -->
+1 -1
View File
@@ -10,7 +10,7 @@ import Dashboard from "../components/Dashboard";
<Layout
site="Rise of Machine"
title="AI. Make the most of it."
title="Enhance your craft with AI"
tagline="Old bookmarks were freaking out, drowning in existential tears because these AI chicks hatched faster than pop-up ads on a news site. So I said, Screw it, and built this site where these brainy birds can reside."
>
<main>