Revert "Sticky footer"

This reverts commit 3242e72cfc.
This commit is contained in:
John O'Nolan 2014-07-20 17:28:49 +02:00
parent 3242e72cfc
commit 3db098c1e0
2 changed files with 7 additions and 26 deletions

View File

@ -179,14 +179,6 @@ body {
color: #3A4145; color: #3A4145;
} }
/*Make a sticky footer*/
.site-wrapper {
min-height: 100%;
height: auto !important;
height: 100%;
margin: 0 auto -28px; /*exact height of .site-footer*/
}
::-moz-selection { ::-moz-selection {
background: #D6EDFF; background: #D6EDFF;
} }
@ -550,16 +542,6 @@ margin on the iframe, cause it breaks stuff. */
animation: fade-in-up-subtle 2s; animation: fade-in-up-subtle 2s;
} }
.content {
padding-bottom: 8rem;
}
@media (max-width: 900px) {
.content { padding-bottom: 6rem; }
}
@media (max-width: 500px) {
.content { padding-bottom: 3rem; }
}
/* Every post, on every page, gets this style on its <article> tag */ /* Every post, on every page, gets this style on its <article> tag */
.post { .post {
position: relative; position: relative;
@ -1015,11 +997,8 @@ margin on the iframe, cause it breaks stuff. */
========================================================================== */ ========================================================================== */
.site-footer { .site-footer {
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
position: relative; position: relative;
height: 28px; margin: 8rem 0 0 0;
padding: 0.5rem 35px; padding: 0.5rem 35px;
border-top: #EBF2F6 1px solid; border-top: #EBF2F6 1px solid;
font-family: "Open Sans", sans-serif; font-family: "Open Sans", sans-serif;
@ -1382,6 +1361,10 @@ margin on the iframe, cause it breaks stuff. */
display: block; display: block;
} }
.site-footer {
margin-top: 3rem;
}
} }

View File

@ -23,10 +23,8 @@
</head> </head>
<body class="{{body_class}}"> <body class="{{body_class}}">
<div class="site-wrapper"> {{! Everything else gets inserted here }}
{{! Everything else gets inserted here }} {{{body}}}
{{{body}}}
</div>
<footer class="site-footer clearfix"> <footer class="site-footer clearfix">
<section class="copyright"><a href="{{@blog.url}}">{{@blog.title}}</a> &copy; {{date format="YYYY"}}</section> <section class="copyright"><a href="{{@blog.url}}">{{@blog.title}}</a> &copy; {{date format="YYYY"}}</section>