element-call/src/Avatar.module.css

61 lines
784 B
CSS
Raw Normal View History

2021-12-08 01:59:55 +00:00
.avatar {
position: relative;
2022-06-01 15:48:17 +00:00
color: var(--primary-content);
2021-12-08 01:59:55 +00:00
display: flex;
align-items: center;
justify-content: center;
pointer-events: none;
font-weight: 600;
2021-12-17 19:01:40 +00:00
overflow: hidden;
2021-12-20 17:12:28 +00:00
flex-shrink: 0;
2021-12-08 01:59:55 +00:00
}
.avatar img {
width: 100%;
height: 100%;
object-fit: cover;
}
.avatar svg * {
2022-06-01 15:48:17 +00:00
fill: var(--primary-content);
2021-12-08 01:59:55 +00:00
}
2021-12-17 19:01:40 +00:00
.avatar span {
padding-top: 1px;
}
.xs {
2021-12-08 01:59:55 +00:00
width: 22px;
height: 22px;
border-radius: 22px;
font-size: 14px;
}
2021-12-17 19:01:40 +00:00
.sm {
width: 32px;
height: 32px;
border-radius: 32px;
font-size: 15px;
}
2021-12-08 01:59:55 +00:00
.md {
width: 36px;
height: 36px;
border-radius: 36px;
font-size: 20px;
}
.lg {
width: 42px;
height: 42px;
border-radius: 42px;
2022-01-22 00:41:00 +00:00
font-size: 24px;
2021-12-08 01:59:55 +00:00
}
.xl {
width: 90px;
height: 90px;
border-radius: 90px;
2022-02-19 00:02:27 +00:00
font-size: 48px;
2021-12-08 01:59:55 +00:00
}