Sha256: fce7a4685fa5fe1f3a4e4bd33a2c3473e44a10480dbe6a9b68eb5c386a121082

Contents?: true

Size: 1.01 KB

Versions: 3

Compression:

Stored size: 1.01 KB

Contents

// - - - - - - - - - - - - - - - - - - - - - - - - -
// Stat Box
// - - - - - - - - - - - - - - - - - - - - - - - - -

@mixin CHAMELEON-statistic {
  .c-statistic {
    position: relative;
    width: 100%;
    padding: 20px 0;

    @media #{$medium-up} {
      padding: 0;
    }

    &__subtitle {
      @extend %font-family-secondary;
    }

    &__stat,
    &__copy {
      @extend %font-family-primary;
    }


    &__subtitle,
    &__copy {
      font-size: rem-calc(12px);
      color: #fff;
      display: block;

      @media #{$medium-up} {
        font-size: rem-calc(14px);
      }
    }

    &__stat,
    &__copy {
      display: inline-block;
    }

    &__subtitle {
      display: block;
    }

    &__stat {
      color: $color-primary !important;
      font-size: rem-calc(44px);
      font-weight: 400;
      letter-spacing: -3px;

      @media #{$medium-up} {
        font-size: rem-calc(64px);
      }
    }

    &__copy {
      font-weight: 600;
      line-height: 1.1em;
      padding-left: 10px;
    }
  }
}

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
pusher-chameleon-1.4.6 stylesheets/components/_statistic.scss
pusher-chameleon-1.4.5 stylesheets/components/_statistic.scss
pusher-chameleon-1.4.4 stylesheets/components/_statistic.scss