diff --git a/docs/_includes/nav-getting-started.html b/docs/_includes/nav-getting-started.html index fd6f8c98b0d59fba2c244a5cdf3ac4b20e44de3f..305de607bdc7555b1598bab1bab68fcfc0cd125d 100644 --- a/docs/_includes/nav-getting-started.html +++ b/docs/_includes/nav-getting-started.html @@ -9,11 +9,7 @@ <a href="#whats-included">What's included</a> </li> <li> - <a href="#examples">Templates and examples</a> - <ul class="nav"> - <li><a href="#examples-template">HTML template</a></li> - <li><a href="#examples-list">List of examples</a></li> - </ul> + <a href="#template">Basic template</a> </li> <li> <a href="#customizing">Customizing Bootstrap</a> diff --git a/docs/_layouts/example.html b/docs/_layouts/example.html deleted file mode 100644 index 617fc8ab253efa35ab5f80f0265172a75c9d1079..0000000000000000000000000000000000000000 --- a/docs/_layouts/example.html +++ /dev/null @@ -1,17 +0,0 @@ -<!DOCTYPE html> -<html lang="en"> - <head> - <!-- Meta, title, CSS, favicons, etc. --> - {% include header.html %} - <!-- Place anything custom after this. --> - </head> - <body> - - <!-- Page content of course! --> - {{ content }} - - <!-- JS and analytics only. --> - {% include footer.html %} - - </body> -</html> diff --git a/docs/assets/img/examples/bootstrap-example-carousel.png b/docs/assets/img/examples/bootstrap-example-carousel.png deleted file mode 100644 index 725fe07b9e7ba77bc9b648c2f28a218e2815bd13..0000000000000000000000000000000000000000 Binary files a/docs/assets/img/examples/bootstrap-example-carousel.png and /dev/null differ diff --git a/docs/assets/img/examples/bootstrap-example-grid.png b/docs/assets/img/examples/bootstrap-example-grid.png deleted file mode 100644 index cdc1c0726bb77736eeb5a2223e808056af265cd0..0000000000000000000000000000000000000000 Binary files a/docs/assets/img/examples/bootstrap-example-grid.png and /dev/null differ diff --git a/docs/assets/img/examples/bootstrap-example-jumbotron-narrow.png b/docs/assets/img/examples/bootstrap-example-jumbotron-narrow.png deleted file mode 100644 index 4bca8cdafd36545ebbbc0b6264995592f42023fb..0000000000000000000000000000000000000000 Binary files a/docs/assets/img/examples/bootstrap-example-jumbotron-narrow.png and /dev/null differ diff --git a/docs/assets/img/examples/bootstrap-example-justified-nav.png b/docs/assets/img/examples/bootstrap-example-justified-nav.png deleted file mode 100644 index 3d1e233891ec79b11bd4d0977c96f3cb6de20e0d..0000000000000000000000000000000000000000 Binary files a/docs/assets/img/examples/bootstrap-example-justified-nav.png and /dev/null differ diff --git a/docs/assets/img/examples/bootstrap-example-marketing.png b/docs/assets/img/examples/bootstrap-example-marketing.png deleted file mode 100644 index 206e26e342488126aab5bdac12e6c4d01dd2a643..0000000000000000000000000000000000000000 Binary files a/docs/assets/img/examples/bootstrap-example-marketing.png and /dev/null differ diff --git a/docs/assets/img/examples/bootstrap-example-navbar-fixed-top.png b/docs/assets/img/examples/bootstrap-example-navbar-fixed-top.png deleted file mode 100644 index 30bfebfba25d6639ea95b8b2db46c0a86cc72aff..0000000000000000000000000000000000000000 Binary files a/docs/assets/img/examples/bootstrap-example-navbar-fixed-top.png and /dev/null differ diff --git a/docs/assets/img/examples/bootstrap-example-navbar-static-top.png b/docs/assets/img/examples/bootstrap-example-navbar-static-top.png deleted file mode 100644 index a965782d4470c71c80413c55a597149e88286510..0000000000000000000000000000000000000000 Binary files a/docs/assets/img/examples/bootstrap-example-navbar-static-top.png and /dev/null differ diff --git a/docs/assets/img/examples/bootstrap-example-navbar.png b/docs/assets/img/examples/bootstrap-example-navbar.png deleted file mode 100644 index dd1f7df0d31e89929a9dcf9afe935992af684434..0000000000000000000000000000000000000000 Binary files a/docs/assets/img/examples/bootstrap-example-navbar.png and /dev/null differ diff --git a/docs/assets/img/examples/bootstrap-example-offcanvas.png b/docs/assets/img/examples/bootstrap-example-offcanvas.png deleted file mode 100644 index 7e213f2af80e1cda09dfda0520f7cc03a9a427ea..0000000000000000000000000000000000000000 Binary files a/docs/assets/img/examples/bootstrap-example-offcanvas.png and /dev/null differ diff --git a/docs/assets/img/examples/bootstrap-example-signin.png b/docs/assets/img/examples/bootstrap-example-signin.png deleted file mode 100644 index c55bbd59deff4715d56fa92596aec942d5392179..0000000000000000000000000000000000000000 Binary files a/docs/assets/img/examples/bootstrap-example-signin.png and /dev/null differ diff --git a/docs/assets/img/examples/bootstrap-example-starter.png b/docs/assets/img/examples/bootstrap-example-starter.png deleted file mode 100644 index 1bf4b85ecef67d3b7416aea639fd15200a97ce76..0000000000000000000000000000000000000000 Binary files a/docs/assets/img/examples/bootstrap-example-starter.png and /dev/null differ diff --git a/docs/assets/img/examples/bootstrap-example-sticky-footer-navbar.png b/docs/assets/img/examples/bootstrap-example-sticky-footer-navbar.png deleted file mode 100644 index 4ad0e86819e27bbf4825554091e781a3baf83b34..0000000000000000000000000000000000000000 Binary files a/docs/assets/img/examples/bootstrap-example-sticky-footer-navbar.png and /dev/null differ diff --git a/docs/assets/img/examples/bootstrap-example-sticky-footer.png b/docs/assets/img/examples/bootstrap-example-sticky-footer.png deleted file mode 100644 index fb80e7b92f9d66eb27d41f9926b632dea4f2ca12..0000000000000000000000000000000000000000 Binary files a/docs/assets/img/examples/bootstrap-example-sticky-footer.png and /dev/null differ diff --git a/docs/examples/carousel.html b/docs/examples/carousel.html deleted file mode 100644 index 7719e804b844a0f02d3aacee8e88baaaa1013531..0000000000000000000000000000000000000000 --- a/docs/examples/carousel.html +++ /dev/null @@ -1,384 +0,0 @@ ---- -layout: example -title: Carousel template ---- - -<!-- Custom styles for this template --> -<style> - -/* GLOBAL STYLES --------------------------------------------------- */ -/* Padding below the footer and lighter body text */ - -body { - padding-bottom: 40px; - color: #5a5a5a; -} - - - -/* CUSTOMIZE THE NAVBAR --------------------------------------------------- */ - -/* Special class on .container surrounding .navbar, used for positioning it into place. */ -.navbar-wrapper { - position: absolute; - top: 0; - left: 0; - right: 0; - z-index: 10; -} - - - -/* CUSTOMIZE THE CAROUSEL --------------------------------------------------- */ - -/* Carousel base class */ -.carousel { - margin-bottom: 60px; -} -/* Since positioning the image, we need to help out the caption */ -.carousel-caption { - z-index: 10; -} - -/* Declare heights because of positioning of img element */ -.carousel .item { - height: 500px; -} -.carousel img { - position: absolute; - top: 0; - left: 0; - min-width: 100%; - height: 500px; -} - - - -/* MARKETING CONTENT --------------------------------------------------- */ - -/* Pad the edges of the mobile views a bit */ -.marketing { - padding-left: 15px; - padding-right: 15px; -} - -/* Center align the text within the three columns below the carousel */ -.marketing .col-lg-4 { - text-align: center; - margin-bottom: 20px; -} -.marketing h2 { - font-weight: normal; -} -.marketing .col-lg-4 p { - margin-left: 10px; - margin-right: 10px; -} - - -/* Featurettes -------------------------- */ - -.featurette-divider { - margin: 80px 0; /* Space out the Bootstrap <hr> more */ -} -.featurette { - padding-top: 120px; /* Vertically center images part 1: add padding above and below text. */ - overflow: hidden; /* Vertically center images part 2: clear their floats. */ -} -.featurette-image { - margin-top: -120px; /* Vertically center images part 3: negative margin up the image the same amount of the padding to center it. */ -} - -/* Give some space on the sides of the floated elements so text doesn't run right into it. */ -.featurette-image.pull-left { - margin-right: 40px; -} -.featurette-image.pull-right { - margin-left: 40px; -} - -/* Thin out the marketing headings */ -.featurette-heading { - font-size: 50px; - font-weight: 300; - line-height: 1; - letter-spacing: -1px; -} - - - -/* RESPONSIVE CSS --------------------------------------------------- */ - -@media (min-width: 768px) { - - /* Remve the edge padding needed for mobile */ - .marketing { - padding-left: 0; - padding-right: 0; - } - - /* Navbar positioning foo */ - .navbar-wrapper { - margin-top: 20px; - margin-bottom: -90px; /* Negative margin to pull up carousel. 90px is roughly margins and height of navbar. */ - } - /* The navbar becomes detached from the top, so we round the corners */ - .navbar-wrapper .navbar { - border-radius: 4px; - } - - /* Bump up size of carousel content */ - .carousel-caption p { - margin-bottom: 20px; - font-size: 21px; - line-height: 1.4; - } - -} - - -/*@media (max-width: 979px) { - - .container.navbar-wrapper { - margin-bottom: 0; - width: auto; - } - - .carousel .item { - height: 500px; - } - .carousel img { - width: auto; - height: 500px; - } - - .featurette { - height: auto; - padding: 0; - } - .featurette-image.pull-left, - .featurette-image.pull-right { - display: block; - float: none; - max-width: 40%; - margin: 0 auto 20px; - } -} - - -@media (max-width: 767px) { - - .carousel { - margin-left: -20px; - margin-right: -20px; - } - .carousel .container { - - } - .carousel .item { - height: 300px; - } - .carousel img { - height: 300px; - } - .carousel-caption { - width: 65%; - padding: 0 70px; - margin-top: 100px; - } - .carousel-caption h1 { - font-size: 30px; - } - .carousel-caption .lead, - .carousel-caption .btn { - font-size: 18px; - } - - .marketing .col-span-4 + .col-span-4 { - margin-top: 40px; - } - - .featurette-heading { - font-size: 30px; - } - .featurette .lead { - font-size: 18px; - line-height: 1.5; - } - - .navbar-wrapper { - margin-top: 0; - } - - .navbar { - border-radius: 0; - } - - #myCarousel { - margin-top: 54px; - } - -}*/ -</style> - - - -<!-- NAVBAR -================================================== --> -<div class="navbar-wrapper"> - <div class="container"> - - <div class="navbar navbar-inverse navbar-static-top"> - <div class="container"> - <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".nav-collapse"> - <span class="icon-bar"></span> - <span class="icon-bar"></span> - <span class="icon-bar"></span> - </button> - <a class="navbar-brand" href="#">Project name</a> - <div class="nav-collapse collapse"> - <ul class="nav navbar-nav"> - <li class="active"><a href="#">Home</a></li> - <li><a href="#about">About</a></li> - <li><a href="#contact">Contact</a></li> - <li class="dropdown"> - <a href="#" class="dropdown-toggle" data-toggle="dropdown">Dropdown <b class="caret"></b></a> - <ul class="dropdown-menu"> - <li><a href="#">Action</a></li> - <li><a href="#">Another action</a></li> - <li><a href="#">Something else here</a></li> - <li class="divider"></li> - <li class="nav-header">Nav header</li> - <li><a href="#">Separated link</a></li> - <li><a href="#">One more separated link</a></li> - </ul> - </li> - </ul> - </div> - </div> - </div> - - </div> -</div> - - -<!-- Carousel -================================================== --> -<div id="myCarousel" class="carousel slide"> - <!-- Indicators --> - <ol class="carousel-indicators"> - <li data-target="#myCarousel" data-slide-to="0" class="active"></li> - <li data-target="#myCarousel" data-slide-to="1"></li> - <li data-target="#myCarousel" data-slide-to="2"></li> - </ol> - <div class="carousel-inner"> - <div class="item active"> - <img data-src="holder.js/1500x500/auto/#777:#7a7a7a/text:First slide" alt=""> - <div class="container"> - <div class="carousel-caption"> - <h1>Example headline.</h1> - <p>Cras justo odio, dapibus ac facilisis in, egestas eget quam. Donec id elit non mi porta gravida at eget metus. Nullam id dolor id nibh ultricies vehicula ut id elit.</p> - <p><a class="btn btn-large btn-primary" href="#">Sign up today</a></p> - </div> - </div> - </div> - <div class="item"> - <img data-src="holder.js/1500x500/auto/#777:#7a7a7a/text:Second slide" alt=""> - <div class="container"> - <div class="carousel-caption"> - <h1>Another example headline.</h1> - <p>Cras justo odio, dapibus ac facilisis in, egestas eget quam. Donec id elit non mi porta gravida at eget metus. Nullam id dolor id nibh ultricies vehicula ut id elit.</p> - <p><a class="btn btn-large btn-primary" href="#">Learn more</a></p> - </div> - </div> - </div> - <div class="item"> - <img data-src="holder.js/1500x500/auto/#777:#7a7a7a/text:Third slide" alt=""> - <div class="container"> - <div class="carousel-caption"> - <h1>One more for good measure.</h1> - <p>Cras justo odio, dapibus ac facilisis in, egestas eget quam. Donec id elit non mi porta gravida at eget metus. Nullam id dolor id nibh ultricies vehicula ut id elit.</p> - <p><a class="btn btn-large btn-primary" href="#">Browse gallery</a></p> - </div> - </div> - </div> - </div> - <a class="left carousel-control" href="#myCarousel" data-slide="prev"><span class="glyphicon glyphicon-chevron-left"></span></a> - <a class="right carousel-control" href="#myCarousel" data-slide="next"><span class="glyphicon glyphicon-chevron-right"></span></a> -</div><!-- /.carousel --> - - - -<!-- Marketing messaging and featurettes -================================================== --> -<!-- Wrap the rest of the page in another container to center all the content. --> - -<div class="container marketing"> - - <!-- Three columns of text below the carousel --> - <div class="row"> - <div class="col-lg-4"> - <img class="img-circle" data-src="holder.js/140x140"> - <h2>Heading</h2> - <p>Donec sed odio dui. Etiam porta sem malesuada magna mollis euismod. Nullam id dolor id nibh ultricies vehicula ut id elit. Morbi leo risus, porta ac consectetur ac, vestibulum at eros. Praesent commodo cursus magna.</p> - <p><a class="btn btn-default" href="#">View details »</a></p> - </div><!-- /.col-lg-4 --> - <div class="col-lg-4"> - <img class="img-circle" data-src="holder.js/140x140"> - <h2>Heading</h2> - <p>Duis mollis, est non commodo luctus, nisi erat porttitor ligula, eget lacinia odio sem nec elit. Cras mattis consectetur purus sit amet fermentum. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh.</p> - <p><a class="btn btn-default" href="#">View details »</a></p> - </div><!-- /.col-lg-4 --> - <div class="col-lg-4"> - <img class="img-circle" data-src="holder.js/140x140"> - <h2>Heading</h2> - <p>Donec sed odio dui. Cras justo odio, dapibus ac facilisis in, egestas eget quam. Vestibulum id ligula porta felis euismod semper. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus.</p> - <p><a class="btn btn-default" href="#">View details »</a></p> - </div><!-- /.col-lg-4 --> - </div><!-- /.row --> - - - <!-- START THE FEATURETTES --> - - <hr class="featurette-divider"> - - <div class="featurette"> - <img class="featurette-image img-circle pull-right" data-src="holder.js/512x512"> - <h2 class="featurette-heading">First featurette heading. <span class="text-muted">It'll blow your mind.</span></h2> - <p class="lead">Donec ullamcorper nulla non metus auctor fringilla. Vestibulum id ligula porta felis euismod semper. Praesent commodo cursus magna, vel scelerisque nisl consectetur. Fusce dapibus, tellus ac cursus commodo.</p> - </div> - - <hr class="featurette-divider"> - - <div class="featurette"> - <img class="featurette-image img-circle pull-left" data-src="holder.js/512x512"> - <h2 class="featurette-heading">Oh yeah, it's that good. <span class="text-muted">See for yourself.</span></h2> - <p class="lead">Donec ullamcorper nulla non metus auctor fringilla. Vestibulum id ligula porta felis euismod semper. Praesent commodo cursus magna, vel scelerisque nisl consectetur. Fusce dapibus, tellus ac cursus commodo.</p> - </div> - - <hr class="featurette-divider"> - - <div class="featurette"> - <img class="featurette-image img-circle pull-right" data-src="holder.js/512x512"> - <h2 class="featurette-heading">And lastly, this one. <span class="text-muted">Checkmate.</span></h2> - <p class="lead">Donec ullamcorper nulla non metus auctor fringilla. Vestibulum id ligula porta felis euismod semper. Praesent commodo cursus magna, vel scelerisque nisl consectetur. Fusce dapibus, tellus ac cursus commodo.</p> - </div> - - <hr class="featurette-divider"> - - <!-- /END THE FEATURETTES --> - - - <!-- FOOTER --> - <footer> - <p class="pull-right"><a href="#">Back to top</a></p> - <p>© 2013 Company, Inc. · <a href="#">Privacy</a> · <a href="#">Terms</a></p> - </footer> - -</div><!-- /.container --> diff --git a/docs/examples/grid.html b/docs/examples/grid.html deleted file mode 100644 index 14e8ecdf67765a6ac73c3a9665c3b16bb79d7c45..0000000000000000000000000000000000000000 --- a/docs/examples/grid.html +++ /dev/null @@ -1,104 +0,0 @@ ---- -layout: example -title: Grid template ---- - -<!-- Custom styles for this template --> -<style> - - .container { - padding-left: 15px; - padding-right: 15px; - } - - h4 { - margin-top: 25px; - } - .row { - margin-bottom: 20px; - } - .row .row { - margin-top: 10px; - margin-bottom: 0; - } - [class*="col-lg-"] { - padding-top: 15px; - padding-bottom: 15px; - background-color: rgba(185,74,72,.15); - border: 1px solid rgba(185,74,72,.2); - } -</style> - - -<div class="container"> - - <h2>Bootstrap grids</h2> - <p class="lead">Basic grid layouts to get you familiar with building within the Bootstrap grid system.</p> - - <h4>Three equal columns</h4> - <div class="row"> - <div class="col-lg-4">.col-lg-4</div> - <div class="col-lg-4">.col-lg-4</div> - <div class="col-lg-4">.col-lg-4</div> - </div> - - <h4>Three unequal columns</h4> - <div class="row"> - <div class="col-lg-3">.col-lg-3</div> - <div class="col-lg-6">.col-lg-6</div> - <div class="col-lg-3">.col-lg-3</div> - </div> - - <h4>Two columns</h4> - <div class="row"> - <div class="col-lg-8">.col-lg-8</div> - <div class="col-lg-4">.col-lg-4</div> - </div> - - <h4>Full width, single column</h4> - <p class="text-warning">No grid classes are necessary for full-width elements.</p> - - <h4>Two columns with two nested columns</h4> - <div class="row"> - <div class="col-lg-8"> - .col-lg-8 - <div class="row"> - <div class="col-lg-6">.col-lg-6</div> - <div class="col-lg-6">.col-lg-6</div> - </div> - </div> - <div class="col-lg-4">.col-lg-4</div> - </div> - - <h4>Mixed: mobile and desktop</h4> - <div class="row"> - <div class="col-12 col-lg-8">.col-12 .col-lg-8</div> - <div class="col-6 col-lg-4">.col-6 .col-lg-4</div> - </div> - <div class="row"> - <div class="col-6 col-lg-4">.col-6 .col-lg-4</div> - <div class="col-6 col-lg-4">.col-6 .col-lg-4</div> - <div class="col-6 col-lg-4">.col-6 .col-lg-4</div> - </div> - <div class="row"> - <div class="col-6 col-lg-6">.col-6 .col-lg-6</div> - <div class="col-6 col-lg-6">.col-6 .col-lg-6</div> - </div> - - <h4>Mixed: mobile, tablet, and desktop</h4> - <div class="row"> - <div class="col-12 col-sm-8 col-lg-8">.col-12 .col-lg-8</div> - <div class="col-6 col-sm-4 col-lg-4">.col-6 .col-lg-4</div> - </div> - <div class="row"> - <div class="col-6 col-sm-4 col-lg-4">.col-6 .col-lg-4</div> - <div class="col-6 col-sm-4 col-lg-4">.col-6 .col-lg-4</div> - <div class="col-6 col-sm-4 col-lg-4">.col-6 .col-lg-4</div> - </div> - <div class="row"> - <div class="col-6 col-sm-6 col-lg-6">.col-6 .col-lg-6</div> - <div class="col-6 col-sm-6 col-lg-6">.col-6 .col-lg-6</div> - </div> - - -</div> <!-- /container --> diff --git a/docs/examples/jumbotron-narrow.html b/docs/examples/jumbotron-narrow.html deleted file mode 100644 index b94b0009621c532ba2683bd059d7fed88d678645..0000000000000000000000000000000000000000 --- a/docs/examples/jumbotron-narrow.html +++ /dev/null @@ -1,134 +0,0 @@ ---- -layout: example -title: Narrow page template ---- - -<!-- Custom styles for this template --> -<style> - /* Space out content a bit */ - body { - padding-top: 20px; - padding-bottom: 20px; - } - - /* Everything but the jumbotron gets side spacing for mobile-first views */ - .header, - .marketing, - .footer { - padding-left: 15px; - padding-right: 15px; - } - - /* Custom page header */ - .header { - border-bottom: 1px solid #e5e5e5; - } - /* Make the masthead heading the same height as the navigation */ - .header h3 { - margin-top: 0; - margin-bottom: 0; - line-height: 40px; - padding-bottom: 19px; - } - - /* Custom page footer */ - .footer { - padding-top: 19px; - color: #777; - border-top: 1px solid #e5e5e5; - } - - /* Custom container */ - .container-narrow { - margin: 0 auto; - max-width: 700px; - } - .container-narrow > hr { - margin: 30px 0; - } - - /* Main marketing message and sign up button */ - .jumbotron { - text-align: center; - border-bottom: 1px solid #e5e5e5; - } - .jumbotron .btn { - font-size: 21px; - padding: 14px 24px; - } - - /* Supporting marketing content */ - .marketing { - margin: 40px 0; - } - .marketing p + h4 { - margin-top: 28px; - } - - /* Responsive: Portrait tablets and up */ - @media screen and (min-width: 768px) { - /* Remove the padding we set earlier */ - .header, - .marketing, - .footer { - padding-left: 0; - padding-right: 0; - } - /* Space out the masthead */ - .header { - margin-bottom: 30px; - } - /* Remove the bottom border on the jumbotron for visual effect */ - .jumbotron { - border-bottom: 0; - } - } -</style> - - - -<div class="container-narrow"> - <div class="header"> - <ul class="nav nav-pills pull-right"> - <li class="active"><a href="#">Home</a></li> - <li><a href="#">About</a></li> - <li><a href="#">Contact</a></li> - </ul> - <h3 class="text-muted">Project name</h3> - </div> - - <div class="jumbotron"> - <h1>Jumbotron heading</h1> - <p class="lead">Cras justo odio, dapibus ac facilisis in, egestas eget quam. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus.</p> - <p><a class="btn btn-large btn-success" href="#">Sign up today</a></p> - </div> - - <div class="row marketing"> - <div class="col-lg-6"> - <h4>Subheading</h4> - <p>Donec id elit non mi porta gravida at eget metus. Maecenas faucibus mollis interdum.</p> - - <h4>Subheading</h4> - <p>Morbi leo risus, porta ac consectetur ac, vestibulum at eros. Cras mattis consectetur purus sit amet fermentum.</p> - - <h4>Subheading</h4> - <p>Maecenas sed diam eget risus varius blandit sit amet non magna.</p> - </div> - - <div class="col-lg-6"> - <h4>Subheading</h4> - <p>Donec id elit non mi porta gravida at eget metus. Maecenas faucibus mollis interdum.</p> - - <h4>Subheading</h4> - <p>Morbi leo risus, porta ac consectetur ac, vestibulum at eros. Cras mattis consectetur purus sit amet fermentum.</p> - - <h4>Subheading</h4> - <p>Maecenas sed diam eget risus varius blandit sit amet non magna.</p> - </div> - </div> - - <div class="footer"> - <p>© Company 2013</p> - </div> - -</div> <!-- /container --> diff --git a/docs/examples/jumbotron.html b/docs/examples/jumbotron.html deleted file mode 100644 index 897313449db0873e303843e25e811a713821bb2f..0000000000000000000000000000000000000000 --- a/docs/examples/jumbotron.html +++ /dev/null @@ -1,112 +0,0 @@ ---- -layout: example -title: Jumbotron template ---- - -<!-- Custom styles for this template --> -<style> - /* Move down content because we have a fixed navbar that is 50px tall */ - body { - padding-top: 50px; - padding-bottom: 20px; - } - - /* Set widths on the navbar form inputs since otherwise they're 100% wide */ - .navbar-form input[type="text"], - .navbar-form input[type="password"] { - width: 180px; - } - - /* Wrapping element */ - /* Set some basic padding to keep content from hitting the edges */ - .body-content { - padding-left: 15px; - padding-right: 15px; - } - - /* Responsive: Portrait tablets and up */ - @media screen and (min-width: 768px) { - /* Let the jumbotron breathe */ - .jumbotron { - margin-top: 20px; - } - /* Remove padding from wrapping element since we kick in the grid classes here */ - .body-content { - padding: 0; - } - } -</style> - -<div class="navbar navbar-inverse navbar-fixed-top"> - <div class="container"> - <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".nav-collapse"> - <span class="icon-bar"></span> - <span class="icon-bar"></span> - <span class="icon-bar"></span> - </button> - <a class="navbar-brand" href="#">Project name</a> - <div class="nav-collapse collapse"> - <ul class="nav navbar-nav"> - <li class="active"><a href="#">Home</a></li> - <li><a href="#about">About</a></li> - <li><a href="#contact">Contact</a></li> - <li class="dropdown"> - <a href="#" class="dropdown-toggle" data-toggle="dropdown">Dropdown <b class="caret"></b></a> - <ul class="dropdown-menu"> - <li><a href="#">Action</a></li> - <li><a href="#">Another action</a></li> - <li><a href="#">Something else here</a></li> - <li class="divider"></li> - <li class="nav-header">Nav header</li> - <li><a href="#">Separated link</a></li> - <li><a href="#">One more separated link</a></li> - </ul> - </li> - </ul> - <form class="navbar-form form-inline pull-right"> - <input type="text" placeholder="Email"> - <input type="password" placeholder="Password"> - <button type="submit" class="btn">Sign in</button> - </form> - </div><!--/.nav-collapse --> - </div> -</div> - -<div class="container"> - - <!-- Main jumbotron for a primary marketing message or call to action --> - <div class="jumbotron"> - <h1>Hello, world!</h1> - <p>This is a template for a simple marketing or informational website. It includes a large callout called the hero unit and three supporting pieces of content. Use it as a starting point to create something more unique.</p> - <p><a class="btn btn-primary btn-large">Learn more »</a></p> - </div> - - <div class="body-content"> - - <!-- Example row of columns --> - <div class="row"> - <div class="col-lg-4"> - <h2>Heading</h2> - <p>Donec id elit non mi porta gravida at eget metus. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Etiam porta sem malesuada magna mollis euismod. Donec sed odio dui. </p> - <p><a class="btn btn-default" href="#">View details »</a></p> - </div> - <div class="col-lg-4"> - <h2>Heading</h2> - <p>Donec id elit non mi porta gravida at eget metus. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Etiam porta sem malesuada magna mollis euismod. Donec sed odio dui. </p> - <p><a class="btn btn-default" href="#">View details »</a></p> - </div> - <div class="col-lg-4"> - <h2>Heading</h2> - <p>Donec sed odio dui. Cras justo odio, dapibus ac facilisis in, egestas eget quam. Vestibulum id ligula porta felis euismod semper. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus.</p> - <p><a class="btn btn-default" href="#">View details »</a></p> - </div> - </div> - - <hr> - - <footer> - <p>© Company 2013</p> - </footer> - </div> - -</div> <!-- /container --> diff --git a/docs/examples/justified-nav.html b/docs/examples/justified-nav.html deleted file mode 100644 index edf8cfae624041f5e7557839a433c17ec47b3932..0000000000000000000000000000000000000000 --- a/docs/examples/justified-nav.html +++ /dev/null @@ -1,145 +0,0 @@ ---- -layout: example -title: Justified nav template ---- - -<!-- Custom styles for this template --> -<style> - - body { - padding-top: 20px; - } - - /* Everything but the jumbotron gets side spacing for mobile-first views */ - .masthead, - .body-content, - .footer { - padding-left: 15px; - padding-right: 15px; - } - - .footer { - border-top: 1px solid #ddd; - margin-top: 30px; - padding-top: 29px; - padding-bottom: 30px; - } - - /* Main marketing message and sign up button */ - .jumbotron { - text-align: center; - background-color: transparent; - } - .jumbotron .btn { - font-size: 21px; - padding: 14px 24px; - } - - /* Customize the nav-justified links to be fill the entire space of the .navbar */ - .nav-justified { - max-height: 50px; - background-color: #eee; - border-radius: 5px; - border: 1px solid #ccc; - } - .nav-justified > li > a { - padding-top: 15px; - padding-bottom: 15px; - color: #777; - font-weight: bold; - text-align: center; - border-left: 1px solid rgba(255,255,255,.75); - border-right: 1px solid rgba(0,0,0,.1); - background-color: #e5e5e5; /* Old browsers */ - background-repeat: repeat-x; /* Repeat the gradient */ - background-image: -moz-linear-gradient(top, #f5f5f5 0%, #e5e5e5 100%); /* FF3.6+ */ - background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#f5f5f5), color-stop(100%,#e5e5e5)); /* Chrome,Safari4+ */ - background-image: -webkit-linear-gradient(top, #f5f5f5 0%,#e5e5e5 100%); /* Chrome 10+,Safari 5.1+ */ - background-image: -ms-linear-gradient(top, #f5f5f5 0%,#e5e5e5 100%); /* IE10+ */ - background-image: -o-linear-gradient(top, #f5f5f5 0%,#e5e5e5 100%); /* Opera 11.10+ */ - filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f5f5f5', endColorstr='#e5e5e5',GradientType=0 ); /* IE6-9 */ - background-image: linear-gradient(top, #f5f5f5 0%,#e5e5e5 100%); /* W3C */ - } - .nav-justified > .active > a { - background-color: #ddd; - background-image: none; - box-shadow: inset 0 3px 7px rgba(0,0,0,.15); - } - .nav-justified > li:first-child > a { - border-left: 0; - border-top-left-radius: 5px; - border-bottom-left-radius: 5px; - } - .nav-justified > li:last-child > a { - border-right: 0; - border-top-right-radius: 5px; - border-bottom-right-radius: 5px; - } - - - /* Responsive: Portrait tablets and up */ - @media screen and (min-width: 768px) { - /* Remove the padding we set earlier */ - .masthead, - .marketing, - .footer { - padding-left: 0; - padding-right: 0; - } - } - -</style> - - - -<div class="container"> - - <div class="masthead"> - <h3 class="text-muted">Project name</h3> - <ul class="nav navbar-nav nav-justified"> - <li class="active"><a href="#">Home</a></li> - <li><a href="#">Projects</a></li> - <li><a href="#">Services</a></li> - <li><a href="#">Downloads</a></li> - <li><a href="#">About</a></li> - <li><a href="#">Contact</a></li> - </ul> - </div> - - <!-- Jumbotron --> - <div class="jumbotron"> - <h1>Marketing stuff!</h1> - <p class="lead">Cras justo odio, dapibus ac facilisis in, egestas eget quam. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet.</p> - <p><a class="btn btn-large btn-success" href="#">Get started today</a></p> - </div> - - - <div class="body-content"> - - <!-- Example row of columns --> - <div class="row"> - <div class="col-lg-4"> - <h2>Heading</h2> - <p>Donec id elit non mi porta gravida at eget metus. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Etiam porta sem malesuada magna mollis euismod. Donec sed odio dui. </p> - <p><a class="btn btn-default" href="#">View details »</a></p> - </div> - <div class="col-lg-4"> - <h2>Heading</h2> - <p>Donec id elit non mi porta gravida at eget metus. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Etiam porta sem malesuada magna mollis euismod. Donec sed odio dui. </p> - <p><a class="btn btn-default" href="#">View details »</a></p> - </div> - <div class="col-lg-4"> - <h2>Heading</h2> - <p>Donec sed odio dui. Cras justo odio, dapibus ac facilisis in, egestas eget quam. Vestibulum id ligula porta felis euismod semper. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa.</p> - <p><a class="btn btn-default" href="#">View details »</a></p> - </div> - </div> - - </div><!-- /.body-content --> - - <!-- Site footer --> - <div class="footer"> - <p>© Company 2013</p> - </div> - -</div> <!-- /container --> diff --git a/docs/examples/navbar-fixed-top.html b/docs/examples/navbar-fixed-top.html deleted file mode 100644 index 2f73f08e46d3042510a89342733f84894c0ef0ce..0000000000000000000000000000000000000000 --- a/docs/examples/navbar-fixed-top.html +++ /dev/null @@ -1,67 +0,0 @@ ---- -layout: example -title: Fixed navbar template ---- - -<!-- Custom styles for this template --> -<style> - - body { - padding-top: 60px; - } - - .jumbotron { - margin-top: 20px; - } - -</style> - - - <!-- Fixed navbar --> - <div class="navbar navbar-fixed-top"> - <div class="container"> - <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".nav-collapse"> - <span class="icon-bar"></span> - <span class="icon-bar"></span> - <span class="icon-bar"></span> - </button> - <a class="navbar-brand" href="#">Project name</a> - <div class="nav-collapse collapse"> - <ul class="nav navbar-nav"> - <li class="active"><a href="#">Home</a></li> - <li><a href="#about">About</a></li> - <li><a href="#contact">Contact</a></li> - <li class="dropdown"> - <a href="#" class="dropdown-toggle" data-toggle="dropdown">Dropdown <b class="caret"></b></a> - <ul class="dropdown-menu"> - <li><a href="#">Action</a></li> - <li><a href="#">Another action</a></li> - <li><a href="#">Something else here</a></li> - <li class="divider"></li> - <li class="nav-header">Nav header</li> - <li><a href="#">Separated link</a></li> - <li><a href="#">One more separated link</a></li> - </ul> - </li> - </ul> - <ul class="nav navbar-nav pull-right"> - <li><a href="/examples/navbar/">Default</a></li> - <li><a href="/examples/navbar-static-top/">Static top</a></li> - <li class="active"><a href="/examples/navbar-fixed-top/">Fixed top</a></li> - </ul> - </div><!--/.nav-collapse --> - </div> - </div> - - <div class="container"> - - <!-- Main component for a primary marketing message or call to action --> - <div class="jumbotron"> - <h1>Navbar example</h1> - <p>This example is a quick exercise to illustrate how the default, static navbar and fixed to top navbar work. It includes the responsive CSS and HTML, so it also adapts to your viewport and device.</p> - <p> - <a class="btn btn-large btn-primary" href="../../docs/#navbar">View navbar docs »</a> - </p> - </div> - - </div> <!-- /container --> diff --git a/docs/examples/navbar-static-top.html b/docs/examples/navbar-static-top.html deleted file mode 100644 index f2274690010525f0cff632edcbe650facff78271..0000000000000000000000000000000000000000 --- a/docs/examples/navbar-static-top.html +++ /dev/null @@ -1,64 +0,0 @@ ---- -layout: example -title: Static navbar template ---- - -<!-- Custom styles for this template --> -<style> - - .jumbotron { - margin-top: 30px; - } - -</style> - - -<!-- Static navbar --> -<div class="navbar navbar-static-top"> - <div class="container"> - <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".nav-collapse"> - <span class="icon-bar"></span> - <span class="icon-bar"></span> - <span class="icon-bar"></span> - </button> - <a class="navbar-brand" href="#">Project name</a> - <div class="nav-collapse collapse"> - <ul class="nav navbar-nav"> - <li class="active"><a href="#">Home</a></li> - <li><a href="#about">About</a></li> - <li><a href="#contact">Contact</a></li> - <li class="dropdown"> - <a href="#" class="dropdown-toggle" data-toggle="dropdown">Dropdown <b class="caret"></b></a> - <ul class="dropdown-menu"> - <li><a href="#">Action</a></li> - <li><a href="#">Another action</a></li> - <li><a href="#">Something else here</a></li> - <li class="divider"></li> - <li class="nav-header">Nav header</li> - <li><a href="#">Separated link</a></li> - <li><a href="#">One more separated link</a></li> - </ul> - </li> - </ul> - <ul class="nav navbar-nav pull-right"> - <li><a href="/examples/navbar/">Default</a></li> - <li class="active"><a href="/examples/navbar-static-top/">Static top</a></li> - <li><a href="/examples/navbar-fixed-top/">Fixed top</a></li> - </ul> - </div><!--/.nav-collapse --> - </div> -</div> - - -<div class="container"> - - <!-- Main component for a primary marketing message or call to action --> - <div class="jumbotron"> - <h1>Navbar example</h1> - <p>This example is a quick exercise to illustrate how the default, static navbar and fixed to top navbar work. It includes the responsive CSS and HTML, so it also adapts to your viewport and device.</p> - <p> - <a class="btn btn-large btn-primary" href="../../docs/#navbar">View navbar docs »</a> - </p> - </div> - -</div> <!-- /container --> diff --git a/docs/examples/navbar.html b/docs/examples/navbar.html deleted file mode 100644 index f8b25482ee894f7eeb91ecf247dd89ff113243ca..0000000000000000000000000000000000000000 --- a/docs/examples/navbar.html +++ /dev/null @@ -1,67 +0,0 @@ ---- -layout: example -title: Navbar template ---- - -<!-- Custom styles for this template --> -<style> - - body { - padding: 30px; - } - - .navbar { - margin-bottom: 30px; - } - -</style> - - -<div class="container"> - - <!-- Static navbar --> - <div class="navbar"> - <div class="container"> - <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".nav-collapse"> - <span class="icon-bar"></span> - <span class="icon-bar"></span> - <span class="icon-bar"></span> - </button> - <a class="navbar-brand" href="#">Project name</a> - <div class="nav-collapse collapse"> - <ul class="nav navbar-nav"> - <li class="active"><a href="#">Home</a></li> - <li><a href="#about">About</a></li> - <li><a href="#contact">Contact</a></li> - <li class="dropdown"> - <a href="#" class="dropdown-toggle" data-toggle="dropdown">Dropdown <b class="caret"></b></a> - <ul class="dropdown-menu"> - <li><a href="#">Action</a></li> - <li><a href="#">Another action</a></li> - <li><a href="#">Something else here</a></li> - <li class="divider"></li> - <li class="nav-header">Nav header</li> - <li><a href="#">Separated link</a></li> - <li><a href="#">One more separated link</a></li> - </ul> - </li> - </ul> - <ul class="nav navbar-nav pull-right"> - <li class="active"><a href="/examples/navbar/">Default</a></li> - <li><a href="/examples/navbar-static-top/">Static top</a></li> - <li><a href="/examples/navbar-fixed-top/">Fixed top</a></li> - </ul> - </div><!--/.nav-collapse --> - </div> - </div> - - <!-- Main component for a primary marketing message or call to action --> - <div class="jumbotron"> - <h1>Navbar example</h1> - <p>This example is a quick exercise to illustrate how the default, static navbar and fixed to top navbar work. It includes the responsive CSS and HTML, so it also adapts to your viewport and device.</p> - <p> - <a class="btn btn-large btn-primary" href="../../docs/#navbar">View navbar docs »</a> - </p> - </div> - -</div> <!-- /container --> diff --git a/docs/examples/offcanvas.html b/docs/examples/offcanvas.html deleted file mode 100644 index c93578e2bb432ff83a21fee5de9fbff0aedd8a02..0000000000000000000000000000000000000000 --- a/docs/examples/offcanvas.html +++ /dev/null @@ -1,205 +0,0 @@ ---- -layout: example -title: Static navbar template ---- - -<!-- Custom styles for this template --> -<style> - body { - padding-top: 80px; - } - footer { - padding-left: 15px; - padding-right: 15px; - } - - /* - * Off canvas - * -------------------------------------------------- */ - - .row-offcanvas { - position: relative; - overflow: hidden; - -webkit-transition: all 0.25s ease-out; - -moz-transition: all 0.25s ease-out; - transition: all 0.25s ease-out; - } - .row-offcanvas.active { - overflow: visible; - } - .row-offcanvas-right .sidebar-offcanvas { - right: -210px; /* 60px * 3.5 = very small phones like 240x320 HTC Wildfire */ - } - .row-offcanvas-left .sidebar-offcanvas { - left: -210px; /* 60px * 3.5 = very small phones like 240x320 HTC Wildfire */ - } - .row-offcanvas-right.active { - right: 210px; /* 60px * 3.5 = very small phones like 240x320 HTC Wildfire */ - } - .row-offcanvas-left.active { - left: 210px; /* 60px * 3.5 = very small phones like 240x320 HTC Wildfire */ - } - .sidebar-offcanvas { - position: absolute; - top: 0; - } - - @media screen and (max-width: 319px) { - /* This is here instead of being outside the media queries because when - * we exit "mobile land", the sidebar needs to be able to restore its - * originally authored ".col-lg-X" width. */ - .sidebar-offcanvas { - width: 210px; /* 60px * 3.5 = very small phones like 240x320 HTC Wildfire */ - } - } - - @media screen and (min-width: 320px) and (max-width: 480px) { - .row-offcanvas-right .sidebar-offcanvas { - right: -270px; /* 60px * 4.5 = average iPhones and Android phones */ - } - .row-offcanvas-left .sidebar-offcanvas { - left: -270px; /* 60px * 4.5 = average iPhones and Android phones */ - } - .row-offcanvas-right.active { - right: 270px; /* 60px * 4.5 = average iPhones and Android phones */ - } - .row-offcanvas-left.active { - left: 270px; /* 60px * 4.5 = average iPhones and Android phones */ - } - .sidebar-offcanvas { - width: 270px; /* 60px * 4.5 = average iPhones and Android phones */ - } - } - - /* Landscape phone to tablets - * -------------------------- */ - @media screen and (min-width: 481px) and (max-width: 767px) { - .row-offcanvas-right .sidebar-offcanvas { - right: -480px; /* 60px * 8 = Tablets and wider */ - } - .row-offcanvas-left .sidebar-offcanvas { - left: -480px; /* 60px * 8 = Tablets and wider */ - } - .row-offcanvas-right.active { - right: 480px; /* 60px * 8 = Tablets and wider */ - } - .row-offcanvas-left.active { - left: 480px; /* 60px * 8 = Tablets and wider */ - } - .sidebar-offcanvas { - width: 480px; /* 60px * 8 = Tablets and wider */ - } - } - - /* Tablets & above - * ---------------- */ - @media screen and (min-width: 768px) { - .row-offcanvas { - position: static; - overflow: visible; - } - .sidebar-offcanvas { - position: static; - } - .btn-offcanvas { - display: none; - } - } -</style> - -<script> - $(document).ready(function() { - $('[data-toggle=offcanvas]').click(function() { - $('.row-offcanvas').toggleClass('active'); - }); - }); -</script> - -<div class="navbar navbar-inverse navbar-fixed-top"> - <div class="container"> - <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".nav-collapse"> - <span class="icon-bar"></span> - <span class="icon-bar"></span> - <span class="icon-bar"></span> - </button> - <a class="navbar-brand" href="#">Project name</a> - <div class="nav-collapse collapse"> - <ul class="nav navbar-nav"> - <li class="active"><a href="#">Home</a></li> - <li><a href="#about">About</a></li> - <li><a href="#contact">Contact</a></li> - </ul> - </div><!--/.nav-collapse --> - </div> -</div> - -<div class="container"> - - <div class="row row-offcanvas row-offcanvas-right"> - <div class="col-lg-9"> - <p class="pull-right hidden-lg"> - <a href="#sidebar" class="btn btn-primary btn-offcanvas" data-toggle="offcanvas"><i class="glyphicon glyphicon-resize-horizontal"></i></a> - </p> - <div class="jumbotron"> - <h1>Hello, world!</h1> - <p>This is an example to show the potential of an offcanvas layout pattern in Bootstrap. Try some responsive-range viewport sizes to see it in action.</p> - </div> - <div class="row"> - <div class="col-sm-6 col-lg-4"> - <h2>Heading</h2> - <p>Donec id elit non mi porta gravida at eget metus. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Etiam porta sem malesuada magna mollis euismod. Donec sed odio dui. </p> - <p><a class="btn btn-default" href="#">View details »</a></p> - </div><!--/span--> - <div class="col-sm-6 col-lg-4"> - <h2>Heading</h2> - <p>Donec id elit non mi porta gravida at eget metus. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Etiam porta sem malesuada magna mollis euismod. Donec sed odio dui. </p> - <p><a class="btn btn-default" href="#">View details »</a></p> - </div><!--/span--> - <div class="col-sm-6 col-lg-4"> - <h2>Heading</h2> - <p>Donec id elit non mi porta gravida at eget metus. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Etiam porta sem malesuada magna mollis euismod. Donec sed odio dui. </p> - <p><a class="btn btn-default" href="#">View details »</a></p> - </div><!--/span--> - <div class="col-sm-6 col-lg-4"> - <h2>Heading</h2> - <p>Donec id elit non mi porta gravida at eget metus. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Etiam porta sem malesuada magna mollis euismod. Donec sed odio dui. </p> - <p><a class="btn btn-default" href="#">View details »</a></p> - </div><!--/span--> - <div class="col-sm-6 col-lg-4"> - <h2>Heading</h2> - <p>Donec id elit non mi porta gravida at eget metus. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Etiam porta sem malesuada magna mollis euismod. Donec sed odio dui. </p> - <p><a class="btn btn-default" href="#">View details »</a></p> - </div><!--/span--> - <div class="col-sm-6 col-lg-4"> - <h2>Heading</h2> - <p>Donec id elit non mi porta gravida at eget metus. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Etiam porta sem malesuada magna mollis euismod. Donec sed odio dui. </p> - <p><a class="btn btn-default" href="#">View details »</a></p> - </div><!--/span--> - </div><!--/row--> - </div><!--/span--> - <nav class="col-lg-3 sidebar-offcanvas" id="sidebar" role="navigation"> - <div class="well sidebar-nav"> - <ul class="nav nav-list"> - <li class="nav-header">Sidebar</li> - <li class="active"><a href="#">Link</a></li> - <li><a href="#">Link</a></li> - <li><a href="#">Link</a></li> - <li class="nav-header">Sidebar</li> - <li><a href="#">Link</a></li> - <li><a href="#">Link</a></li> - <li><a href="#">Link</a></li> - <li class="nav-header">Sidebar</li> - <li><a href="#">Link</a></li> - <li><a href="#">Link</a></li> - </ul> - </div><!--/.well --> - </nav><!--/span--> - </div><!--/row--> - - <hr> - - <footer> - <p>© Company 2012</p> - </footer> - -</div><!--/.container--> diff --git a/docs/examples/signin.html b/docs/examples/signin.html deleted file mode 100644 index 92db3e0365080d8992005812a55e8fa54f03582c..0000000000000000000000000000000000000000 --- a/docs/examples/signin.html +++ /dev/null @@ -1,68 +0,0 @@ ---- -layout: example -title: Sign in form template ---- - -<!-- Custom styles for this template --> -<style> - - body { - padding-top: 40px; - padding-bottom: 40px; - background-color: #eee; - } - - .form-signin { - max-width: 330px; - padding: 15px; - margin: 0 auto; - } - .form-signin .form-signin-heading, - .form-signin .checkbox { - margin-bottom: 10px; - } - .form-signin .checkbox { - font-weight: normal; - } - .form-signin input[type="text"], - .form-signin input[type="password"] { - position: relative; - font-size: 16px; - height: auto; - padding: 10px; - -webkit-box-sizing: border-box; - -moz-box-sizing: border-box; - box-sizing: border-box; - } - .form-signin input[type="text"]:focus, - .form-signin input[type="password"]:focus { - z-index: 2; - } - .form-signin input[type="text"] { - margin-bottom: -1px; - border-bottom-left-radius: 0; - border-bottom-right-radius: 0; - } - .form-signin input[type="password"] { - margin-bottom: 10px; - border-top-left-radius: 0; - border-top-right-radius: 0; - } - -</style> - - - -<div class="container"> - - <form class="form-signin"> - <h2 class="form-signin-heading">Please sign in</h2> - <input type="text" class="input-block-level" placeholder="Email address" autofocus> - <input type="password" class="input-block-level" placeholder="Password"> - <label class="checkbox"> - <input type="checkbox" value="remember-me"> Remember me - </label> - <button class="btn btn-large btn-primary btn-block" type="submit">Sign in</button> - </form> - -</div> <!-- /container --> diff --git a/docs/examples/starter-template.html b/docs/examples/starter-template.html deleted file mode 100644 index 18fdaf5fc3df00d7c81035ca61ad621731eb32c9..0000000000000000000000000000000000000000 --- a/docs/examples/starter-template.html +++ /dev/null @@ -1,43 +0,0 @@ ---- -layout: example -title: Starter template ---- - -<!-- Custom styles for this template --> -<style> - body { - padding-top: 50px; - } - .starter-template { - padding: 40px 15px; - text-align: center; - } -</style> - - -<div class="navbar navbar-inverse navbar-fixed-top"> - <div class="container"> - <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".nav-collapse"> - <span class="icon-bar"></span> - <span class="icon-bar"></span> - <span class="icon-bar"></span> - </button> - <a class="navbar-brand" href="#">Project name</a> - <div class="nav-collapse collapse"> - <ul class="nav navbar-nav"> - <li class="active"><a href="#">Home</a></li> - <li><a href="#about">About</a></li> - <li><a href="#contact">Contact</a></li> - </ul> - </div><!--/.nav-collapse --> - </div> -</div> - -<div class="container"> - - <div class="starter-template"> - <h1>Bootstrap starter template</h1> - <p class="lead">Use this document as a way to quickly start any new project.<br> All you get is this text and a mostly barebones HTML document.</p> - </div> - -</div><!-- /container --> diff --git a/docs/examples/sticky-footer-navbar.html b/docs/examples/sticky-footer-navbar.html deleted file mode 100644 index fe6681ef69cf66257e1efe7a2797674eb16ed9b0..0000000000000000000000000000000000000000 --- a/docs/examples/sticky-footer-navbar.html +++ /dev/null @@ -1,114 +0,0 @@ ---- -layout: example -title: Sticky footer with navbar template ---- - -<!-- Custom styles for this template --> -<style> - - /* 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; - } - - /* Lastly, apply responsive CSS fixes as necessary */ - @media (max-width: 767px) { - #footer { - margin-left: -20px; - margin-right: -20px; - padding-left: 20px; - padding-right: 20px; - } - } - - - - /* Custom page CSS - -------------------------------------------------- */ - /* Not required for template or sticky footer method. */ - - #wrap > .container { - padding: 60px 15px 0; - } - .container .credit { - margin: 20px 0; - } - - code { - font-size: 80%; - } - -</style> - - - -<!-- Wrap all page content here --> -<div id="wrap"> - - <!-- Fixed navbar --> - <div class="navbar navbar-fixed-top"> - <div class="container"> - <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".nav-collapse"> - <span class="icon-bar"></span> - <span class="icon-bar"></span> - <span class="icon-bar"></span> - </button> - <a class="navbar-brand" href="#">Project name</a> - <div class="nav-collapse collapse"> - <ul class="nav navbar-nav"> - <li class="active"><a href="#">Home</a></li> - <li><a href="#about">About</a></li> - <li><a href="#contact">Contact</a></li> - <li class="dropdown"> - <a href="#" class="dropdown-toggle" data-toggle="dropdown">Dropdown <b class="caret"></b></a> - <ul class="dropdown-menu"> - <li><a href="#">Action</a></li> - <li><a href="#">Another action</a></li> - <li><a href="#">Something else here</a></li> - <li class="divider"></li> - <li class="nav-header">Nav header</li> - <li><a href="#">Separated link</a></li> - <li><a href="#">One more separated link</a></li> - </ul> - </li> - </ul> - </div><!--/.nav-collapse --> - </div> - </div> - - <!-- Begin page content --> - <div class="container"> - <div class="page-header"> - <h1>Sticky footer with fixed navbar</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. A fixed navbar has been added within <code>#wrap</code> with <code>padding-top: 60px;</code> on the <code>.container</code>.</p> - <p>Back to <a href="../sticky-footer">the default sticky footer</a> minus the navbar.</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> diff --git a/docs/examples/sticky-footer.html b/docs/examples/sticky-footer.html deleted file mode 100644 index 14fc1edebe4eb84ea51d5d5844fba95f5ef6d48e..0000000000000000000000000000000000000000 --- a/docs/examples/sticky-footer.html +++ /dev/null @@ -1,79 +0,0 @@ ---- -layout: example -title: Sticky footer template ---- - -<!-- Custom styles for this template --> -<style> - - /* 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; - } - - /* Lastly, apply responsive CSS fixes as necessary */ - @media (max-width: 767px) { - #footer { - margin-left: -20px; - margin-right: -20px; - padding-left: 20px; - padding-right: 20px; - } - } - - /* 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; - } - -</style> - - - -<!-- 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> diff --git a/docs/getting-started.html b/docs/getting-started.html index 018c8ed0a010bb52e9b71bd531edafd2e74a22e0..f3258900eb50f9f5f8c893f8819ab86dfdbaf667 100644 --- a/docs/getting-started.html +++ b/docs/getting-started.html @@ -82,11 +82,11 @@ bootstrap/ </div> </div> - <!-- Examples + <!-- Template ================================================== --> - <div class="bs-docs-section" id="examples"> + <div class="bs-docs-section" id="template"> <div class="page-header"> - <h1>Templates and examples</h1> + <h1>Basic template</h1> </div> <p class="lead">Make use of a super basic HTML template, or dive into a few examples we've started for you. We encourage folks to iterate on these examples and not simply use them as an end result.</p> @@ -115,101 +115,10 @@ bootstrap/ </html> {% endhighlight %} - <h3 id="examples-list">Examples</h3> - <div class="bs-examples"> - <div class="row"> - <div class="col-lg-4"> - <a class="thumbnail" href="/examples/starter-template/" target="_blank"> - <img src="/assets/img/examples/bootstrap-example-starter.png" alt=""> - </a> - <h4>Starter template</h4> - <p>A barebones HTML page with Bootstrap's CSS and JavaScript included.</p> - </div> - <div class="col-lg-4"> - <a class="thumbnail" href="/examples/grid/" target="_blank"> - <img src="/assets/img/examples/bootstrap-example-grid.png" alt=""> - </a> - <h4>Basic grid layouts</h4> - <p>Simple grid layouts to familiarize you with using the Bootstrap grid system.</p> - </div> - <div class="col-lg-4"> - <a class="thumbnail" href="/examples/jumbotron/" target="_blank"> - <img src="/assets/img/examples/bootstrap-example-marketing.png" alt=""> - </a> - <h4>Basic marketing site</h4> - <p>Features a jumbotron for primary message and three supporting elements.</p> - </div> - </div> - <div class="row"> - <div class="col-lg-4"> - <a class="thumbnail" href="/examples/jumbotron-narrow/" target="_blank"> - <img src="/assets/img/examples/bootstrap-example-jumbotron-narrow.png" alt=""> - </a> - <h4>Narrow marketing</h4> - <p>Slim, lightweight marketing template for small projects or teams.</p> - </div> - <div class="col-lg-4"> - <a class="thumbnail" href="/examples/justified-nav/" target="_blank"> - <img src="/assets/img/examples/bootstrap-example-justified-nav.png" alt=""> - </a> - <h4>Justified nav</h4> - <p>Marketing page with equal-width navigation links in a modified navbar.</p> - </div> - <div class="col-lg-4"> - <a class="thumbnail" href="/examples/signin/" target="_blank"> - <img src="/assets/img/examples/bootstrap-example-signin.png" alt=""> - </a> - <h4>Sign in</h4> - <p>Barebones sign in form with custom, larger form controls and a flexible layout.</p> - </div> - </div> - <div class="row"> - <div class="col-lg-4"> - <a class="thumbnail" href="/examples/sticky-footer/" target="_blank"> - <img src="/assets/img/examples/bootstrap-example-sticky-footer.png" alt=""> - </a> - <h4>Sticky footer</h4> - <p>Pin a fixed-height footer to the bottom of the user's viewport.</p> - </div> - <div class="col-lg-4"> - <a class="thumbnail" href="/examples/sticky-footer-navbar/" target="_blank"> - <img src="/assets/img/examples/bootstrap-example-sticky-footer-navbar.png" alt=""> - </a> - <h4>Sticky footer w/ navbar</h4> - <p>Add a fixed navbar to the default sticky footer template.</p> - </div> - <div class="col-lg-4"> - <a class="thumbnail" href="/examples/carousel/" target="_blank"> - <img src="/assets/img/examples/bootstrap-example-carousel.png" alt=""> - </a> - <h4>Carousel jumbotron</h4> - <p>An interactive riff on the basic marketing site featuring a prominent carousel.</p> - </div> - </div> - <div class="row"> - <div class="col-lg-4"> - <a class="thumbnail" href="/examples/navbar/" target="_blank"> - <img src="/assets/img/examples/bootstrap-example-navbar.png" alt=""> - </a> - <h4>Navbar</h4> - <p>Basic template for showcasing how the navbar works.</p> - </div> - <div class="col-lg-4"> - <a class="thumbnail" href="/examples/navbar-static-top/" target="_blank"> - <img src="/assets/img/examples/bootstrap-example-navbar-static-top.png" alt=""> - </a> - <h4>Static top navbar</h4> - <p>Basic template for showcasing the static navbar variation.</p> - </div> - <div class="col-lg-4"> - <a class="thumbnail" href="/examples/navbar-fixed-top/" target="_blank"> - <img src="/assets/img/examples/bootstrap-example-navbar-fixed-top.png" alt=""> - </a> - <h4>Fixed top navbar</h4> - <p>Basic template for showcasing the fixed navbar variation.</p> - </div> - </div> - </div> + <hr> + + <h3>Looking for more example templates?</h3> + <p>Check out the new <a href="https://github.com/twbs/bootstrap-examples">Examples repository on GitHub</a>, or <a href="http://examples.getbootstrap.com">view them in your browser</a>. Included are over a dozen example templates for building with and extending Bootstrap.</p> </div> diff --git a/docs/index.html b/docs/index.html index 24a0220f2f19842b8d2e995f9b8d7c8b0281e150..fc8e85322a235f1c69780b43f795d8d5ff7a8c7a 100644 --- a/docs/index.html +++ b/docs/index.html @@ -22,7 +22,7 @@ title: Bootstrap <a href="http://github.com/twitter/bootstrap" onclick="_gaq.push(['_trackEvent', 'Jumbotron actions', 'Jumbotron links', 'GitHub project']);">GitHub project</a> </li> <li> - <a href="./getting-started/#examples" onclick="_gaq.push(['_trackEvent', 'Jumbotron actions', 'Jumbotron links', 'Examples']);">Examples</a> + <a href="http://examples.getbootstrap.com" onclick="_gaq.push(['_trackEvent', 'Jumbotron actions', 'Jumbotron links', 'Examples']);">Examples</a> </li> <li> <a href="http://expo.getbootstrap.com" onclick="_gaq.push(['_trackEvent', 'Jumbotron actions', 'Jumbotron links', 'Expo']);">Bootstrap Expo</a>