Sha256: 1eeadfe1e04011e357dfdaa5bbb350c97fe14b0995e7b439586c7d47dbfb6c56

Contents?: true

Size: 718 Bytes

Versions: 7

Compression:

Stored size: 718 Bytes

Contents

// Hero feature
// ==========================

.usa-hero {
  @include padding($site-margins null);
  background-image: asset-url('#{$image-path}/hero.png');
  background-position: center;
  background-size: cover;

  .usa-button {
    color: $color-white;
  }
}

.usa-section-dark {
  .usa-hero-link {
    color: $color-primary-alt;
  }
}

.usa-hero-callout {
  background-color: $color-primary-darkest;
  padding: 3rem;

  @include media($small-screen) {
    max-width: 30rem;
  }

  > *:first-child {
    @include margin(0 null $site-margins null);
  }

  .usa-button {
    font-size: $small-font-size;
    margin-top: 7rem;
    width: 100%;
  }
}

.usa-hero-callout-alt {
  color: $color-white;
  display: block;
}

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
uswds-rails-1.4.2 app/assets/stylesheets/uswds/components/_hero.scss
uswds-rails-1.4.1 app/assets/stylesheets/uswds/components/_hero.scss
uswds-rails-1.4.0 app/assets/stylesheets/uswds/components/_hero.scss
uswds-rails-1.3.1.1 app/assets/stylesheets/uswds/components/_hero.scss
uswds-rails-1.3.1 app/assets/stylesheets/uswds/components/_hero.scss
uswds-rails-1.3.0 app/assets/stylesheets/uswds/components/_hero.scss
uswds-rails-0.1.0 app/assets/stylesheets/uswds/components/_hero.scss