Refactored sass partials

This commit is contained in:
Oliver Davies 2015-12-24 08:13:16 +00:00
parent 03cfe7f93e
commit 4f7ae06b01
5 changed files with 44 additions and 44 deletions

View file

@ -1,15 +1,15 @@
body { body {
padding-top: 60px; padding-top: 60px;
} }
main { main {
a:link, a:link,
a:hover { a:hover {
border-bottom: 1px solid; border-bottom: 1px solid;
text-decoration: none; text-decoration: none;
} }
img { img {
@extend .img-responsive; @extend .img-responsive;
} }
} }

View file

@ -1,8 +1,8 @@
.about-author { .about-author {
@include clearfix; @include clearfix;
img { img {
float: left; float: left;
margin: 0 1em 1em 0; margin: 0 1em 1em 0;
} }
} }

View file

@ -1,5 +1,5 @@
.copyright { .copyright {
border-top: 1px solid #CCC; border-top: 1px solid #CCC;
margin-top: 1em; margin-top: 1em;
padding-top: 1em; padding-top: 1em;
} }

View file

@ -1,21 +1,21 @@
.meetups { .meetups {
@include clearfix; @include clearfix;
ul { ul {
@include inline-block-list; @include inline-block-list;
} }
li { li {
padding: 5px 0; padding: 5px 0;
margin: 0 5px 5px 0; margin: 0 5px 5px 0;
} }
a { a {
display: block; display: block;
} }
img { img {
max-height: 45px; max-height: 45px;
width: auto; width: auto;
} }
} }

View file

@ -1,17 +1,17 @@
.page--testimonials .testimonial { .page--testimonials .testimonial {
@include clearfix; @include clearfix;
margin-bottom: 10px; margin-bottom: 10px;
.testimonial__image { .testimonial__image {
@extend .img-circle; @extend .img-circle;
@extend .pull-right; @extend .pull-right;
height: 75px; height: 75px;
margin: 0 0 10px 10px; margin: 0 0 10px 10px;
width: 75px; width: 75px;
@include breakpoint($screen-sm) { @include breakpoint($screen-sm) {
height: 90px; height: 90px;
width: 90px; width: 90px;
}
} }
}
} }