Sha256: c3d276ccb1e87f5efcf5bba50dc24b897a5f7df24eed6363d19ca4a996793260

Contents?: true

Size: 896 Bytes

Versions: 2

Compression:

Stored size: 896 Bytes

Contents

@import "govuk_publishing_components/individual_component_support";

.gem-c-title {
  @include govuk-media-query($from: tablet) {
    padding-top: govuk-spacing(8);
  }
}

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

  .gem-c-title__text,
  .gem-c-title__context {
    color: inherit;
  }
}

.gem-c-title__context-link {
  text-decoration: none;

  &:link,
  &:visited {
    color: inherit;
  }

  &:hover {
    text-decoration: underline;
  }

  &:focus {
    text-decoration: none;
    color: $govuk-focus-text-colour;
  }
}

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

@include govuk-media-query($media-type: print) {
  .gem-c-title {
    margin: 5mm 0 10mm !important; // stylelint-disable-line declaration-no-important
  }

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

  .gem-c-title__text {
    margin-top: 0;
  }

  .gem-c-title--inverse {
    color: $govuk-print-text-colour;
  }
}

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
govuk_publishing_components-51.1.0 app/assets/stylesheets/govuk_publishing_components/components/_title.scss
govuk_publishing_components-51.0.0 app/assets/stylesheets/govuk_publishing_components/components/_title.scss