diff --git a/starter-template/README.md b/README.md similarity index 100% rename from starter-template/README.md rename to README.md diff --git a/carousel.html b/carousel.html deleted file mode 100644 index 7719e804b8..0000000000 --- a/carousel.html +++ /dev/null @@ -1,384 +0,0 @@ ---- -layout: example -title: Carousel template ---- - - - - - - - - - - - - - - - - - - -
- - -
-
- -

Heading

-

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.

-

View details »

-
-
- -

Heading

-

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.

-

View details »

-
-
- -

Heading

-

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.

-

View details »

-
-
- - - - -
- -
- -

First featurette heading. It'll blow your mind.

-

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.

-
- -
- -
- -

Oh yeah, it's that good. See for yourself.

-

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.

-
- -
- -
- -

And lastly, this one. Checkmate.

-

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.

-
- -
- - - - - - - -
diff --git a/carousel/example.css b/carousel/example.css new file mode 100644 index 0000000000..d31149b2ef --- /dev/null +++ b/carousel/example.css @@ -0,0 +1,136 @@ + +/* 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
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; + } + +} \ No newline at end of file diff --git a/carousel/index.html b/carousel/index.html new file mode 100644 index 0000000000..295e47bca0 --- /dev/null +++ b/carousel/index.html @@ -0,0 +1,172 @@ + + + + + + + + + Carousel template for Bootstrap + + + + + + + + + + + + + + + + + + + + +
+ + +
+
+ +

Heading

+

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.

+

View details »

+
+
+ +

Heading

+

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.

+

View details »

+
+
+ +

Heading

+

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.

+

View details »

+
+
+ + + + +
+ +
+ +

First featurette heading. It'll blow your mind.

+

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.

+
+ +
+ +
+ +

Oh yeah, it's that good. See for yourself.

+

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.

+
+ +
+ +
+ +

And lastly, this one. Checkmate.

+

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.

+
+ +
+ + + + + + + +
+ + \ No newline at end of file diff --git a/grid.html b/grid.html deleted file mode 100644 index 14e8ecdf67..0000000000 --- a/grid.html +++ /dev/null @@ -1,104 +0,0 @@ ---- -layout: example -title: Grid template ---- - - - - - -
- -

Bootstrap grids

-

Basic grid layouts to get you familiar with building within the Bootstrap grid system.

- -

Three equal columns

-
-
.col-lg-4
-
.col-lg-4
-
.col-lg-4
-
- -

Three unequal columns

-
-
.col-lg-3
-
.col-lg-6
-
.col-lg-3
-
- -

Two columns

-
-
.col-lg-8
-
.col-lg-4
-
- -

Full width, single column

-

No grid classes are necessary for full-width elements.

- -

Two columns with two nested columns

-
-
- .col-lg-8 -
-
.col-lg-6
-
.col-lg-6
-
-
-
.col-lg-4
-
- -

Mixed: mobile and desktop

-
-
.col-12 .col-lg-8
-
.col-6 .col-lg-4
-
-
-
.col-6 .col-lg-4
-
.col-6 .col-lg-4
-
.col-6 .col-lg-4
-
-
-
.col-6 .col-lg-6
-
.col-6 .col-lg-6
-
- -

Mixed: mobile, tablet, and desktop

-
-
.col-12 .col-lg-8
-
.col-6 .col-lg-4
-
-
-
.col-6 .col-lg-4
-
.col-6 .col-lg-4
-
.col-6 .col-lg-4
-
-
-
.col-6 .col-lg-6
-
.col-6 .col-lg-6
-
- - -
diff --git a/grid/example.css b/grid/example.css new file mode 100644 index 0000000000..c213ac6a73 --- /dev/null +++ b/grid/example.css @@ -0,0 +1,21 @@ +.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); +} diff --git a/grid/index.html b/grid/index.html new file mode 100644 index 0000000000..81ef11883f --- /dev/null +++ b/grid/index.html @@ -0,0 +1,92 @@ + + + + + + + + + Grid template for Bootstrap + + + + + + + + + +
+ +

Bootstrap grids

+

Basic grid layouts to get you familiar with building within the Bootstrap grid system.

+ +

Three equal columns

+
+
.col-lg-4
+
.col-lg-4
+
.col-lg-4
+
+ +

Three unequal columns

+
+
.col-lg-3
+
.col-lg-6
+
.col-lg-3
+
+ +

Two columns

+
+
.col-lg-8
+
.col-lg-4
+
+ +

Full width, single column

+

No grid classes are necessary for full-width elements.

+ +

Two columns with two nested columns

+
+
+ .col-lg-8 +
+
.col-lg-6
+
.col-lg-6
+
+
+
.col-lg-4
+
+ +

Mixed: mobile and desktop

+
+
.col-12 .col-lg-8
+
.col-6 .col-lg-4
+
+
+
.col-6 .col-lg-4
+
.col-6 .col-lg-4
+
.col-6 .col-lg-4
+
+
+
.col-6 .col-lg-6
+
.col-6 .col-lg-6
+
+ +

Mixed: mobile, tablet, and desktop

+
+
.col-12 .col-lg-8
+
.col-6 .col-lg-4
+
+
+
.col-6 .col-lg-4
+
.col-6 .col-lg-4
+
.col-6 .col-lg-4
+
+
+
.col-6 .col-lg-6
+
.col-6 .col-lg-6
+
+ +
+ + + diff --git a/jumbotron-narrow.html b/jumbotron-narrow.html deleted file mode 100644 index b94b000962..0000000000 --- a/jumbotron-narrow.html +++ /dev/null @@ -1,134 +0,0 @@ ---- -layout: example -title: Narrow page template ---- - - - - - - -
-
- -

Project name

-
- -
-

Jumbotron heading

-

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.

-

Sign up today

-
- -
-
-

Subheading

-

Donec id elit non mi porta gravida at eget metus. Maecenas faucibus mollis interdum.

- -

Subheading

-

Morbi leo risus, porta ac consectetur ac, vestibulum at eros. Cras mattis consectetur purus sit amet fermentum.

- -

Subheading

-

Maecenas sed diam eget risus varius blandit sit amet non magna.

-
- -
-

Subheading

-

Donec id elit non mi porta gravida at eget metus. Maecenas faucibus mollis interdum.

- -

Subheading

-

Morbi leo risus, porta ac consectetur ac, vestibulum at eros. Cras mattis consectetur purus sit amet fermentum.

- -

Subheading

-

Maecenas sed diam eget risus varius blandit sit amet non magna.

-
-
- - - -
diff --git a/jumbotron-narrow/example.css b/jumbotron-narrow/example.css new file mode 100644 index 0000000000..36a1d7cae9 --- /dev/null +++ b/jumbotron-narrow/example.css @@ -0,0 +1,78 @@ +/* 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; + } +} diff --git a/jumbotron-narrow/index.html b/jumbotron-narrow/index.html new file mode 100644 index 0000000000..3dd27ea7d6 --- /dev/null +++ b/jumbotron-narrow/index.html @@ -0,0 +1,67 @@ + + + + + + + + + Narrow Jumbotron template for Bootstrap + + + + + + + + + + +
+
+ +

Project name

+
+ +
+

Jumbotron heading

+

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.

+

Sign up today

+
+ +
+
+

Subheading

+

Donec id elit non mi porta gravida at eget metus. Maecenas faucibus mollis interdum.

+ +

Subheading

+

Morbi leo risus, porta ac consectetur ac, vestibulum at eros. Cras mattis consectetur purus sit amet fermentum.

+ +

Subheading

+

Maecenas sed diam eget risus varius blandit sit amet non magna.

+
+ +
+

Subheading

+

Donec id elit non mi porta gravida at eget metus. Maecenas faucibus mollis interdum.

+ +

Subheading

+

Morbi leo risus, porta ac consectetur ac, vestibulum at eros. Cras mattis consectetur purus sit amet fermentum.

+ +

Subheading

+

Maecenas sed diam eget risus varius blandit sit amet non magna.

+
+
+ + + +
+ + + diff --git a/jumbotron.html b/jumbotron.html deleted file mode 100644 index 897313449d..0000000000 --- a/jumbotron.html +++ /dev/null @@ -1,112 +0,0 @@ ---- -layout: example -title: Jumbotron template ---- - - - - - - -
- - -
-

Hello, world!

-

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.

-

Learn more »

-
- -
- - -
-
-

Heading

-

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.

-

View details »

-
-
-

Heading

-

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.

-

View details »

-
-
-

Heading

-

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.

-

View details »

-
-
- -
- - -
- -
diff --git a/jumbotron/example.css b/jumbotron/example.css new file mode 100644 index 0000000000..17d253be43 --- /dev/null +++ b/jumbotron/example.css @@ -0,0 +1,30 @@ +/* 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; + } +} \ No newline at end of file diff --git a/jumbotron/index.html b/jumbotron/index.html new file mode 100644 index 0000000000..ab81bc06ab --- /dev/null +++ b/jumbotron/index.html @@ -0,0 +1,95 @@ + + + + + + + + + Jumbotron template for Bootstrap + + + + + + + + + + + + +
+ + +
+

Hello, world!

+

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.

+

Learn more »

+
+ +
+ + +
+
+

Heading

+

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.

+

View details »

+
+
+

Heading

+

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.

+

View details »

+
+
+

Heading

+

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.

+

View details »

+
+
+ +
+ + +
+ +
+ + + \ No newline at end of file diff --git a/justified-nav.html b/justified-nav.html deleted file mode 100644 index edf8cfae62..0000000000 --- a/justified-nav.html +++ /dev/null @@ -1,145 +0,0 @@ ---- -layout: example -title: Justified nav template ---- - - - - - - -
- -
-

Project name

- -
- - -
-

Marketing stuff!

-

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.

-

Get started today

-
- - -
- - -
-
-

Heading

-

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.

-

View details »

-
-
-

Heading

-

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.

-

View details »

-
-
-

Heading

-

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.

-

View details »

-
-
- -
- - - - -
diff --git a/justified-nav/example.css b/justified-nav/example.css new file mode 100644 index 0000000000..89822eca26 --- /dev/null +++ b/justified-nav/example.css @@ -0,0 +1,81 @@ +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; + } +} diff --git a/justified-nav/index.html b/justified-nav/index.html new file mode 100644 index 0000000000..ca7b668385 --- /dev/null +++ b/justified-nav/index.html @@ -0,0 +1,73 @@ + + + + + + + + + Justified nav template for Bootstrap + + + + + + + + + + +
+ +
+

Project name

+ +
+ + +
+

Marketing stuff!

+

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.

+

Get started today

+
+ + +
+ + +
+
+

Heading

+

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.

+

View details »

+
+
+

Heading

+

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.

+

View details »

+
+
+

Heading

+

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.

+

View details »

+
+
+ +
+ + + + +
+ + + \ No newline at end of file diff --git a/navbar-fixed-top/example.css b/navbar-fixed-top/example.css new file mode 100644 index 0000000000..1e23e9e5f1 --- /dev/null +++ b/navbar-fixed-top/example.css @@ -0,0 +1,7 @@ +body { +padding-top: 60px; +} + +.jumbotron { +margin-top: 20px; +} \ No newline at end of file diff --git a/navbar-fixed-top.html b/navbar-fixed-top/index.html similarity index 81% rename from navbar-fixed-top.html rename to navbar-fixed-top/index.html index 2f73f08e46..468f54d969 100644 --- a/navbar-fixed-top.html +++ b/navbar-fixed-top/index.html @@ -1,21 +1,21 @@ ---- -layout: example -title: Fixed navbar template ---- + + + + + + + - - + + + + + + + diff --git a/navbar-static-top.html b/navbar-static-top.html deleted file mode 100644 index f227469001..0000000000 --- a/navbar-static-top.html +++ /dev/null @@ -1,64 +0,0 @@ ---- -layout: example -title: Static navbar template ---- - - - - - - - - - -
- - -
-

Navbar example

-

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.

-

- View navbar docs » -

-
- -
diff --git a/navbar-static-top/example.css b/navbar-static-top/example.css new file mode 100644 index 0000000000..0e34ecc699 --- /dev/null +++ b/navbar-static-top/example.css @@ -0,0 +1,3 @@ +.jumbotron { +margin-top: 30px; +} \ No newline at end of file diff --git a/navbar-static-top/index.html b/navbar-static-top/index.html new file mode 100644 index 0000000000..f6d313328b --- /dev/null +++ b/navbar-static-top/index.html @@ -0,0 +1,71 @@ + + + + + + + + + Static top navbar example for Bootstrap + + + + + + + + + + + + + + +
+ + +
+

Navbar example

+

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.

+

+ View navbar docs » +

+
+ +
+ + + \ No newline at end of file diff --git a/navbar.html b/navbar.html deleted file mode 100644 index f8b25482ee..0000000000 --- a/navbar.html +++ /dev/null @@ -1,67 +0,0 @@ ---- -layout: example -title: Navbar template ---- - - - - - -
- - - - - -
-

Navbar example

-

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.

-

- View navbar docs » -

-
- -
diff --git a/navbar/example.css b/navbar/example.css new file mode 100644 index 0000000000..f593a6bfca --- /dev/null +++ b/navbar/example.css @@ -0,0 +1,7 @@ +body { +padding: 30px; +} + +.navbar { +margin-bottom: 30px; +} \ No newline at end of file diff --git a/navbar/index.html b/navbar/index.html new file mode 100644 index 0000000000..8d6837b995 --- /dev/null +++ b/navbar/index.html @@ -0,0 +1,70 @@ + + + + + + + + + Navbar template for Bootstrap + + + + + + + + + + +
+ + + + + +
+

Navbar example

+

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.

+

+ View navbar docs » +

+
+ +
+ + + \ No newline at end of file diff --git a/offcanvas.html b/offcanvas.html deleted file mode 100644 index c93578e2bb..0000000000 --- a/offcanvas.html +++ /dev/null @@ -1,205 +0,0 @@ ---- -layout: example -title: Static navbar template ---- - - - - - - - - -
- -
-
- -
-

Hello, world!

-

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.

-
-
-
-

Heading

-

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.

-

View details »

-
-
-

Heading

-

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.

-

View details »

-
-
-

Heading

-

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.

-

View details »

-
-
-

Heading

-

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.

-

View details »

-
-
-

Heading

-

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.

-

View details »

-
-
-

Heading

-

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.

-

View details »

-
-
-
- -
- -
- - - -
diff --git a/offcanvas/example.css b/offcanvas/example.css new file mode 100644 index 0000000000..6dcd5ece14 --- /dev/null +++ b/offcanvas/example.css @@ -0,0 +1,100 @@ +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; + } +} \ No newline at end of file diff --git a/offcanvas/example.js b/offcanvas/example.js new file mode 100644 index 0000000000..12f2dff51d --- /dev/null +++ b/offcanvas/example.js @@ -0,0 +1,5 @@ +$(document).ready(function() { + $('[data-toggle=offcanvas]').click(function() { + $('.row-offcanvas').toggleClass('active'); + }); +}); \ No newline at end of file diff --git a/offcanvas/index.html b/offcanvas/index.html new file mode 100644 index 0000000000..319fcac700 --- /dev/null +++ b/offcanvas/index.html @@ -0,0 +1,114 @@ + + + + + + + + + Off canvas template for Bootstrap + + + + + + + + + + + + +
+ +
+
+ +
+

Hello, world!

+

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.

+
+
+
+

Heading

+

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.

+

View details »

+
+
+

Heading

+

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.

+

View details »

+
+
+

Heading

+

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.

+

View details »

+
+
+

Heading

+

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.

+

View details »

+
+
+

Heading

+

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.

+

View details »

+
+
+

Heading

+

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.

+

View details »

+
+
+
+ +
+ +
+ + + +
+ + + + + + + \ No newline at end of file diff --git a/signin.html b/signin.html deleted file mode 100644 index 92db3e0365..0000000000 --- a/signin.html +++ /dev/null @@ -1,68 +0,0 @@ ---- -layout: example -title: Sign in form template ---- - - - - - - -
- -
- - - - - -
- -
diff --git a/signin/example.css b/signin/example.css new file mode 100644 index 0000000000..a68420fadf --- /dev/null +++ b/signin/example.css @@ -0,0 +1,42 @@ +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; +} \ No newline at end of file diff --git a/signin/index.html b/signin/index.html new file mode 100644 index 0000000000..b62c02276b --- /dev/null +++ b/signin/index.html @@ -0,0 +1,35 @@ + + + + + + + + + Signin template for Bootstrap + + + + + + + + + + +
+ +
+ + + + + +
+ +
+ + + \ No newline at end of file diff --git a/sticky-footer-navbar.html b/sticky-footer-navbar.html deleted file mode 100644 index fe6681ef69..0000000000 --- a/sticky-footer-navbar.html +++ /dev/null @@ -1,114 +0,0 @@ ---- -layout: example -title: Sticky footer with navbar template ---- - - - - - - - -
- - - - - -
- -

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 #wrap with padding-top: 60px; on the .container.

-

Back to the default sticky footer minus the navbar.

-
-
- - diff --git a/sticky-footer-navbar/example.css b/sticky-footer-navbar/example.css new file mode 100644 index 0000000000..f12d7f3861 --- /dev/null +++ b/sticky-footer-navbar/example.css @@ -0,0 +1,52 @@ +/* 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%; +} \ No newline at end of file diff --git a/sticky-footer-navbar/index.html b/sticky-footer-navbar/index.html new file mode 100644 index 0000000000..e53186374f --- /dev/null +++ b/sticky-footer-navbar/index.html @@ -0,0 +1,71 @@ + + + + + + + + + Sticky footer navbar template for Bootstrap + + + + + + + + + + + +
+ + + + + +
+ +

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 #wrap with padding-top: 60px; on the .container.

+

Back to the default sticky footer minus the navbar.

+
+
+ + + + + \ No newline at end of file diff --git a/sticky-footer.html b/sticky-footer.html deleted file mode 100644 index 14fc1edebe..0000000000 --- a/sticky-footer.html +++ /dev/null @@ -1,79 +0,0 @@ ---- -layout: example -title: Sticky footer template ---- - - - - - - - -
- - -
- -

Pin a fixed-height footer to the bottom of the viewport in desktop browsers with this custom HTML and CSS.

-

Use the sticky footer with a fixed navbar if need be, too.

-
-
- - diff --git a/sticky-footer/example.css b/sticky-footer/example.css new file mode 100644 index 0000000000..3da136e7ca --- /dev/null +++ b/sticky-footer/example.css @@ -0,0 +1,48 @@ +/* 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; +} \ No newline at end of file diff --git a/sticky-footer/index.html b/sticky-footer/index.html new file mode 100644 index 0000000000..55865b5077 --- /dev/null +++ b/sticky-footer/index.html @@ -0,0 +1,40 @@ + + + + + + + + + Sticky footer template for Bootstrap + + + + + + + + + + + +
+ + +
+ +

Pin a fixed-height footer to the bottom of the viewport in desktop browsers with this custom HTML and CSS.

+

Use the sticky footer with a fixed navbar if need be, too.

+
+
+ + + + + \ No newline at end of file