Bilibili-Evolved/registry/lib/components/style/hide/user-pendent/user-pendent-shadow.scss
2024-12-21 20:36:31 +08:00

16 lines
389 B
SCSS

:host(bili-avatar) {
container-type: size;
container-name: avatar;
// .layers:first-child,
.layer:not(:first-child),
.layer:not(:has(picture [src*="/face/"]), :has([style*="/face/"])) {
display: none;
}
.layer:is(:has(picture [src*="/face/"]), :has([style*="/face/"])) {
min-width: 100cqw;
min-height: 100cqh;
max-width: 100cqw;
max-height: 100cqh;
}
}