Sha256: 229cb03be71579a51372233d9763f87a945ee044bb232a1e5e53abe377af6873

Contents?: true

Size: 642 Bytes

Versions: 189

Compression:

Stored size: 642 Bytes

Contents

// Govspeak images
//
// 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 {
  img {
    width: auto;
    height: auto;
    max-width: 100%;
  }

  figure {
    width: 100%;
    clear: both;
    overflow: hidden;
    padding: govuk-spacing(2) 0 0;
    margin: 0;

    img {
      display: inline;
      text-align: center;
      width: auto;
      height: auto;
      max-width: 100%;
    }

    figcaption {
      @include govuk-font($size: 14);
    }
  }
}

Version data entries

189 entries across 189 versions & 1 rubygems

Version Path
govuk_publishing_components-38.0.1 app/assets/stylesheets/govuk_publishing_components/components/govspeak/_images.scss
govuk_publishing_components-38.0.0 app/assets/stylesheets/govuk_publishing_components/components/govspeak/_images.scss
govuk_publishing_components-37.10.0 app/assets/stylesheets/govuk_publishing_components/components/govspeak/_images.scss
govuk_publishing_components-37.9.1 app/assets/stylesheets/govuk_publishing_components/components/govspeak/_images.scss
govuk_publishing_components-37.9.0 app/assets/stylesheets/govuk_publishing_components/components/govspeak/_images.scss
govuk_publishing_components-37.8.1 app/assets/stylesheets/govuk_publishing_components/components/govspeak/_images.scss
govuk_publishing_components-37.8.0 app/assets/stylesheets/govuk_publishing_components/components/govspeak/_images.scss
govuk_publishing_components-37.7.1 app/assets/stylesheets/govuk_publishing_components/components/govspeak/_images.scss
govuk_publishing_components-37.7.0 app/assets/stylesheets/govuk_publishing_components/components/govspeak/_images.scss
govuk_publishing_components-37.6.1 app/assets/stylesheets/govuk_publishing_components/components/govspeak/_images.scss
govuk_publishing_components-37.6.0 app/assets/stylesheets/govuk_publishing_components/components/govspeak/_images.scss
govuk_publishing_components-37.5.1 app/assets/stylesheets/govuk_publishing_components/components/govspeak/_images.scss
govuk_publishing_components-37.5.0 app/assets/stylesheets/govuk_publishing_components/components/govspeak/_images.scss
govuk_publishing_components-37.4.0 app/assets/stylesheets/govuk_publishing_components/components/govspeak/_images.scss
govuk_publishing_components-37.3.1 app/assets/stylesheets/govuk_publishing_components/components/govspeak/_images.scss
govuk_publishing_components-37.3.0 app/assets/stylesheets/govuk_publishing_components/components/govspeak/_images.scss
govuk_publishing_components-37.2.4 app/assets/stylesheets/govuk_publishing_components/components/govspeak/_images.scss
govuk_publishing_components-37.2.3 app/assets/stylesheets/govuk_publishing_components/components/govspeak/_images.scss
govuk_publishing_components-37.2.2 app/assets/stylesheets/govuk_publishing_components/components/govspeak/_images.scss
govuk_publishing_components-37.2.1 app/assets/stylesheets/govuk_publishing_components/components/govspeak/_images.scss