element-call/src/Avatar.module.css
2022-06-01 11:48:17 -04:00

60 lines
784 B
CSS

.avatar {
position: relative;
color: var(--primary-content);
display: flex;
align-items: center;
justify-content: center;
pointer-events: none;
font-weight: 600;
overflow: hidden;
flex-shrink: 0;
}
.avatar img {
width: 100%;
height: 100%;
object-fit: cover;
}
.avatar svg * {
fill: var(--primary-content);
}
.avatar span {
padding-top: 1px;
}
.xs {
width: 22px;
height: 22px;
border-radius: 22px;
font-size: 14px;
}
.sm {
width: 32px;
height: 32px;
border-radius: 32px;
font-size: 15px;
}
.md {
width: 36px;
height: 36px;
border-radius: 36px;
font-size: 20px;
}
.lg {
width: 42px;
height: 42px;
border-radius: 42px;
font-size: 24px;
}
.xl {
width: 90px;
height: 90px;
border-radius: 90px;
font-size: 48px;
}