Sha256: 97e6859fd3ce2cb91479f3dc24004534d9d9c85d47c1014538b2ef6abbe075bc

Contents?: true

Size: 943 Bytes

Versions: 237

Compression:

Stored size: 943 Bytes

Contents

.gem-c-heading {
  margin: 0;
}

.gem-c-heading--font-size-27 {
  @include govuk-text-colour;
  @include govuk-font(27, $weight: bold);
}

// special case for publications and consultations pages
// separated to allow normalisation of the component for wider use
.gem-c-heading--mobile-top-margin {
  margin-top: govuk-spacing(6);
  margin-bottom: govuk-spacing(3);

  @include govuk-media-query($from: tablet) {
    margin-top: 0;
    margin-bottom: govuk-spacing(6);
  }
}

.gem-c-heading--padding {
  padding: govuk-spacing(3) 0;
}

// border color will default to black
// can be changed using the branding functionality
.gem-c-heading--border-top-1 {
  border-top-style: solid;
  border-top-width: 1px;
}

.gem-c-heading--border-top-2 {
  border-top-style: solid;
  border-top-width: 2px;
}

.gem-c-heading--border-top-5 {
  border-top-style: solid;
  border-top-width: 5px;
}

.gem-c-heading--inverse {
  color: govuk-colour("white");
}

Version data entries

237 entries across 237 versions & 1 rubygems

Version Path
govuk_publishing_components-34.12.0 app/assets/stylesheets/govuk_publishing_components/components/_heading.scss
govuk_publishing_components-34.11.0 app/assets/stylesheets/govuk_publishing_components/components/_heading.scss
govuk_publishing_components-34.10.1 app/assets/stylesheets/govuk_publishing_components/components/_heading.scss
govuk_publishing_components-34.10.0 app/assets/stylesheets/govuk_publishing_components/components/_heading.scss
govuk_publishing_components-34.9.1 app/assets/stylesheets/govuk_publishing_components/components/_heading.scss
govuk_publishing_components-34.9.0 app/assets/stylesheets/govuk_publishing_components/components/_heading.scss
govuk_publishing_components-34.8.1 app/assets/stylesheets/govuk_publishing_components/components/_heading.scss
govuk_publishing_components-34.8.0 app/assets/stylesheets/govuk_publishing_components/components/_heading.scss
govuk_publishing_components-34.7.1 app/assets/stylesheets/govuk_publishing_components/components/_heading.scss
govuk_publishing_components-34.7.0 app/assets/stylesheets/govuk_publishing_components/components/_heading.scss
govuk_publishing_components-34.6.0 app/assets/stylesheets/govuk_publishing_components/components/_heading.scss
govuk_publishing_components-34.5.1 app/assets/stylesheets/govuk_publishing_components/components/_heading.scss
govuk_publishing_components-34.5.0 app/assets/stylesheets/govuk_publishing_components/components/_heading.scss
govuk_publishing_components-34.4.2 app/assets/stylesheets/govuk_publishing_components/components/_heading.scss
govuk_publishing_components-34.4.1 app/assets/stylesheets/govuk_publishing_components/components/_heading.scss
govuk_publishing_components-34.4.0 app/assets/stylesheets/govuk_publishing_components/components/_heading.scss
govuk_publishing_components-34.3.0 app/assets/stylesheets/govuk_publishing_components/components/_heading.scss
govuk_publishing_components-34.2.0 app/assets/stylesheets/govuk_publishing_components/components/_heading.scss
govuk_publishing_components-34.1.3 app/assets/stylesheets/govuk_publishing_components/components/_heading.scss
govuk_publishing_components-34.1.2 app/assets/stylesheets/govuk_publishing_components/components/_heading.scss