aboutsummaryrefslogblamecommitdiffhomepage
path: root/client/src/app/shared/channel/avatar.component.scss
blob: 6629a432794873b0f07d635ebb625703573c873f (plain) (tree)





























                                                 
                                                 

   
@import '_mixins';

.wrapper {
  width: 35px;
  height: 35px;
  min-width: 35px;
  min-height: 35px;
  position: relative;
  margin-right: 5px;

  a {
    @include disable-outline;
  }

  a img {
    height: 100%;
    object-fit: cover;
    position: absolute;
    top:50%;
    left:50%;
    border-radius: 50%;
    transform: translate(-50%,-50%)
  }

  a:nth-of-type(2) img {
    height: 60%;
    width: 60%;
    border: 2px solid var(--mainBackgroundColor);
    transform: translateX(15%);
    position: relative;
    background-color: var(--mainBackgroundColor);
  }
}