mirror of
https://github.com/the1812/Bilibili-Evolved.git
synced 2025-11-04 21:22:45 +08:00
16 lines
389 B
SCSS
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;
|
|
}
|
|
}
|