Skip to content
Snippets Groups Projects
Select Git revision
  • master default protected
  • 2.0.0-alpha-11
  • 2.0.0-alpha-10
  • 2.0.0-alpha-9
  • 2.0.0-alpha-8
  • 2.0.0-alpha-7
  • 2.0.0-alpha-6
  • 2.0.0-alpha-5
  • 2.0.0-alpha-4
  • 2.0.0-alpha-3
  • 2.0.0-alpha-2
  • 2.0.0-alpha-1
  • 1.8.0
  • 1.7.0
  • 1.6.4
  • 1.6.3
  • 1.6.2
  • 1.6.1
  • 1.6.0
  • 1.5.5
  • 1.5.4
21 results

avatar.pcss

Blame
  • Forked from TO / Weby / ui-styleguide
    193 commits behind the upstream repository.
    avatar.pcss 514 B
    .avatar {
      @apply inline-block text-center rounded-full;
    
      img {
        @apply rounded-full block w-full;
      }
    }
    
    @responsive {
      .avatar--xs {
        @apply w-12;
      }
      .avatar--sm {
        @apply w-20;
      }
      .avatar--md {
        @apply w-24;
      }
      .avatar--lg {
        @apply w-28;
      }
      .avatar--xl {
        @apply w-36;
      }
      .avatar--2xl {
        @apply w-48;
      }
      .avatar--3xl {
        @apply w-56;
      }
    }
    
    .avatar--bordered {
      img {
        @apply border-white border-8;
      }
    }
    
    .avatar--outlined {
      @apply border-grey-100 border;
    }