Sha256: 526baf656336132f029b1494db15fc4b501b7a3e7cd646ebf0e36c974bbf4d02

Contents?: true

Size: 649 Bytes

Versions: 13

Compression:

Stored size: 649 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: var(--aspect-square);
    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

13 entries across 13 versions & 1 rubygems

Version Path
css-zero-0.0.35 lib/generators/css_zero/add/templates/app/assets/stylesheets/avatar.css
css-zero-0.0.34 lib/generators/css_zero/add/templates/app/assets/stylesheets/avatar.css
css-zero-0.0.33 lib/generators/css_zero/add/templates/app/assets/stylesheets/avatar.css
css-zero-0.0.32 lib/generators/css_zero/add/templates/app/assets/stylesheets/avatar.css
css-zero-0.0.31 lib/generators/css_zero/add/templates/app/assets/stylesheets/avatar.css
css-zero-0.0.30 lib/generators/css_zero/add/templates/app/assets/stylesheets/avatar.css
css-zero-0.0.29 lib/generators/css_zero/add/templates/app/assets/stylesheets/avatar.css
css-zero-0.0.28 lib/generators/css_zero/add/templates/app/assets/stylesheets/avatar.css
css-zero-0.0.27 lib/generators/css_zero/add/templates/app/assets/stylesheets/avatar.css
css-zero-0.0.26 lib/generators/css_zero/add/templates/app/assets/stylesheets/avatar.css
css-zero-0.0.25 lib/generators/css_zero/add/templates/app/assets/stylesheets/avatar.css
css-zero-0.0.24 lib/generators/css_zero/add/templates/app/assets/stylesheets/avatar.css
css-zero-0.0.23 lib/generators/css_zero/add/templates/app/assets/stylesheets/avatar.css