Sha256: 02dd95da7cc45ab9eaadef36493abd0f4983e35e263e568cb907d1325d0fd54d

Contents?: true

Size: 1.11 KB

Versions: 84

Compression:

Stored size: 1.11 KB

Contents

@import "../base";

@include govuk-exports("govuk/objects/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%;
            text-size-adjust: 100%;

    // Force the scrollbar to always display in IE, to prevent horizontal page
    // jumps as content height changes (e.g. autocomplete results open).
    @include govuk-media-query($media-type: screen) {
      overflow-y: scroll;
    }
  }

  // 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

84 entries across 84 versions & 4 rubygems

Version Path
govuk_publishing_components-35.11.0 node_modules/govuk-frontend/govuk/objects/_template.scss
govuk_publishing_components-35.10.0 node_modules/govuk-frontend/govuk/objects/_template.scss
govuk_publishing_components-35.9.0 node_modules/govuk-frontend/govuk/objects/_template.scss
govuk_publishing_components-35.8.0 node_modules/govuk-frontend/govuk/objects/_template.scss
govuk_publishing_components-35.7.0 node_modules/govuk-frontend/govuk/objects/_template.scss
govuk_publishing_components-35.6.0 node_modules/govuk-frontend/govuk/objects/_template.scss
govuk_tech_docs-3.4.0 node_modules/govuk-frontend/govuk/objects/_template.scss
govuk_publishing_components-35.5.0 node_modules/govuk-frontend/govuk/objects/_template.scss
govuk_publishing_components-35.4.0 node_modules/govuk-frontend/govuk/objects/_template.scss
govuk_publishing_components-35.3.5 node_modules/govuk-frontend/govuk/objects/_template.scss
katalyst-govuk-formbuilder-1.5.0 vendor/assets/stylesheets/govuk-frontend/govuk/objects/_template.scss
govuk_publishing_components-35.3.4 node_modules/govuk-frontend/govuk/objects/_template.scss
govuk_publishing_components-35.3.3 node_modules/govuk-frontend/govuk/objects/_template.scss
dxw_govuk_frontend_rails-4.6.0 vendor/assets/stylesheets/objects/_template.scss
govuk_publishing_components-35.3.2 node_modules/govuk-frontend/govuk/objects/_template.scss
govuk_publishing_components-35.3.1 node_modules/govuk-frontend/govuk/objects/_template.scss
govuk_publishing_components-35.3.0 node_modules/govuk-frontend/govuk/objects/_template.scss
govuk_tech_docs-3.3.1 node_modules/govuk-frontend/govuk/objects/_template.scss
govuk_publishing_components-35.2.0 node_modules/govuk-frontend/govuk/objects/_template.scss
katalyst-govuk-formbuilder-1.4.0 vendor/assets/stylesheets/govuk-frontend/govuk/objects/_template.scss