Sha256: ae06139d43e786d870587ba0cdff89838b72ec2416ecb46a2788d673fba002ae

Contents?: true

Size: 1.2 KB

Versions: 209

Compression:

Stored size: 1.2 KB

Contents

@import "../settings/all";
@import "../tools/all";
@import "../helpers/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%;

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

209 entries across 209 versions & 3 rubygems

Version Path
govuk_tech_docs-2.2.2 node_modules/govuk-frontend/govuk/core/_template.scss
govuk_tech_docs-2.2.1 node_modules/govuk-frontend/govuk/core/_template.scss
govuk_tech_docs-2.2.0 node_modules/govuk-frontend/govuk/core/_template.scss
govuk_tech_docs-2.1.1 node_modules/govuk-frontend/govuk/core/_template.scss
govuk_tech_docs-2.1.0 node_modules/govuk-frontend/govuk/core/_template.scss
govuk_tech_docs-2.0.13 node_modules/govuk-frontend/govuk/core/_template.scss
dxw_govuk_frontend_rails-3.6.0 vendor/assets/stylesheets/core/_template.scss
dxw_govuk_frontend_rails-3.5.0 vendor/assets/stylesheets/core/_template.scss
govuk_publishing_components-21.54.0 node_modules/govuk-frontend/govuk/core/_template.scss
govuk_publishing_components-21.53.0 node_modules/govuk-frontend/govuk/core/_template.scss
govuk_publishing_components-21.52.1 node_modules/govuk-frontend/govuk/core/_template.scss
govuk_publishing_components-21.52.0 node_modules/govuk-frontend/govuk/core/_template.scss
govuk_publishing_components-21.51.0 node_modules/govuk-frontend/govuk/core/_template.scss
govuk_publishing_components-21.50.1 node_modules/govuk-frontend/govuk/core/_template.scss
govuk_publishing_components-21.50.0 node_modules/govuk-frontend/govuk/core/_template.scss
govuk_publishing_components-21.49.0 node_modules/govuk-frontend/govuk/core/_template.scss
govuk_publishing_components-21.48.0 node_modules/govuk-frontend/govuk/core/_template.scss
govuk_publishing_components-21.47.0 node_modules/govuk-frontend/govuk/core/_template.scss
govuk_publishing_components-21.46.0 node_modules/govuk-frontend/govuk/core/_template.scss
govuk_publishing_components-21.45.0 node_modules/govuk-frontend/govuk/core/_template.scss