Sha256: 824e80ec58d8e62a486ca6ab2a57a838a644f01cb99fc6c4e999a2977864eed0

Contents?: true

Size: 704 Bytes

Versions: 78

Compression:

Stored size: 704 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

.gem-c-govspeak {
  .footnotes {
    border-top: 1px solid govuk-colour("mid-grey", $legacy: "grey-2");
    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

78 entries across 78 versions & 1 rubygems

Version Path
govuk_publishing_components-23.7.4 app/assets/stylesheets/govuk_publishing_components/components/govspeak/_footnotes.scss
govuk_publishing_components-23.7.3 app/assets/stylesheets/govuk_publishing_components/components/govspeak/_footnotes.scss
govuk_publishing_components-23.7.2 app/assets/stylesheets/govuk_publishing_components/components/govspeak/_footnotes.scss
govuk_publishing_components-23.7.1 app/assets/stylesheets/govuk_publishing_components/components/govspeak/_footnotes.scss
govuk_publishing_components-23.7.0 app/assets/stylesheets/govuk_publishing_components/components/govspeak/_footnotes.scss
govuk_publishing_components-23.6.0 app/assets/stylesheets/govuk_publishing_components/components/govspeak/_footnotes.scss
govuk_publishing_components-23.5.1 app/assets/stylesheets/govuk_publishing_components/components/govspeak/_footnotes.scss
govuk_publishing_components-23.5.0 app/assets/stylesheets/govuk_publishing_components/components/govspeak/_footnotes.scss
govuk_publishing_components-23.4.0 app/assets/stylesheets/govuk_publishing_components/components/govspeak/_footnotes.scss
govuk_publishing_components-23.3.0 app/assets/stylesheets/govuk_publishing_components/components/govspeak/_footnotes.scss
govuk_publishing_components-23.2.1 app/assets/stylesheets/govuk_publishing_components/components/govspeak/_footnotes.scss
govuk_publishing_components-23.2.0 app/assets/stylesheets/govuk_publishing_components/components/govspeak/_footnotes.scss
govuk_publishing_components-23.1.0 app/assets/stylesheets/govuk_publishing_components/components/govspeak/_footnotes.scss
govuk_publishing_components-23.0.0 app/assets/stylesheets/govuk_publishing_components/components/govspeak/_footnotes.scss
govuk_publishing_components-21.69.0 app/assets/stylesheets/govuk_publishing_components/components/govspeak/_footnotes.scss
govuk_publishing_components-21.68.1 app/assets/stylesheets/govuk_publishing_components/components/govspeak/_footnotes.scss
govuk_publishing_components-21.68.0 app/assets/stylesheets/govuk_publishing_components/components/govspeak/_footnotes.scss
govuk_publishing_components-21.67.2 app/assets/stylesheets/govuk_publishing_components/components/govspeak/_footnotes.scss
govuk_publishing_components-21.67.1 app/assets/stylesheets/govuk_publishing_components/components/govspeak/_footnotes.scss
govuk_publishing_components-21.67.0 app/assets/stylesheets/govuk_publishing_components/components/govspeak/_footnotes.scss