Sha256: 0afcf776cdfb34b098386201a1f90f0d45de72bb1ff82faefff49feee1e9186e

Contents?: true

Size: 829 Bytes

Versions: 57

Compression:

Stored size: 829 Bytes

Contents

// Govspeak footnotes callout
// https://components.publishing.service.gov.uk/component-guide/govspeak/footnotes
//
// Support:
//
// This appears to be built into kramdown, we're just applying styling to it.
// https://kramdown.gettalong.org/syntax.html#footnotes
//
// - alphagov/whitehall: ✔︎
// - alphagov/govspeak: ✔︎

// stylelint-disable max-nesting-depth

.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 {
  .footnotes {
    border-top: 1px solid govuk-colour("mid-grey");
    margin-top: govuk-spacing(6);
    padding-top: govuk-spacing(2);

    a {
      overflow-wrap: break-word;
    }

    ol {
      margin-top: 0;
      padding-top: 0;

      li p {
        margin: 10px 0;
      }
    }
  }
}

Version data entries

57 entries across 57 versions & 1 rubygems

Version Path
govuk_publishing_components-49.1.0 app/assets/stylesheets/govuk_publishing_components/components/govspeak/_footnotes.scss
govuk_publishing_components-49.0.0 app/assets/stylesheets/govuk_publishing_components/components/govspeak/_footnotes.scss
govuk_publishing_components-48.0.0 app/assets/stylesheets/govuk_publishing_components/components/govspeak/_footnotes.scss
govuk_publishing_components-47.0.0 app/assets/stylesheets/govuk_publishing_components/components/govspeak/_footnotes.scss
govuk_publishing_components-46.4.0 app/assets/stylesheets/govuk_publishing_components/components/govspeak/_footnotes.scss
govuk_publishing_components-46.3.1 app/assets/stylesheets/govuk_publishing_components/components/govspeak/_footnotes.scss
govuk_publishing_components-46.3.0 app/assets/stylesheets/govuk_publishing_components/components/govspeak/_footnotes.scss
govuk_publishing_components-46.2.0 app/assets/stylesheets/govuk_publishing_components/components/govspeak/_footnotes.scss
govuk_publishing_components-46.1.0 app/assets/stylesheets/govuk_publishing_components/components/govspeak/_footnotes.scss
govuk_publishing_components-46.0.0 app/assets/stylesheets/govuk_publishing_components/components/govspeak/_footnotes.scss
govuk_publishing_components-45.10.0 app/assets/stylesheets/govuk_publishing_components/components/govspeak/_footnotes.scss
govuk_publishing_components-45.9.0 app/assets/stylesheets/govuk_publishing_components/components/govspeak/_footnotes.scss
govuk_publishing_components-45.8.0 app/assets/stylesheets/govuk_publishing_components/components/govspeak/_footnotes.scss
govuk_publishing_components-45.7.0 app/assets/stylesheets/govuk_publishing_components/components/govspeak/_footnotes.scss
govuk_publishing_components-45.6.1 app/assets/stylesheets/govuk_publishing_components/components/govspeak/_footnotes.scss
govuk_publishing_components-45.6.0 app/assets/stylesheets/govuk_publishing_components/components/govspeak/_footnotes.scss
govuk_publishing_components-45.5.0 app/assets/stylesheets/govuk_publishing_components/components/govspeak/_footnotes.scss
govuk_publishing_components-45.4.1 app/assets/stylesheets/govuk_publishing_components/components/govspeak/_footnotes.scss
govuk_publishing_components-45.4.0 app/assets/stylesheets/govuk_publishing_components/components/govspeak/_footnotes.scss
govuk_publishing_components-45.3.0 app/assets/stylesheets/govuk_publishing_components/components/govspeak/_footnotes.scss