Merge pull request #40 from ClovertaTheTrilobita/dev
Some checks are pending
Sync and Deploy Astro Blog / sync-blog-content (push) Waiting to run
Sync and Deploy Astro Blog / build-and-deploy (push) Blocked by required conditions
Sync and Deploy Astro Blog / manual-deploy (push) Waiting to run

update bg opa
This commit is contained in:
ClovertaTheTrilobita 2026-09-17 18:09:20 +08:00 committed by GitHub
commit a40f7749cc
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -67,34 +67,26 @@ body::after {
background-repeat: no-repeat;
background-position: right bottom;
background-size: contain;
opacity: 0;
-webkit-mask-image: radial-gradient(
ellipse at right bottom,
#000 0%,
#000 38%,
transparent 78%
);
mask-image: radial-gradient(
ellipse at right bottom,
#000 0%,
#000 38%,
transparent 78%
);
opacity: 0.3;
-webkit-mask-image: radial-gradient(ellipse at right bottom,
#000 0%,
#000 38%,
transparent 78%);
mask-image: radial-gradient(ellipse at right bottom,
#000 0%,
#000 38%,
transparent 78%);
pointer-events: none;
z-index: -1;
transition: opacity 0.25s ease;
}
body.is-home::after {
opacity: 0.16;
}
html.dark body::after {
background-image: url("https://files.seeusercontent.com/2026/03/30/vd8W/touhou___alice_margatroid_x_kiri.webp");
}
@media (max-width: 900px) {
body.is-home::after {
body::after {
opacity: 0;
}
}