mirror of
https://github.com/caiwx86/small-packages.git
synced 2026-11-15 20:52:53 +08:00
12 lines
528 B
CSS
12 lines
528 B
CSS
@layer theme {
|
|
/* The `file` wallpaper: scrim + photo on one element — design-system.md,
|
|
* "Wallpaper rendering: why the canvas moves to :root". */
|
|
:root[data-wallpaper="file"] :is(.fs-shell, body:not(:has(.fs-shell))) {
|
|
background-image: linear-gradient(var(--fs-photo-scrim), var(--fs-photo-scrim)), var(--fs-login-bg-url);
|
|
background-position: center;
|
|
background-size: cover;
|
|
background-repeat: no-repeat;
|
|
background-attachment: fixed; /* one calm backdrop the page scrolls under, not a sliding strip */
|
|
}
|
|
}
|