Skip to content

Commit

Permalink
Merge branch 'feature/masthead-alignment' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
mmistakes committed Jun 7, 2016
2 parents 972e55c + 4aa0631 commit ebccf63
Show file tree
Hide file tree
Showing 6 changed files with 37 additions and 33 deletions.
2 changes: 1 addition & 1 deletion _layouts/default.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,12 @@

<div class="page__footer">
<footer>
{% include footer/custom.html %}
{% include footer.html %}
</footer>
</div>

{% include scripts.html %}
{% include footer/custom.html %}

</body>
</html>
9 changes: 0 additions & 9 deletions assets/_scss/_archive.scss
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,6 @@ a:hover {

@include breakpoint($small) {
margin-bottom: 0;
text-align: center;
@include gallery(4 of 12);

.feature__item-teaser {
Expand All @@ -158,14 +157,8 @@ a:hover {
}
}

.archive__item-body {
padding-left: 0.5em;
padding-right: 0.5em;
}

&--left {
@include full();
// margin-bottom: 2em;
font-size: 1.25rem;

.archive__item-teaser {
Expand All @@ -187,7 +180,6 @@ a:hover {

&--right {
@include full();
// margin-bottom: 2em;
font-size: 1.25rem;

.archive__item-teaser {
Expand All @@ -211,7 +203,6 @@ a:hover {

&--center {
@include full();
// margin-bottom: 2em;
font-size: 1.25rem;

.archive__item-teaser {
Expand Down
27 changes: 16 additions & 11 deletions assets/_scss/_footer.scss
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,24 @@
========================================================================== */

.page__footer {
@include container;
@include full();
@include clearfix;
margin-top: 3em;
padding: 0 1em 3em;
color: mix(#fff, $gray, 25%);
animation: intro 0.3s both;
animation-delay: 0.45s;
background-color: $lighter-gray;
border-top: 1px solid $light-gray;

@include breakpoint($x-large) {
max-width: $x-large;
footer {
@include container;
@include clearfix;
margin-top: 2em;
padding: 0 1em 2em;

@include breakpoint($x-large) {
max-width: $x-large;
}
}

a {
Expand All @@ -23,21 +31,18 @@
text-decoration: underline;
}
}

.fa {
color: mix(#fff, $gray, 25%);
}
}

.page__footer-copyright {
font-family: $global-font-family;
font-size: $type-size-7;

@include breakpoint($large) {
@include prefix(2.5 of 12);
}
}

.page__footer-follow {
@include breakpoint($large) {
@include prefix(2.5 of 12);
}

ul {
margin: 0;
Expand Down
9 changes: 2 additions & 7 deletions assets/_scss/_masthead.scss
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@
@include clearfix;
padding: 1em 1em 1em;
font-family: $sans-serif-narrow;
font-weight: 700;
text-transform: uppercase;

@include breakpoint($x-large) {
max-width: $x-large;
Expand All @@ -32,9 +30,6 @@
}

.masthead__menu {
@include breakpoint($large) {
@include prefix(2.5 of 12);
}

ul {
margin: 0;
Expand All @@ -47,10 +42,10 @@
.masthead__menu-item {
display: block;
list-style-type: none;
font-size: $type-size-6;
white-space: nowrap;

&--lg {
font-size: $type-size-5;
padding-right: 2em;
font-weight: 700;
}
}
19 changes: 16 additions & 3 deletions assets/_scss/_page.scss
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,12 @@
}

.page__content {

h2 {
padding-bottom: 0.5em;
border-bottom: 1px solid $border-color;
}

p, li, dl {
font-size: 1em;
}
Expand Down Expand Up @@ -113,16 +119,19 @@
margin-bottom: 2em;
padding: 3em 0;
@include clearfix;
text-align: center;
background-size: cover;
background-repeat: no-repeat;
background-position: center;
animation: intro 0.3s both;
animation-delay: 0.25s;

.wrapper {
padding-left: 2em;
padding-right: 2em;
padding-left: 1em;
padding-right: 1em;

@include breakpoint($x-large) {
max-width: $x-large;
}
}

.page__title,
Expand All @@ -133,6 +142,10 @@
text-shadow: 1px 1px 4px rgba(#000, 0.5);
}

.page__lead {
max-width: $medium;
}

.page__title {
font-size: $type-size-2;

Expand Down
4 changes: 2 additions & 2 deletions assets/css/main.css

Large diffs are not rendered by default.

0 comments on commit ebccf63

Please sign in to comment.