Skip to content

Commit

Permalink
Change footer offset, hopefully fix the media query specificity.
Browse files Browse the repository at this point in the history
  • Loading branch information
johno committed Oct 6, 2014
1 parent 8d9eddc commit ffc4ae7
Show file tree
Hide file tree
Showing 2 changed files with 45 additions and 47 deletions.
90 changes: 45 additions & 45 deletions _sass/_main.scss
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ img {

.site-wrap {
min-height: 100%;
margin-bottom: -100px;
margin-bottom: -120px;
}

.site-wrap:after {
Expand All @@ -36,7 +36,7 @@ img {
}

.footer, .site-wrap:after {
height: 100px;
height: 120px;
}

body {
Expand Down Expand Up @@ -271,49 +271,6 @@ h6,
top: 0.1em;
}

@media screen and (max-width: 48em) {
.h1,
h1 {
font-size: 2.827rem;
}

.h2,
h2 {
font-size: 1.999rem;
}

.h3,
h3 {
font-size: 1.413rem;
}

.h4,
h4 {
font-size: 1rem;
}

.site-header {
text-align: center;
}

.site-header .site-title {
float: center;
}

.site-header .site-nav {
width: 100%;
float: left;
text-align: center;
margin-top: 0.666em;
margin-bottom: 1.333em;
}

.social-icons .left, .social-icons .right {
text-align: center;
float: none;
}
}

@media screen and (min-width: 48em) {
.site-header .site-title {
float: left;
Expand Down Expand Up @@ -374,6 +331,49 @@ h6,
}
}

@media screen and (max-width: 48em) {
.h1,
h1 {
font-size: 2.827rem;
}

.h2,
h2 {
font-size: 1.999rem;
}

.h3,
h3 {
font-size: 1.413rem;
}

.h4,
h4 {
font-size: 1rem;
}

.site-header {
text-align: center;
}

.site-header .site-title {
float: center;
}

.site-header .site-nav {
width: 100%;
float: left;
text-align: center;
margin-top: 0.666em;
margin-bottom: 1.333em;
}

.social-icons .left, .social-icons .right {
text-align: center;
float: none;
}
}

@media screen and (min-width: 64em) {
.h1,
h1 {
Expand Down
2 changes: 0 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,4 @@ <h3 class="h2 post-title">{{ post.title }}</h3>
</div>

{% include pagination.html %}

<!--<p class="rss-subscribe">subscribe <a href="{{ "/feed.xml" | prepend: site.baseurl }}">via RSS</a></p>-->
</div>

0 comments on commit ffc4ae7

Please sign in to comment.