Sha256: ea705bccab330bd39318819ec273089ee075f4a1819d2a324bbed3e900fa8a92

Contents?: true

Size: 1.39 KB

Versions: 151

Compression:

Stored size: 1.39 KB

Contents

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

// Disables linting for this file only
// sass-lint:disable no-css-comments, no-duplicate-properties, property-sort-order, indentation

@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. */

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

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

Version data entries

151 entries across 151 versions & 3 rubygems

Version Path
govuk_publishing_components-21.47.0 node_modules/govuk-frontend/govuk/helpers/_font-faces.scss
govuk_publishing_components-21.46.0 node_modules/govuk-frontend/govuk/helpers/_font-faces.scss
govuk_publishing_components-21.45.0 node_modules/govuk-frontend/govuk/helpers/_font-faces.scss
govuk_publishing_components-21.44.0 node_modules/govuk-frontend/govuk/helpers/_font-faces.scss
govuk_publishing_components-21.43.0 node_modules/govuk-frontend/govuk/helpers/_font-faces.scss
govuk_publishing_components-21.42.0 node_modules/govuk-frontend/govuk/helpers/_font-faces.scss
govuk_publishing_components-21.41.4 node_modules/govuk-frontend/govuk/helpers/_font-faces.scss
govuk_publishing_components-21.41.3 node_modules/govuk-frontend/govuk/helpers/_font-faces.scss
govuk_tech_docs-2.0.12 node_modules/govuk-frontend/govuk/helpers/_font-faces.scss
govuk_publishing_components-21.41.2 node_modules/govuk-frontend/govuk/helpers/_font-faces.scss
govuk_publishing_components-21.41.1 node_modules/govuk-frontend/govuk/helpers/_font-faces.scss
govuk_publishing_components-21.41.0 node_modules/govuk-frontend/govuk/helpers/_font-faces.scss
govuk_publishing_components-21.40.0 node_modules/govuk-frontend/govuk/helpers/_font-faces.scss
govuk_publishing_components-21.39.0 node_modules/govuk-frontend/govuk/helpers/_font-faces.scss
govuk_publishing_components-21.38.5 node_modules/govuk-frontend/govuk/helpers/_font-faces.scss
govuk_publishing_components-21.38.4 node_modules/govuk-frontend/govuk/helpers/_font-faces.scss
govuk_publishing_components-21.38.3 node_modules/govuk-frontend/govuk/helpers/_font-faces.scss
govuk_publishing_components-21.38.2 node_modules/govuk-frontend/govuk/helpers/_font-faces.scss
govuk_publishing_components-21.38.1 node_modules/govuk-frontend/govuk/helpers/_font-faces.scss
govuk_publishing_components-21.38.0 node_modules/govuk-frontend/govuk/helpers/_font-faces.scss