Sha256: c3c9c31609ac58be1e736b3a852e737ded98d01db72ab7a43dc8892239ee8e16

Contents?: true

Size: 899 Bytes

Versions: 78

Compression:

Stored size: 899 Bytes

Contents

// stylelint-disable max-nesting-depth

$highlight-answer-bg-color: govuk-colour("green");
$highlight-answer-color: govuk-colour("white");

.gem-c-govspeak .highlight-answer {
  background-color: $highlight-answer-bg-color;
  color: $highlight-answer-color;
  text-align: center;
  padding: 1.75em .75em 1.25em;
  margin: 0 -1em 1em;

  p {
    @include govuk-font($size: 24, $weight: bold);
    color: $highlight-answer-color;

    em {
      @include govuk-font($size: 80, $weight: bold);
      display: block;
      padding-top: .1em;
      color: $highlight-answer-color;
    }
  }

  p:last-child {
    margin-bottom: 0;
  }

  @include govuk-media-query($until: tablet) {
    margin: 0 0 1em;
    @include govuk-font($size: 48);

    p {
      font-size: 1em;
      line-height: inherit;

      em {
        font-size: 1em;
        padding-top: 0;
        display: inline;
      }
    }
  }
}

Version data entries

78 entries across 78 versions & 1 rubygems

Version Path
govuk_publishing_components-24.10.0 app/assets/stylesheets/govuk_publishing_components/components/govspeak/_highlight-answer.scss
govuk_publishing_components-24.9.4 app/assets/stylesheets/govuk_publishing_components/components/govspeak/_highlight-answer.scss
govuk_publishing_components-24.9.3 app/assets/stylesheets/govuk_publishing_components/components/govspeak/_highlight-answer.scss
govuk_publishing_components-24.9.2 app/assets/stylesheets/govuk_publishing_components/components/govspeak/_highlight-answer.scss
govuk_publishing_components-24.9.1 app/assets/stylesheets/govuk_publishing_components/components/govspeak/_highlight-answer.scss
govuk_publishing_components-24.9.0 app/assets/stylesheets/govuk_publishing_components/components/govspeak/_highlight-answer.scss
govuk_publishing_components-24.8.0 app/assets/stylesheets/govuk_publishing_components/components/govspeak/_highlight-answer.scss
govuk_publishing_components-24.7.1 app/assets/stylesheets/govuk_publishing_components/components/govspeak/_highlight-answer.scss
govuk_publishing_components-24.7.0 app/assets/stylesheets/govuk_publishing_components/components/govspeak/_highlight-answer.scss
govuk_publishing_components-24.6.1 app/assets/stylesheets/govuk_publishing_components/components/govspeak/_highlight-answer.scss
govuk_publishing_components-24.6.0 app/assets/stylesheets/govuk_publishing_components/components/govspeak/_highlight-answer.scss
govuk_publishing_components-24.5.0 app/assets/stylesheets/govuk_publishing_components/components/govspeak/_highlight-answer.scss
govuk_publishing_components-24.4.1 app/assets/stylesheets/govuk_publishing_components/components/govspeak/_highlight-answer.scss
govuk_publishing_components-24.4.0 app/assets/stylesheets/govuk_publishing_components/components/govspeak/_highlight-answer.scss
govuk_publishing_components-24.3.1 app/assets/stylesheets/govuk_publishing_components/components/govspeak/_highlight-answer.scss
govuk_publishing_components-24.3.0 app/assets/stylesheets/govuk_publishing_components/components/govspeak/_highlight-answer.scss
govuk_publishing_components-24.2.0 app/assets/stylesheets/govuk_publishing_components/components/govspeak/_highlight-answer.scss
govuk_publishing_components-24.1.1 app/assets/stylesheets/govuk_publishing_components/components/govspeak/_highlight-answer.scss
govuk_publishing_components-24.1.0 app/assets/stylesheets/govuk_publishing_components/components/govspeak/_highlight-answer.scss
govuk_publishing_components-24.0.0 app/assets/stylesheets/govuk_publishing_components/components/govspeak/_highlight-answer.scss