diff options
author | Thomas Park <thomas@thomaspark.me> | 2013-08-16 16:26:07 -0700 |
---|---|---|
committer | Thomas Park <thomas@thomaspark.me> | 2013-08-16 16:26:07 -0700 |
commit | 4fe37339653c909368ba772ea9214c0b2a511fee (patch) | |
tree | 7573a3ef5486c1397e3f267f856de0fb3a031177 /bower_components/bootstrap/examples/sticky-footer | |
parent | f9b56d31da29a641fcfdc33825ac84422eea2b84 (diff) |
update bootstrap to 3.0.0-rc2
Diffstat (limited to 'bower_components/bootstrap/examples/sticky-footer')
-rwxr-xr-x | bower_components/bootstrap/examples/sticky-footer/index.html | 41 | ||||
-rwxr-xr-x | bower_components/bootstrap/examples/sticky-footer/sticky-footer.css | 39 |
2 files changed, 80 insertions, 0 deletions
diff --git a/bower_components/bootstrap/examples/sticky-footer/index.html b/bower_components/bootstrap/examples/sticky-footer/index.html new file mode 100755 index 00000000..6a5a2062 --- /dev/null +++ b/bower_components/bootstrap/examples/sticky-footer/index.html @@ -0,0 +1,41 @@ +<!DOCTYPE html> +<html lang="en"> + <head> + <meta charset="utf-8"> + <meta name="viewport" content="width=device-width, initial-scale=1.0"> + <meta name="description" content=""> + <meta name="author" content=""> + <link rel="shortcut icon" href="../../assets/ico/favicon.png"> + + <title>Sticky Footer Template for Bootstrap</title> + + <!-- Bootstrap core CSS --> + <link href="../../dist/css/bootstrap.css" rel="stylesheet"> + + <!-- Custom styles for this template --> + <link href="sticky-footer.css" rel="stylesheet"> + </head> + + <body> + + <!-- Wrap all page content here --> + <div id="wrap"> + + <!-- Begin page content --> + <div class="container"> + <div class="page-header"> + <h1>Sticky footer</h1> + </div> + <p class="lead">Pin a fixed-height footer to the bottom of the viewport in desktop browsers with this custom HTML and CSS.</p> + <p>Use <a href="../sticky-footer-navbar">the sticky footer with a fixed navbar</a> if need be, too.</p> + </div> + </div> + + <div id="footer"> + <div class="container"> + <p class="text-muted credit">Example courtesy <a href="http://martinbean.co.uk">Martin Bean</a> and <a href="http://ryanfait.com/sticky-footer/">Ryan Fait</a>.</p> + </div> + </div> + + </body> +</html>
\ No newline at end of file diff --git a/bower_components/bootstrap/examples/sticky-footer/sticky-footer.css b/bower_components/bootstrap/examples/sticky-footer/sticky-footer.css new file mode 100755 index 00000000..45be6ccb --- /dev/null +++ b/bower_components/bootstrap/examples/sticky-footer/sticky-footer.css @@ -0,0 +1,39 @@ +/* Sticky footer styles +-------------------------------------------------- */ + +html, +body { + height: 100%; + /* The html and body elements cannot have any padding or margin. */ +} + +/* Wrapper for page content to push down footer */ +#wrap { + min-height: 100%; + height: auto !important; + height: 100%; + /* Negative indent footer by its height */ + margin: 0 auto -60px; + /* Pad bottom by footer height */ + padding: 0 0 60px; +} + +/* Set the fixed height of the footer here */ +#footer { + height: 60px; + background-color: #f5f5f5; +} + + +/* Custom page CSS +-------------------------------------------------- */ +/* Not required for template or sticky footer method. */ + +.container { + width: auto; + max-width: 680px; + padding: 0 15px; +} +.container .credit { + margin: 20px 0; +}
\ No newline at end of file |