mirror of
https://github.com/ClovertaTheTrilobita/SanYeCao-blog.git
synced 2026-10-25 21:43:53 +00:00
update bg opa
This commit is contained in:
parent
5ecebe00ec
commit
a27d2e663c
1 changed files with 11 additions and 19 deletions
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue