From: Nicolas Coden Date: Tue, 8 Nov 2016 00:36:35 +0000 (+0100) Subject: Sass lint: Sort global properties X-Git-Tag: v6.3-rc1~18^2~9 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7e503cf9b458c75895d95f0f69f76327d7ecc47d;p=thirdparty%2Ffoundation%2Ffoundation-sites.git Sass lint: Sort global properties Sort global properties following the Specific property sort order. See : https://gist.github.com/ncoden/d42f55df7c7970f548a02cd3468f9c86 --- diff --git a/scss/_global.scss b/scss/_global.scss index 1ad5b775a..d44e996b2 100644 --- a/scss/_global.scss +++ b/scss/_global.scss @@ -122,8 +122,8 @@ $-zf-flex-classes-imported: false; } html { - font-size: $global-font-size; box-sizing: border-box; + font-size: $global-font-size; } // Set box-sizing globally to handle padding and border widths @@ -135,13 +135,15 @@ $-zf-flex-classes-imported: false; // Default body styles body { - padding: 0; margin: 0; + padding: 0; + + background: $body-background; + font-family: $body-font-family; font-weight: $global-weight-normal; line-height: $global-lineheight; color: $body-font-color; - background: $body-background; @if ($body-antialiased) { -webkit-font-smoothing: antialiased; @@ -150,14 +152,14 @@ $-zf-flex-classes-imported: false; } img { + // Get rid of gap under images by making them display: inline-block; by default + display: inline-block; + vertical-align: middle; + // Grid defaults to get images and embeds to work properly max-width: 100%; height: auto; -ms-interpolation-mode: bicubic; - - // Get rid of gap under images by making them display: inline-block; by default - display: inline-block; - vertical-align: middle; } // Make sure textarea takes on height automatically @@ -188,12 +190,15 @@ $-zf-flex-classes-imported: false; // Reset