Sha256: 131566baea9a7c30615c1bfc128b0e773656aa9711fb345234e3970728835a42

Contents?: true

Size: 643 Bytes

Versions: 44

Compression:

Stored size: 643 Bytes

Contents

// Govspeak example callout
// https://components.publishing.service.gov.uk/component-guide/govspeak/example
//
// Support:
// - alphagov/whitehall: ✔︎
// - alphagov/govspeak: ✔︎

.govspeak, // Legacy class name that's still used in some content items - needs to be kept until `.govspeak` is removed from the content items.
.gem-c-govspeak {
  .example {
    border-left: 10px solid govuk-colour("mid-grey");
    padding: 1em 0 1em 1em;
    margin: 2em 0;

    // Remove margin from the last element
    p:last-child,
    ul:last-child,
    ol:last-child {
      margin-bottom: 0;
    }

    strong {
      display: block;
    }
  }
}

Version data entries

44 entries across 44 versions & 1 rubygems

Version Path
govuk_publishing_components-45.7.0 app/assets/stylesheets/govuk_publishing_components/components/govspeak/_example.scss
govuk_publishing_components-45.6.1 app/assets/stylesheets/govuk_publishing_components/components/govspeak/_example.scss
govuk_publishing_components-45.6.0 app/assets/stylesheets/govuk_publishing_components/components/govspeak/_example.scss
govuk_publishing_components-45.5.0 app/assets/stylesheets/govuk_publishing_components/components/govspeak/_example.scss
govuk_publishing_components-45.4.1 app/assets/stylesheets/govuk_publishing_components/components/govspeak/_example.scss
govuk_publishing_components-45.4.0 app/assets/stylesheets/govuk_publishing_components/components/govspeak/_example.scss
govuk_publishing_components-45.3.0 app/assets/stylesheets/govuk_publishing_components/components/govspeak/_example.scss
govuk_publishing_components-45.2.0 app/assets/stylesheets/govuk_publishing_components/components/govspeak/_example.scss
govuk_publishing_components-45.1.0 app/assets/stylesheets/govuk_publishing_components/components/govspeak/_example.scss
govuk_publishing_components-45.0.0 app/assets/stylesheets/govuk_publishing_components/components/govspeak/_example.scss
govuk_publishing_components-44.11.0 app/assets/stylesheets/govuk_publishing_components/components/govspeak/_example.scss
govuk_publishing_components-44.10.0 app/assets/stylesheets/govuk_publishing_components/components/govspeak/_example.scss
govuk_publishing_components-44.9.1 app/assets/stylesheets/govuk_publishing_components/components/govspeak/_example.scss
govuk_publishing_components-44.9.0 app/assets/stylesheets/govuk_publishing_components/components/govspeak/_example.scss
govuk_publishing_components-44.8.0 app/assets/stylesheets/govuk_publishing_components/components/govspeak/_example.scss
govuk_publishing_components-44.7.1 app/assets/stylesheets/govuk_publishing_components/components/govspeak/_example.scss
govuk_publishing_components-44.7.0 app/assets/stylesheets/govuk_publishing_components/components/govspeak/_example.scss
govuk_publishing_components-44.6.0 app/assets/stylesheets/govuk_publishing_components/components/govspeak/_example.scss
govuk_publishing_components-44.5.0 app/assets/stylesheets/govuk_publishing_components/components/govspeak/_example.scss
govuk_publishing_components-44.4.2 app/assets/stylesheets/govuk_publishing_components/components/govspeak/_example.scss