Sha256: 9ade829b3c80f92e08aa635ee6ea3886a77ca03405931177a5ab4828ce040d0d

Contents?: true

Size: 1.33 KB

Versions: 55

Compression:

Stored size: 1.33 KB

Contents

////
/// @group helpers
////

@import "../tools/exports";

/// Font Face - GDS Transport
///
/// Outputs the font-face declaration for GDS Transport at the root of the CSS document
/// the first time it is called.
///
/// @access private

@mixin _govuk-font-face-gds-transport {
  @include _govuk-not-ie8 { // In IE8, which cannot render WOFF format, we fall back to system fonts
    @include govuk-exports("govuk/helpers/font-faces") {
      @at-root {
        /*! Copyright (c) 2011 by Margaret Calvert & Henrik Kubel. All rights reserved. The font has been customised for exclusive use on gov.uk. This cut is not commercially available. */ /* stylelint-disable-line scss/comment-no-loud  */
        @font-face {
          font-family: "GDS Transport";
          font-style: normal;
          font-weight: normal;
          src:
            govuk-font-url("light-94a07e06a1-v2.woff2") format("woff2"),
            govuk-font-url("light-f591b13f7d-v2.woff") format("woff");
          font-display: fallback;
        }

        @font-face {
          font-family: "GDS Transport";
          font-style: normal;
          font-weight: bold;
          src:
            govuk-font-url("bold-b542beb274-v2.woff2") format("woff2"),
            govuk-font-url("bold-affa96571d-v2.woff") format("woff");
          font-display: fallback;
        }
      }
    }
  }
}

Version data entries

55 entries across 55 versions & 4 rubygems

Version Path
govuk_tech_docs-3.5.0 node_modules/govuk-frontend/govuk/helpers/_font-faces.scss
govuk_tech_docs-3.4.5 node_modules/govuk-frontend/govuk/helpers/_font-faces.scss
govuk_publishing_components-37.3.1 node_modules/govuk-frontend/govuk/helpers/_font-faces.scss
govuk_publishing_components-37.3.0 node_modules/govuk-frontend/govuk/helpers/_font-faces.scss
govuk_publishing_components-37.2.4 node_modules/govuk-frontend/govuk/helpers/_font-faces.scss
govuk_publishing_components-37.2.3 node_modules/govuk-frontend/govuk/helpers/_font-faces.scss
govuk_publishing_components-37.2.2 node_modules/govuk-frontend/govuk/helpers/_font-faces.scss
govuk_publishing_components-37.2.1 node_modules/govuk-frontend/govuk/helpers/_font-faces.scss
govuk_publishing_components-37.2.0 node_modules/govuk-frontend/govuk/helpers/_font-faces.scss
govuk_publishing_components-37.1.1 node_modules/govuk-frontend/govuk/helpers/_font-faces.scss
govuk_publishing_components-37.1.0 node_modules/govuk-frontend/govuk/helpers/_font-faces.scss
govuk_publishing_components-37.0.0 node_modules/govuk-frontend/govuk/helpers/_font-faces.scss
govuk_publishing_components-36.1.0 node_modules/govuk-frontend/govuk/helpers/_font-faces.scss
govuk_publishing_components-36.0.3 node_modules/govuk-frontend/govuk/helpers/_font-faces.scss
govuk_publishing_components-36.0.2 node_modules/govuk-frontend/govuk/helpers/_font-faces.scss
govuk_publishing_components-36.0.1 node_modules/govuk-frontend/govuk/helpers/_font-faces.scss
govuk_publishing_components-36.0.0 node_modules/govuk-frontend/govuk/helpers/_font-faces.scss
govuk_publishing_components-35.23.0 node_modules/govuk-frontend/govuk/helpers/_font-faces.scss
govuk_publishing_components-35.22.0 node_modules/govuk-frontend/govuk/helpers/_font-faces.scss
govuk_publishing_components-35.21.4 node_modules/govuk-frontend/govuk/helpers/_font-faces.scss