Sha256: 12a0d47ba74661ce2a5cbb994b99052aaa2564ad74f4734e355cf50e712daeb4

Contents?: true

Size: 630 Bytes

Versions: 5

Compression:

Stored size: 630 Bytes

Contents

.avatar {
  --size: var(--avatar-size, var(--size-10));

  block-size: var(--size);
  border-radius: var(--rounded-full);
  display: flex;
  flex-shrink: 0;
  inline-size: var(--size);
  overflow: hidden;

  img {
    aspect-ratio: 1;
    block-size: var(--size-full);
    inline-size: var(--size-full);
    object-fit: cover;
  }
}

.avatar__fallback {
  align-items: center;
  background-color: var(--color-border-light);
  block-size: var(--size-full);
  border-radius: var(--rounded-full);
  display: flex;
  font-size: calc(var(--size) * .4);
  inline-size: var(--size-full);
  justify-content: center;
  user-select: none;
}

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
css-zero-0.0.22 lib/generators/css_zero/add/templates/app/assets/stylesheets/avatar.css
css-zero-0.0.21 lib/generators/css_zero/add/templates/app/assets/stylesheets/avatar.css
css-zero-0.0.20 lib/generators/css_zero/add/templates/app/assets/stylesheets/avatar.css
css-zero-0.0.19 lib/generators/css_zero/add/templates/app/assets/stylesheets/avatar.css
css-zero-0.0.18 lib/generators/css_zero/add/templates/app/assets/stylesheets/avatar.css