From d752338644eb6b8d05efa6efae9ee8d7b2e94afb Mon Sep 17 00:00:00 2001 From: Chris Eppstein Date: Fri, 7 May 2010 17:58:05 -0700 Subject: [PATCH] This is slightly more readable. --- .../stylesheets/blueprint/_scaffolding.scss | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/frameworks/blueprint/stylesheets/blueprint/_scaffolding.scss b/frameworks/blueprint/stylesheets/blueprint/_scaffolding.scss index a62e2680..f3b19aa8 100644 --- a/frameworks/blueprint/stylesheets/blueprint/_scaffolding.scss +++ b/frameworks/blueprint/stylesheets/blueprint/_scaffolding.scss @@ -16,11 +16,14 @@ // mixins to construct your own semantic style rules. @mixin blueprint-scaffolding($body_selector: body) { - #{$body_selector} { - @if $body_selector != "body" { - @include blueprint-scaffolding-defaults; } } - @if $body_selector == "body" { - @include blueprint-scaffolding-defaults; } } + @if $body_selector != body { + #{$body_selector} { + @include blueprint-scaffolding-defaults; + } + } @else { + @include blueprint-scaffolding-defaults; + } +} // The styles this mixin provides were deprecated in Blueprint 0.9 and is no longer part of the // main scaffolding, but the mixin is still available if you want to use it.