update bg opa

This commit is contained in:
ClovertaTheTrilobita 2026-09-17 18:08:04 +08:00
parent 5ecebe00ec
commit a27d2e663c

View file

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