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 {
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;
}
}

View file

@ -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;
}
}

View file

@ -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;
}

View file

@ -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;
}
}

View file

@ -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;
}
}
}
}