Simplify feature row SCSS

This commit is contained in:
Michael Rose
2016-04-01 12:50:07 -04:00
parent b26bc6fa87
commit e528565f63
3 changed files with 11 additions and 61 deletions

View File

@ -147,6 +147,7 @@ a:hover {
.feature__item {
margin-bottom: 2em;
font-size: 1.25rem;
@include breakpoint($small) {
text-align: center;
@ -158,23 +159,10 @@ a:hover {
}
}
.archive__item-title {
margin-bottom: 0.5em;
font-size: $type-size-4;
}
.archive__item-excerpt {
margin-bottom: 1em;
font-size: $type-size-5;
p {
font-size: $type-size-5;
}
}
&--left {
@include full();
margin-bottom: 2em;
font-size: 1.25rem;
@include breakpoint($small) {
.archive__item-teaser {
@ -187,25 +175,13 @@ a:hover {
@include suffix(1 of 12);
}
}
.archive__item-title {
margin-bottom: 0.5em;
font-size: $type-size-4;
}
.archive__item-excerpt {
margin-bottom: 1em;
font-size: $type-size-5;
p {
font-size: $type-size-5;
}
}
}
&--right {
@include full();
margin-bottom: 2em;
font-size: 1.25rem;
@include breakpoint($small) {
text-align: right;
@ -219,25 +195,13 @@ a:hover {
@include suffix(1 of 12);
}
}
.archive__item-title {
margin-bottom: 0.5em;
font-size: $type-size-4;
}
.archive__item-excerpt {
margin-bottom: 1em;
font-size: $type-size-5;
p {
font-size: $type-size-5;
}
}
}
&--center {
@include full();
margin-bottom: 2em;
font-size: 1.25rem;
@include breakpoint($small) {
text-align: center;
@ -251,19 +215,5 @@ a:hover {
width: span(7 of 12);
}
}
.archive__item-title {
margin-bottom: 0.5em;
font-size: $type-size-4;
}
.archive__item-excerpt {
margin-bottom: 1em;
font-size: $type-size-5;
p {
font-size: $type-size-5;
}
}
}
}

File diff suppressed because one or more lines are too long