From 4f7ae06b01a812bbef364569a7e45c8e707374af Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Thu, 24 Dec 2015 08:13:16 +0000 Subject: [PATCH] Refactored sass partials --- sass/partials/_base.scss | 18 +++++++++--------- sass/partials/_blog-post.scss | 10 +++++----- sass/partials/_footer.scss | 6 +++--- sass/partials/_meetups.scss | 30 +++++++++++++++--------------- sass/partials/_testimonials.scss | 24 ++++++++++++------------ 5 files changed, 44 insertions(+), 44 deletions(-) diff --git a/sass/partials/_base.scss b/sass/partials/_base.scss index 44cd61fc..d72d219f 100644 --- a/sass/partials/_base.scss +++ b/sass/partials/_base.scss @@ -1,15 +1,15 @@ body { - padding-top: 60px; + padding-top: 60px; } main { - a:link, - a:hover { - border-bottom: 1px solid; - text-decoration: none; - } + a:link, + a:hover { + border-bottom: 1px solid; + text-decoration: none; + } - img { - @extend .img-responsive; - } + img { + @extend .img-responsive; + } } diff --git a/sass/partials/_blog-post.scss b/sass/partials/_blog-post.scss index 85a091e4..65051486 100644 --- a/sass/partials/_blog-post.scss +++ b/sass/partials/_blog-post.scss @@ -1,8 +1,8 @@ .about-author { - @include clearfix; + @include clearfix; - img { - float: left; - margin: 0 1em 1em 0; - } + img { + float: left; + margin: 0 1em 1em 0; + } } diff --git a/sass/partials/_footer.scss b/sass/partials/_footer.scss index c421f0bd..cfa56cbb 100644 --- a/sass/partials/_footer.scss +++ b/sass/partials/_footer.scss @@ -1,5 +1,5 @@ .copyright { - border-top: 1px solid #CCC; - margin-top: 1em; - padding-top: 1em; + border-top: 1px solid #CCC; + margin-top: 1em; + padding-top: 1em; } diff --git a/sass/partials/_meetups.scss b/sass/partials/_meetups.scss index 69fecad7..c6c75a07 100644 --- a/sass/partials/_meetups.scss +++ b/sass/partials/_meetups.scss @@ -1,21 +1,21 @@ .meetups { - @include clearfix; + @include clearfix; - ul { - @include inline-block-list; - } + ul { + @include inline-block-list; + } - li { - padding: 5px 0; - margin: 0 5px 5px 0; - } + li { + padding: 5px 0; + margin: 0 5px 5px 0; + } - a { - display: block; - } + a { + display: block; + } - img { - max-height: 45px; - width: auto; - } + img { + max-height: 45px; + width: auto; + } } diff --git a/sass/partials/_testimonials.scss b/sass/partials/_testimonials.scss index 9f7e1736..1b06ba99 100644 --- a/sass/partials/_testimonials.scss +++ b/sass/partials/_testimonials.scss @@ -1,17 +1,17 @@ .page--testimonials .testimonial { - @include clearfix; - margin-bottom: 10px; + @include clearfix; + margin-bottom: 10px; - .testimonial__image { - @extend .img-circle; - @extend .pull-right; - height: 75px; - margin: 0 0 10px 10px; - width: 75px; + .testimonial__image { + @extend .img-circle; + @extend .pull-right; + height: 75px; + margin: 0 0 10px 10px; + width: 75px; - @include breakpoint($screen-sm) { - height: 90px; - width: 90px; + @include breakpoint($screen-sm) { + height: 90px; + width: 90px; + } } - } }