Sha256: 98a17c5114149e5b0e1576c82b375e6ff0f82ccfdb3367f8f70f771919735e9a
Contents?: true
Size: 908 Bytes
Versions: 3
Compression:
Stored size: 908 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--btn { cursor: pointer; &:hover { filter: var(--brightness-75); } &:focus-visible { outline: var(--border-2) solid var(--color-selected-dark); outline-offset: var(--border-2); } &:disabled { pointer-events: none; } } .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
3 entries across 3 versions & 1 rubygems