diff --git a/carousel/carousel.css b/carousel/carousel.css new file mode 100644 index 0000000000..dd7dfc4248 --- /dev/null +++ b/carousel/carousel.css @@ -0,0 +1,134 @@ +/* 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: relative; + z-index: 15; +} + + + +/* CUSTOMIZE THE CAROUSEL +-------------------------------------------------- */ + +/* Carousel base class */ +.carousel { + margin-bottom: 60px; + + /* Negative margin to pull up carousel. 90px is roughly margins and height of navbar. */ + margin-top: -90px; +} +/* 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-inner > .item > 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; + } + /* 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; + } + +} diff --git a/carousel/index.html b/carousel/index.html new file mode 100644 index 0000000000..efb4bcf3cf --- /dev/null +++ b/carousel/index.html @@ -0,0 +1,182 @@ + + + + + + + + + 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.

+
+ +
+ + + + + + + +
+ + + + + + + + + + diff --git a/grid/grid.css b/grid/grid.css new file mode 100644 index 0000000000..c213ac6a73 --- /dev/null +++ b/grid/grid.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..bd86f4ab96 --- /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/index.html b/jumbotron-narrow/index.html new file mode 100644 index 0000000000..a34fbb92fa --- /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-narrow/jumbotron-narrow.css b/jumbotron-narrow/jumbotron-narrow.css new file mode 100644 index 0000000000..36a1d7cae9 --- /dev/null +++ b/jumbotron-narrow/jumbotron-narrow.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/index.html b/jumbotron/index.html new file mode 100644 index 0000000000..09bb122771 --- /dev/null +++ b/jumbotron/index.html @@ -0,0 +1,97 @@ + + + + + + + + + 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/jumbotron/jumbotron.css b/jumbotron/jumbotron.css new file mode 100644 index 0000000000..17d253be43 --- /dev/null +++ b/jumbotron/jumbotron.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/justified-nav/index.html b/justified-nav/index.html new file mode 100644 index 0000000000..f5fbc5851a --- /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/justified-nav/justified-nav.css b/justified-nav/justified-nav.css new file mode 100644 index 0000000000..89822eca26 --- /dev/null +++ b/justified-nav/justified-nav.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/navbar-fixed-top/index.html b/navbar-fixed-top/index.html new file mode 100644 index 0000000000..5a0e596af7 --- /dev/null +++ b/navbar-fixed-top/index.html @@ -0,0 +1,75 @@ + + + + + + + + + Fixed 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 » +

+
+ +
+ + + + + + + diff --git a/navbar-fixed-top/navbar-fixed-top.css b/navbar-fixed-top/navbar-fixed-top.css new file mode 100644 index 0000000000..1e23e9e5f1 --- /dev/null +++ b/navbar-fixed-top/navbar-fixed-top.css @@ -0,0 +1,7 @@ +body { +padding-top: 60px; +} + +.jumbotron { +margin-top: 20px; +} \ 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..25e9dcec40 --- /dev/null +++ b/navbar-static-top/index.html @@ -0,0 +1,76 @@ + + + + + + + + + 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 » +

+
+ +
+ + + + + + + diff --git a/navbar-static-top/navbar-static-top.css b/navbar-static-top/navbar-static-top.css new file mode 100644 index 0000000000..0e34ecc699 --- /dev/null +++ b/navbar-static-top/navbar-static-top.css @@ -0,0 +1,3 @@ +.jumbotron { +margin-top: 30px; +} \ No newline at end of file diff --git a/navbar/index.html b/navbar/index.html new file mode 100644 index 0000000000..689a0e35c5 --- /dev/null +++ b/navbar/index.html @@ -0,0 +1,75 @@ + + + + + + + + + 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 » +

+
+ +
+ + + + + + + diff --git a/navbar/navbar.css b/navbar/navbar.css new file mode 100644 index 0000000000..f593a6bfca --- /dev/null +++ b/navbar/navbar.css @@ -0,0 +1,7 @@ +body { +padding: 30px; +} + +.navbar { +margin-bottom: 30px; +} \ No newline at end of file diff --git a/offcanvas/index.html b/offcanvas/index.html new file mode 100644 index 0000000000..1092f2c1a3 --- /dev/null +++ b/offcanvas/index.html @@ -0,0 +1,116 @@ + + + + + + + + + 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/offcanvas/offcanvas.css b/offcanvas/offcanvas.css new file mode 100644 index 0000000000..27a075d76e --- /dev/null +++ b/offcanvas/offcanvas.css @@ -0,0 +1,48 @@ +/* + * Style twaks + * -------------------------------------------------- + */ +body { + padding-top: 70px; +} +footer { + padding-left: 15px; + padding-right: 15px; +} + +/* + * Off Canvas + * -------------------------------------------------- + */ +@media screen and (max-width: 768px) { + .row-offcanvas { + position: relative; + overflow: hidden // Needed for Internet Explorer + -webkit-transition: all 0.25s ease-out; + -moz-transition: all 0.25s ease-out; + transition: all 0.25s ease-out; + } + + .row-offcanvas-right + .sidebar-offcanvas { + right: -58.333333333333336%; // 6 columns + } + + .row-offcanvas-left + .sidebar-offcanvas { + left: -58.333333333333336%; // 6 columns + } + + .row-offcanvas-right.active { + right: 58.333333333333336%; // 6 columns + } + + .row-offcanvas-left.active { + left: 58.333333333333336%; // 6 columns + } + + .sidebar-offcanvas { + position: absolute; + width: 58.333333333333336%; // 6 columns + } +} \ No newline at end of file diff --git a/offcanvas/offcanvas.js b/offcanvas/offcanvas.js new file mode 100644 index 0000000000..12f2dff51d --- /dev/null +++ b/offcanvas/offcanvas.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/screenshots/carousel.png b/screenshots/carousel.png new file mode 100644 index 0000000000..725fe07b9e Binary files /dev/null and b/screenshots/carousel.png differ diff --git a/screenshots/grid.png b/screenshots/grid.png new file mode 100644 index 0000000000..cdc1c0726b Binary files /dev/null and b/screenshots/grid.png differ diff --git a/screenshots/jumbotron-narrow.png b/screenshots/jumbotron-narrow.png new file mode 100644 index 0000000000..4bca8cdafd Binary files /dev/null and b/screenshots/jumbotron-narrow.png differ diff --git a/screenshots/justified-nav.png b/screenshots/justified-nav.png new file mode 100644 index 0000000000..3d1e233891 Binary files /dev/null and b/screenshots/justified-nav.png differ diff --git a/screenshots/marketing.png b/screenshots/marketing.png new file mode 100644 index 0000000000..206e26e342 Binary files /dev/null and b/screenshots/marketing.png differ diff --git a/screenshots/navbar-fixed-top.png b/screenshots/navbar-fixed-top.png new file mode 100644 index 0000000000..30bfebfba2 Binary files /dev/null and b/screenshots/navbar-fixed-top.png differ diff --git a/screenshots/navbar-static-top.png b/screenshots/navbar-static-top.png new file mode 100644 index 0000000000..a965782d44 Binary files /dev/null and b/screenshots/navbar-static-top.png differ diff --git a/screenshots/navbar.png b/screenshots/navbar.png new file mode 100644 index 0000000000..dd1f7df0d3 Binary files /dev/null and b/screenshots/navbar.png differ diff --git a/screenshots/offcanvas.png b/screenshots/offcanvas.png new file mode 100644 index 0000000000..7e213f2af8 Binary files /dev/null and b/screenshots/offcanvas.png differ diff --git a/screenshots/signin.png b/screenshots/signin.png new file mode 100644 index 0000000000..c55bbd59de Binary files /dev/null and b/screenshots/signin.png differ diff --git a/screenshots/starter.png b/screenshots/starter.png new file mode 100644 index 0000000000..1bf4b85ece Binary files /dev/null and b/screenshots/starter.png differ diff --git a/screenshots/sticky-footer-navbar.png b/screenshots/sticky-footer-navbar.png new file mode 100644 index 0000000000..4ad0e86819 Binary files /dev/null and b/screenshots/sticky-footer-navbar.png differ diff --git a/screenshots/sticky-footer.png b/screenshots/sticky-footer.png new file mode 100644 index 0000000000..fb80e7b92f Binary files /dev/null and b/screenshots/sticky-footer.png differ diff --git a/signin/index.html b/signin/index.html new file mode 100644 index 0000000000..0b5d9bd950 --- /dev/null +++ b/signin/index.html @@ -0,0 +1,35 @@ + + + + + + + + + Signin Template for Bootstrap + + + + + + + + + + +
+ +
+ + + + + +
+ +
+ + + \ No newline at end of file diff --git a/signin/signin.css b/signin/signin.css new file mode 100644 index 0000000000..a68420fadf --- /dev/null +++ b/signin/signin.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/starter-template/index.html b/starter-template/index.html new file mode 100644 index 0000000000..08a2772084 --- /dev/null +++ b/starter-template/index.html @@ -0,0 +1,50 @@ + + + + + + + + + Starter Template for Bootstrap + + + + + + + + + + + + +
+ +
+

Bootstrap starter template

+

Use this document as a way to quickly start any new project.
All you get is this text and a mostly barebones HTML document.

+
+ +
+ + + + + \ No newline at end of file diff --git a/starter-template/starter-template.css b/starter-template/starter-template.css new file mode 100644 index 0000000000..4af7a6177f --- /dev/null +++ b/starter-template/starter-template.css @@ -0,0 +1,7 @@ +body { + padding-top: 50px; +} +.starter-template { + padding: 40px 15px; + text-align: center; +} diff --git a/sticky-footer-navbar/index.html b/sticky-footer-navbar/index.html new file mode 100644 index 0000000000..d5e033f58e --- /dev/null +++ b/sticky-footer-navbar/index.html @@ -0,0 +1,75 @@ + + + + + + + + + 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-navbar/sticky-footer-navbar.css b/sticky-footer-navbar/sticky-footer-navbar.css new file mode 100644 index 0000000000..f12d7f3861 --- /dev/null +++ b/sticky-footer-navbar/sticky-footer-navbar.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/index.html b/sticky-footer/index.html new file mode 100644 index 0000000000..13476cd118 --- /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 diff --git a/sticky-footer/sticky-footer.css b/sticky-footer/sticky-footer.css new file mode 100644 index 0000000000..3da136e7ca --- /dev/null +++ b/sticky-footer/sticky-footer.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