Sha256: 06542d902902f2a1932f0bebdd86dd558670d7c479a0fd5da581b140c1f4a760

Contents?: true

Size: 936 Bytes

Versions: 9

Compression:

Stored size: 936 Bytes

Contents

@import "../settings/all";

@include govuk-exports("govuk/core/template") {

  // Applied to the <html> element
  .govuk-template {
    // Set the overall page background colour to the same colour as used by the
    // footer to give the illusion of a long footer.
    background-color: $govuk-canvas-background-colour;

    // Prevent automatic text sizing, as we already cater for small devices and
    // would like the browser to stay on 100% text zoom by default.
    -webkit-text-size-adjust: 100%;
       -moz-text-size-adjust: 100%;
        -ms-text-size-adjust: 100%;
            text-size-adjust: 100%;
  }

  // Applied to the <body> element
  .govuk-template__body {
    // The default margins set by user-agents are not required since we have our
    // own containers.
    margin: 0;
    // Set the overall body of the page back to the typical background colour.
    background-color: $govuk-body-background-colour;
  }
}

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
govuk_publishing_components-16.3.0 node_modules/govuk-frontend/core/_template.scss
govuk_publishing_components-16.2.0 node_modules/govuk-frontend/core/_template.scss
govuk_publishing_components-16.1.0 node_modules/govuk-frontend/core/_template.scss
govuk_publishing_components-16.0.0 node_modules/govuk-frontend/core/_template.scss
govuk_publishing_components-15.3.0 node_modules/govuk-frontend/core/_template.scss
govuk_publishing_components-15.2.0 node_modules/govuk-frontend/core/_template.scss
govuk_publishing_components-15.1.0 node_modules/govuk-frontend/core/_template.scss
govuk_publishing_components-15.0.0 node_modules/govuk-frontend/core/_template.scss
govuk_publishing_components-14.0.0 node_modules/govuk-frontend/core/_template.scss