diff options
| author | Mark Otto <[email protected]> | 2013-08-16 10:58:28 -0700 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2013-08-16 10:58:28 -0700 |
| commit | 29fe7ed68402aee6c24949ed2509a415d179bb57 (patch) | |
| tree | f86469b19d1083b8cff4a89345f1758ca5704645 | |
| parent | 031703190c036c5a7ec43959b93ae1a42bae8fb8 (diff) | |
| download | bootstrap-29fe7ed68402aee6c24949ed2509a415d179bb57.tar.xz bootstrap-29fe7ed68402aee6c24949ed2509a415d179bb57.zip | |
fix up justified nav example
| -rw-r--r-- | examples/justified-nav/index.html | 8 | ||||
| -rw-r--r-- | examples/justified-nav/justified-nav.css | 15 | ||||
| -rw-r--r-- | examples/screenshots/justified-nav.jpg | bin | 0 -> 141141 bytes | |||
| -rw-r--r-- | getting-started.html | 11 |
4 files changed, 22 insertions, 12 deletions
diff --git a/examples/justified-nav/index.html b/examples/justified-nav/index.html index de9ce387e..21a97b708 100644 --- a/examples/justified-nav/index.html +++ b/examples/justified-nav/index.html @@ -21,7 +21,7 @@ <div class="masthead"> <h3 class="text-muted">Project name</h3> - <ul class="nav navbar-nav nav-justified"> + <ul class="nav nav-justified"> <li class="active"><a href="#">Home</a></li> <li><a href="#">Projects</a></li> <li><a href="#">Services</a></li> @@ -46,17 +46,17 @@ <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> + <p><a class="btn btn-primary" 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> + <p><a class="btn btn-primary" 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> + <p><a class="btn btn-primary" href="#">View details »</a></p> </div> </div> diff --git a/examples/justified-nav/justified-nav.css b/examples/justified-nav/justified-nav.css index 89822eca2..cabd36d16 100644 --- a/examples/justified-nav/justified-nav.css +++ b/examples/justified-nav/justified-nav.css @@ -4,17 +4,16 @@ body { /* 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; + border-top: 1px solid #eee; + margin-top: 40px; + padding-top: 40px; + padding-bottom: 40px; } /* Main marketing message and sign up button */ @@ -29,7 +28,7 @@ body { /* Customize the nav-justified links to be fill the entire space of the .navbar */ .nav-justified { - max-height: 50px; + max-height: 52px; background-color: #eee; border-radius: 5px; border: 1px solid #ccc; @@ -52,7 +51,9 @@ body { 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 { +.nav-justified > .active > a, +.nav-justified > .active > a:hover, +.nav-justified > .active > a:focus { background-color: #ddd; background-image: none; box-shadow: inset 0 3px 7px rgba(0,0,0,.15); diff --git a/examples/screenshots/justified-nav.jpg b/examples/screenshots/justified-nav.jpg Binary files differnew file mode 100644 index 000000000..01689c3ca --- /dev/null +++ b/examples/screenshots/justified-nav.jpg diff --git a/getting-started.html b/getting-started.html index 016ef4c3e..0c5c67c25 100644 --- a/getting-started.html +++ b/getting-started.html @@ -207,17 +207,26 @@ bootstrap/ <img src="../examples/screenshots/sticky-footer-navbar.jpg" alt=""> </a> <h4>Sticky footer with navbar</h4> - <p>Attach a footer to the bottom of the viewport along with a fixed navbar at the top.</p> + <p>Attach a footer to the bottom of the viewport with a fixed navbar at the top.</p> </div> <div class="clearfix visible-xs"></div> <div class="col-xs-6 col-md-4"> + <a class="thumbnail" href="../examples/justified-nav/"> + <img src="../examples/screenshots/justified-nav.jpg" alt=""> + </a> + <h4>Justified nav</h4> + <p>Expand on the default navbar and more to create justified navigation links.</p> + </div> + <div class="col-xs-6 col-md-4"> <a class="thumbnail" href="../examples/offcanvas/"> <img src="../examples/screenshots/offcanvas.jpg" alt=""> </a> <h4>Offcanvas</h4> <p>Build a toggleable off-canvas navigation menu for use with Bootstrap.</p> </div> + <div class="clearfix visible-xs"></div> + <div class="col-xs-6 col-md-4"> <a class="thumbnail" href="../examples/carousel/"> <img src="../examples/screenshots/carousel.jpg" alt=""> |
