Getting rid of sticky footer, adding wpbeginner ad

This commit is contained in:
Dave Gandy 2015-03-30 10:03:37 -04:00
parent cf57b82bd9
commit 135c3ef8ec
7 changed files with 29 additions and 25 deletions

View File

@ -1,6 +1,11 @@
<footer id="footer" class="footer hidden-print">
<div class="container text-center">
<div id="bsap_1298241" class="bsarocks bsap_b1146e3f9fa32a794fc6d2c7be47ece8"></div>
<div id="bsap_1298241" class="bsarocks bsap_b1146e3f9fa32a794fc6d2c7be47ece8">
<a href="http://www.wpbeginner.com/?utm_source=fontawesome_footer&utm_medium=banner&utm_campaign=fontawesome" title="Beginner's Guide to WordPress" target="_blank" rel="nofollow"
onClick="_gaq.push(['_trackEvent', 'Outbound Link', 'wpbeginner.com']);">
<img src="{{ page.relative_path }}assets/img/logo-wpbeginner.png" width="220" height="65" alt="">
</a>
</div>
<div>
<i class="fa fa-flag"></i> Font Awesome {{ site.fontawesome.version }}
<span class="hide-xs">&middot;</span><br class="hide-sm hide-md hide-lg">

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 51 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.2 KiB

View File

@ -3,6 +3,7 @@ div.bsap {
a {
display: inline-block !important;
border-bottom: inherit !important;
margin: 0 15px 20px !important;
}
a.adhere {
background: inherit !important;

View File

@ -1,9 +1,9 @@
#footer {
// #gradient > .vertical(@navbarInverseBackgroundHighlight, @navbarInverseBackground);
background-color: lighten(@fa-green, 2%);
border-top: 1px solid @jumbotron-border;
color: mix(@jumbotron-color, @fa-green, 60%);
text-shadow: 0 1px 0 rgba(0,0,0,0.15);
margin-top: 60px;
a {
color: mix(@jumbotron-color, @fa-green, 80%);
border-bottom: dotted 1px mix(@jumbotron-color, @fa-green, 60%);
@ -13,7 +13,10 @@
border-bottom: solid 1px @jumbotron-color;
}
}
.container { padding-top: 40px; }
.container {
padding-top: 50px;
padding-bottom: 55px;
}
.project { margin-top: 10px; }
}
@ -21,20 +24,20 @@
// Sticky Footer Styles
// --------------------
html, body { height: 100%; }
#wrap {
min-height: 100%;
height: auto !important;
height: 100%;
}
.sticky-footer();
.sticky-footer(@footer-height: 251px, @footer-margin: 60px) {
#wrap {
margin: 0 auto -(@footer-height);
padding: 0 0 (@footer-height + @footer-margin);
}
#footer { height: @footer-height; }
}
//html, body { height: 100%; }
//
//#wrap {
// min-height: 100%;
// height: auto !important;
// height: 100%;
//}
//
//.sticky-footer();
//
//.sticky-footer(@footer-height: 356px, @footer-margin: 60px) {
// #wrap {
// margin: 0 auto -(@footer-height);
// padding: 0 0 (@footer-height + @footer-margin);
// }
// #footer { height: @footer-height; }
//}

View File

@ -43,7 +43,5 @@
.action { width: 33%; }
}
.sticky-footer(271px, 60px);
.hide-sm { display: none; }
}

View File

@ -71,8 +71,5 @@
.tagline { margin-bottom: 10px; }
}
.sticky-footer(331px, 60px);
.hide-xs { display: none; }
}