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-24.10.0 app/assets/stylesheets/govuk_publishing_components/components/govspeak/_footnotes.scss
govuk_publishing_components-24.9.4 app/assets/stylesheets/govuk_publishing_components/components/govspeak/_footnotes.scss
govuk_publishing_components-24.9.3 app/assets/stylesheets/govuk_publishing_components/components/govspeak/_footnotes.scss
govuk_publishing_components-24.9.2 app/assets/stylesheets/govuk_publishing_components/components/govspeak/_footnotes.scss
govuk_publishing_components-24.9.1 app/assets/stylesheets/govuk_publishing_components/components/govspeak/_footnotes.scss
govuk_publishing_components-24.9.0 app/assets/stylesheets/govuk_publishing_components/components/govspeak/_footnotes.scss
govuk_publishing_components-24.8.0 app/assets/stylesheets/govuk_publishing_components/components/govspeak/_footnotes.scss
govuk_publishing_components-24.7.1 app/assets/stylesheets/govuk_publishing_components/components/govspeak/_footnotes.scss
govuk_publishing_components-24.7.0 app/assets/stylesheets/govuk_publishing_components/components/govspeak/_footnotes.scss
govuk_publishing_components-24.6.1 app/assets/stylesheets/govuk_publishing_components/components/govspeak/_footnotes.scss
govuk_publishing_components-24.6.0 app/assets/stylesheets/govuk_publishing_components/components/govspeak/_footnotes.scss
govuk_publishing_components-24.5.0 app/assets/stylesheets/govuk_publishing_components/components/govspeak/_footnotes.scss
govuk_publishing_components-24.4.1 app/assets/stylesheets/govuk_publishing_components/components/govspeak/_footnotes.scss
govuk_publishing_components-24.4.0 app/assets/stylesheets/govuk_publishing_components/components/govspeak/_footnotes.scss
govuk_publishing_components-24.3.1 app/assets/stylesheets/govuk_publishing_components/components/govspeak/_footnotes.scss
govuk_publishing_components-24.3.0 app/assets/stylesheets/govuk_publishing_components/components/govspeak/_footnotes.scss
govuk_publishing_components-24.2.0 app/assets/stylesheets/govuk_publishing_components/components/govspeak/_footnotes.scss
govuk_publishing_components-24.1.1 app/assets/stylesheets/govuk_publishing_components/components/govspeak/_footnotes.scss
govuk_publishing_components-24.1.0 app/assets/stylesheets/govuk_publishing_components/components/govspeak/_footnotes.scss
govuk_publishing_components-24.0.0 app/assets/stylesheets/govuk_publishing_components/components/govspeak/_footnotes.scss