mirror of
https://github.com/Ocelot-Social-Community/Ocelot-Social.git
synced 2025-12-13 07:46:06 +00:00
39 lines
630 B
SCSS
39 lines
630 B
SCSS
.ds-avatar {
|
|
@include reset;
|
|
border-radius: 50%;
|
|
display: inline-block;
|
|
position: relative;
|
|
margin-right: $space-xx-small;
|
|
min-height: 22px;
|
|
min-width: 22px;
|
|
text-align: center;
|
|
|
|
.ds-flex-item {
|
|
padding-top: 0.1em;
|
|
}
|
|
|
|
&::after {
|
|
content: '';
|
|
position: absolute;
|
|
width: 100%;
|
|
height: 100%;
|
|
top: 0px;
|
|
left: 0px;
|
|
box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.1);
|
|
border-radius: 50%;
|
|
}
|
|
|
|
img {
|
|
width: 100%;
|
|
height: 100%;
|
|
border-radius: 50%;
|
|
overflow: hidden;
|
|
object-fit: cover;
|
|
object-position: center;
|
|
}
|
|
|
|
.ds-icon {
|
|
margin-top: -0.2em;
|
|
}
|
|
}
|