2022-12-10 17:14:48 +08:00
|
|
|
.avatar {
|
|
|
|
display: inline-block;
|
|
|
|
line-height: 0;
|
|
|
|
aspect-ratio: 1/1;
|
|
|
|
border-radius: 50%;
|
|
|
|
overflow: hidden;
|
|
|
|
background-color: var(--bg-faded-color);
|
2022-12-11 00:52:04 +08:00
|
|
|
border: 1px solid var(--outline-color);
|
2022-12-10 17:14:48 +08:00
|
|
|
flex-shrink: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.avatar img {
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
object-fit: cover;
|
|
|
|
background-color: var(--img-bg-color);
|
|
|
|
}
|