From d45933782eaeafaf5abe06279237ff1a02c0d855 Mon Sep 17 00:00:00 2001 From: TheOrangeOne Date: Thu, 25 Aug 2016 21:58:15 +0100 Subject: [PATCH] fix scss lint --- .sass-lint.yml | 1 + theme/static/src/scss/functional.scss | 2 +- theme/static/src/scss/homepage.scss | 3 ++- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.sass-lint.yml b/.sass-lint.yml index eab2fb4..38af2b8 100644 --- a/.sass-lint.yml +++ b/.sass-lint.yml @@ -55,6 +55,7 @@ rules: single-line-per-selector: 0 force-pseudo-nesting: 0 force-element-nesting: 0 + placeholder-in-extend: 0 nesting-depth: - 2 - diff --git a/theme/static/src/scss/functional.scss b/theme/static/src/scss/functional.scss index 3126e25..d2e3b5a 100644 --- a/theme/static/src/scss/functional.scss +++ b/theme/static/src/scss/functional.scss @@ -8,5 +8,5 @@ } .text-shadow { - text-shadow: 0px 5px 3px $brand-grey-dark; + text-shadow: 0 5px 3px $brand-grey-dark; } diff --git a/theme/static/src/scss/homepage.scss b/theme/static/src/scss/homepage.scss index 15a9338..bfa2140 100644 --- a/theme/static/src/scss/homepage.scss +++ b/theme/static/src/scss/homepage.scss @@ -3,14 +3,15 @@ header { min-height: 100%; h1 { - font-size: $font-size-h1 * 1.5; @extend .text-shadow; + font-size: $font-size-h1 * 1.5; } .page-scroll { position: absolute; bottom: 10%; color: $white; + & > i { font-size: $font-size-h1; }