Sha256: 07ade68b3a92afd6d10ec0a280b313c7623c86d9afb882cd81a56e7c96d1eea2

Contents?: true

Size: 1.28 KB

Versions: 55

Compression:

Stored size: 1.28 KB

Contents

/*------------------------------------*\
    #PAGE
\*------------------------------------*/

/**
 * High-, page-level styling.
 *
 * 1. Set the default `font-size` and `line-height` for the entire project,
 *    sourced from our default variables. The `font-size` is calculated to exist
 *    in ems, the `line-height` is calculated to exist unitlessly.
 * 2. Force scrollbars to always be visible to prevent awkward ‘jumps’ when
 *    navigating between pages that do/do not have enough content to produce
 *    scrollbars naturally.
 * 3. Ensure the page always fills at least the entire height of the viewport.
 * 4. Prevent certain mobile browsers from automatically zooming fonts.
 * 5. Fonts on OSX will look more consistent with other systems that do not
 *    render text using sub-pixel anti-aliasing.
 */
html {
    font-size: ($inuit-base-font-size / 16px) * 1em; /* [1] */
    line-height: $inuit-base-line-height / $inuit-base-font-size; /* [1] */
    background-color: $inuit-base-background-color;
    color: $inuit-base-text-color;
    overflow-y: scroll; /* [2] */
    min-height: 100%; /* [3] */
    -webkit-text-size-adjust: 100%; /* [4] */
        -ms-text-size-adjust: 100%; /* [4] */
    -moz-osx-font-smoothing: grayscale; /* [5] */
     -webkit-font-smoothing: antialiased; /* [5] */
}

Version data entries

55 entries across 55 versions & 4 rubygems

Version Path
lanes-0.8.0 node_modules/inuit-page/_base.page.scss
wrgem-0.0.55 lib/generators/wrstart/template/vendor/assets/components/inuit-page/_base.page.scss
wrgem-0.0.54 lib/generators/wrstart/template/vendor/assets/components/inuit-page/_base.page.scss
wrgem-0.0.53 lib/generators/wrstart/template/vendor/assets/components/inuit-page/_base.page.scss
wrgem-0.0.52 lib/generators/wrstart/template/vendor/assets/components/inuit-page/_base.page.scss
wrgem-0.0.51 lib/generators/wrstart/template/vendor/assets/components/inuit-page/_base.page.scss
mifflin-0.1.1 vendor/assets/bower_components/inuit-page/_base.page.scss
wrgem-0.0.50 lib/generators/wrstart/template/vendor/assets/components/inuit-page/_base.page.scss
wrgem-0.0.49 lib/generators/wrstart/template/vendor/assets/components/inuit-page/_base.page.scss
wrgem-0.0.48 lib/generators/wrstart/template/vendor/assets/components/inuit-page/_base.page.scss
wrgem-0.0.47 lib/generators/wrstart/template/vendor/assets/components/inuit-page/_base.page.scss
wrgem-0.0.46 lib/generators/wrstart/template/vendor/assets/components/inuit-page/_base.page.scss
wrgem-0.0.45 lib/generators/wrstart/template/vendor/assets/components/inuit-page/_base.page.scss
wrgem-0.0.44 lib/generators/wrstart/template/vendor/assets/components/inuit-page/_base.page.scss
wrgem-0.0.43 lib/generators/wrstart/template/vendor/assets/components/inuit-page/_base.page.scss
wrgem-0.0.42 lib/generators/wrstart/template/vendor/assets/components/inuit-page/_base.page.scss
wrgem-0.0.41 lib/generators/wrstart/template/vendor/assets/components/inuit-page/_base.page.scss
wrgem-0.0.40 lib/generators/wrstart/template/vendor/assets/components/inuit-page/_base.page.scss
wrgem-0.0.39 lib/generators/wrstart/template/vendor/assets/components/inuit-page/_base.page.scss
wrgem-0.0.38 lib/generators/wrstart/template/vendor/assets/components/inuit-page/_base.page.scss