Sha256: 0ef4455f004f3d6e77dacaeb3e0358f9712b8d3644e9ee760257bde3279c6af3

Contents?: true

Size: 848 Bytes

Versions: 244

Compression:

Stored size: 848 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", $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

244 entries across 244 versions & 1 rubygems

Version Path
govuk_publishing_components-39.2.5 app/assets/stylesheets/govuk_publishing_components/components/govspeak/_footnotes.scss
govuk_publishing_components-39.2.4 app/assets/stylesheets/govuk_publishing_components/components/govspeak/_footnotes.scss
govuk_publishing_components-39.2.3 app/assets/stylesheets/govuk_publishing_components/components/govspeak/_footnotes.scss
govuk_publishing_components-39.2.2 app/assets/stylesheets/govuk_publishing_components/components/govspeak/_footnotes.scss
govuk_publishing_components-39.2.1 app/assets/stylesheets/govuk_publishing_components/components/govspeak/_footnotes.scss
govuk_publishing_components-39.2.0 app/assets/stylesheets/govuk_publishing_components/components/govspeak/_footnotes.scss
govuk_publishing_components-39.1.0 app/assets/stylesheets/govuk_publishing_components/components/govspeak/_footnotes.scss
govuk_publishing_components-39.0.0 app/assets/stylesheets/govuk_publishing_components/components/govspeak/_footnotes.scss
govuk_publishing_components-38.4.2 app/assets/stylesheets/govuk_publishing_components/components/govspeak/_footnotes.scss
govuk_publishing_components-38.1.1 app/assets/stylesheets/govuk_publishing_components/components/govspeak/_footnotes.scss
govuk_publishing_components-38.1.0 app/assets/stylesheets/govuk_publishing_components/components/govspeak/_footnotes.scss
govuk_publishing_components-38.0.1 app/assets/stylesheets/govuk_publishing_components/components/govspeak/_footnotes.scss
govuk_publishing_components-38.0.0 app/assets/stylesheets/govuk_publishing_components/components/govspeak/_footnotes.scss
govuk_publishing_components-37.10.0 app/assets/stylesheets/govuk_publishing_components/components/govspeak/_footnotes.scss
govuk_publishing_components-37.9.1 app/assets/stylesheets/govuk_publishing_components/components/govspeak/_footnotes.scss
govuk_publishing_components-37.9.0 app/assets/stylesheets/govuk_publishing_components/components/govspeak/_footnotes.scss
govuk_publishing_components-37.8.1 app/assets/stylesheets/govuk_publishing_components/components/govspeak/_footnotes.scss
govuk_publishing_components-37.8.0 app/assets/stylesheets/govuk_publishing_components/components/govspeak/_footnotes.scss
govuk_publishing_components-37.7.1 app/assets/stylesheets/govuk_publishing_components/components/govspeak/_footnotes.scss
govuk_publishing_components-37.7.0 app/assets/stylesheets/govuk_publishing_components/components/govspeak/_footnotes.scss