Sha256: 2a0610fe46816e06ad7c46a4ad8b0cf24bf21ac923a0997c109877c07ef871f0

Contents?: true

Size: 743 Bytes

Versions: 102

Compression:

Stored size: 743 Bytes

Contents

$highlight-answer-bg-color: #28a197;
$highlight-answer-color: #fff;

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

  p {
    @include bold-24;
    color: $highlight-answer-color;

    em {
      @include bold-80;
      display: block;
      padding-top: 0.1em;
      color: $highlight-answer-color;
    }
  }

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

  @include media-down(mobile) {
    margin: 0 0 1em;
    @include core-48;

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

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

Version data entries

102 entries across 102 versions & 1 rubygems

Version Path
govuk_publishing_components-15.3.0 app/assets/stylesheets/govuk_publishing_components/components/govspeak/_highlight-answer.scss
govuk_publishing_components-15.2.0 app/assets/stylesheets/govuk_publishing_components/components/govspeak/_highlight-answer.scss
govuk_publishing_components-15.1.0 app/assets/stylesheets/govuk_publishing_components/components/govspeak/_highlight-answer.scss
govuk_publishing_components-15.0.0 app/assets/stylesheets/govuk_publishing_components/components/govspeak/_highlight-answer.scss
govuk_publishing_components-14.0.0 app/assets/stylesheets/govuk_publishing_components/components/govspeak/_highlight-answer.scss
govuk_publishing_components-13.8.1 app/assets/stylesheets/govuk_publishing_components/components/govspeak/_highlight-answer.scss
govuk_publishing_components-13.8.0 app/assets/stylesheets/govuk_publishing_components/components/govspeak/_highlight-answer.scss
govuk_publishing_components-13.7.0 app/assets/stylesheets/govuk_publishing_components/components/govspeak/_highlight-answer.scss
govuk_publishing_components-13.6.1 app/assets/stylesheets/govuk_publishing_components/components/govspeak/_highlight-answer.scss
govuk_publishing_components-13.6.0 app/assets/stylesheets/govuk_publishing_components/components/govspeak/_highlight-answer.scss
govuk_publishing_components-13.5.4 app/assets/stylesheets/govuk_publishing_components/components/govspeak/_highlight-answer.scss
govuk_publishing_components-13.5.3 app/assets/stylesheets/govuk_publishing_components/components/govspeak/_highlight-answer.scss
govuk_publishing_components-13.5.2 app/assets/stylesheets/govuk_publishing_components/components/govspeak/_highlight-answer.scss
govuk_publishing_components-13.5.1 app/assets/stylesheets/govuk_publishing_components/components/govspeak/_highlight-answer.scss
govuk_publishing_components-13.5.0 app/assets/stylesheets/govuk_publishing_components/components/govspeak/_highlight-answer.scss
govuk_publishing_components-13.4.0 app/assets/stylesheets/govuk_publishing_components/components/govspeak/_highlight-answer.scss
govuk_publishing_components-13.3.0 app/assets/stylesheets/govuk_publishing_components/components/govspeak/_highlight-answer.scss
govuk_publishing_components-13.2.0 app/assets/stylesheets/govuk_publishing_components/components/govspeak/_highlight-answer.scss
govuk_publishing_components-13.1 app/assets/stylesheets/govuk_publishing_components/components/govspeak/_highlight-answer.scss
govuk_publishing_components-13.0.0 app/assets/stylesheets/govuk_publishing_components/components/govspeak/_highlight-answer.scss