diff --git a/src/_includes/footer.html b/src/_includes/footer.html index ad6aab97f..522bb03d9 100644 --- a/src/_includes/footer.html +++ b/src/_includes/footer.html @@ -2,22 +2,21 @@
Font Awesome {{ site.fontawesome.version }} - · + ·
Created and Maintained by Dave Gandy
Font Awesome licensed under {{ site.fontawesome.license.font.version }} - · + ·
Code licensed under {{ site.fontawesome.license.code.version }} - · + ·
Documentation licensed under {{ site.fontawesome.license.documentation.version }}
Thanks to MaxCDN for providing the excellent BootstrapCDN for Font Awesome
- GitHub Project - · + GitHub Project · Issues
diff --git a/src/assets/less/site-3.0.0.less b/src/assets/less/site-3.0.0.less index c91b0b188..af97ff13e 100644 --- a/src/assets/less/site-3.0.0.less +++ b/src/assets/less/site-3.0.0.less @@ -20,5 +20,6 @@ @import "site/carbonad"; @import "site/responsive/screen-lg"; +@import "site/responsive/screen-md"; @import "site/responsive/screen-sm"; @import "site/responsive/screen-xs"; diff --git a/src/assets/less/site/bootstrap/jumbotron.less b/src/assets/less/site/bootstrap/jumbotron.less index f092a8d6c..f904ba1e4 100644 --- a/src/assets/less/site/bootstrap/jumbotron.less +++ b/src/assets/less/site/bootstrap/jumbotron.less @@ -3,6 +3,7 @@ border-bottom: 1px solid @red-dark; margin-bottom: 0; &, h1 { color: #fff; } + padding: 30px 0; #gradient > .directional(@red, mix(@red, @red-dark, 90%), -40deg); // background-color: @red; diff --git a/src/assets/less/site/footer.less b/src/assets/less/site/footer.less index ba8b832b2..0b458467d 100755 --- a/src/assets/less/site/footer.less +++ b/src/assets/less/site/footer.less @@ -24,19 +24,20 @@ // Sticky Footer Styles // -------------------- -@footer-height: 165px; -@footer-margin: 60px; - html, body { height: 100%; } #wrap { min-height: 100%; height: auto !important; height: 100%; - margin: 0 auto -(@footer-height); - padding: 0 0 (@footer-height + @footer-margin); } -#footer { - height: @footer-height; -} +.sticky-footer(); + +.sticky-footer(@footer-height: 165px, @footer-margin: 60px;) { + #wrap { + margin: 0 auto -(@footer-height); + padding: 0 0 (@footer-height + @footer-margin); + } + #footer { height: @footer-height; } +} \ No newline at end of file diff --git a/src/assets/less/site/responsive/screen-lg.less b/src/assets/less/site/responsive/screen-lg.less index 37b5ead98..cd92199b5 100644 --- a/src/assets/less/site/responsive/screen-lg.less +++ b/src/assets/less/site/responsive/screen-lg.less @@ -49,4 +49,6 @@ font-size: 26px; line-height: 36px; } + + .hide-lg { display: none; } } \ No newline at end of file diff --git a/src/assets/less/site/responsive/screen-md.less b/src/assets/less/site/responsive/screen-md.less new file mode 100644 index 000000000..bc46917fb --- /dev/null +++ b/src/assets/less/site/responsive/screen-md.less @@ -0,0 +1,3 @@ +@media (min-width: @screen-md) and (max-width: @screen-md-max) { + .hide-md { display: none; } +} diff --git a/src/assets/less/site/responsive/screen-sm.less b/src/assets/less/site/responsive/screen-sm.less index 4d2650ee9..38da1a024 100644 --- a/src/assets/less/site/responsive/screen-sm.less +++ b/src/assets/less/site/responsive/screen-sm.less @@ -43,5 +43,7 @@ } } + .sticky-footer(185px, 60px); + .hide-sm { display: none; } } diff --git a/src/assets/less/site/responsive/screen-xs.less b/src/assets/less/site/responsive/screen-xs.less index 96a93e5df..91fee5a6c 100644 --- a/src/assets/less/site/responsive/screen-xs.less +++ b/src/assets/less/site/responsive/screen-xs.less @@ -64,5 +64,7 @@ } .info-ad #carbonads-container .carbonad { margin-top: @buffer-lg; } + .sticky-footer(245px, 60px); + .hide-xs { display: none; } } \ No newline at end of file