From 1eae48f39ea247ecf2ace509b9e713f0dcd44fe6 Mon Sep 17 00:00:00 2001 From: Tyler Renelle Date: Sun, 2 Sep 2012 23:42:48 -0400 Subject: [PATCH] Use bootstrap's homepage-style footer. revert here if causes problems, i don't know what i'm doing --- styles/app/index.styl | 48 ++++++++++++++++++--------- views/app/index.html | 76 +++++++++++++++++++++---------------------- 2 files changed, 71 insertions(+), 53 deletions(-) diff --git a/styles/app/index.styl b/styles/app/index.styl index dc1f21be6d..b1f40434ec 100644 --- a/styles/app/index.styl +++ b/styles/app/index.styl @@ -141,20 +141,38 @@ li:hover .task-meta-controls .hover-show float:left padding-right:10px -/* ------- Sticky Footer ------ */ -html, body {height: 100%;} +/* Footer +-------------------------------------------------- */ -#wrap {min-height: 100%;} +.footer ul li + list-style:none + float:left + padding-right:10px +.footer table td + vertical-align: top + +/* Bootstrap website boilerplate */ +.footer { + padding: 70px 0; + margin-top: 70px; + border-top: 1px solid #e5e5e5; + background-color: #f5f5f5; +} +.footer p { + margin-bottom: 0; + color: #777; +} +.footer-links { + margin: 10px 0; +} +.footer-links li { + display: inline; + margin-right: 10px; +} -#main - overflow:auto; - padding-bottom: 200px; /* must be same height as the footer */ - -#footer - position: relative; - margin-top: -200px; /* negative value of footer height */ - height: 200px; - clear:both; - -table.social-links td - vertical-align: top \ No newline at end of file +/* Customizations to make footer sticky */ +/*html, body {height: 100%;}*/ +#wrap {min-height: 100%;} +#main + /*overflow:auto;*/ + padding-bottom: 250px; /* don't know why this works, sticky footers are weird */ diff --git a/views/app/index.html b/views/app/index.html index 9e518b51f3..de844d54c9 100644 --- a/views/app/index.html +++ b/views/app/index.html @@ -147,47 +147,47 @@ -
- - - - - - - + - - - - {/} - - - + +