aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2013-08-16 10:58:28 -0700
committerMark Otto <[email protected]>2013-08-16 10:58:28 -0700
commit29fe7ed68402aee6c24949ed2509a415d179bb57 (patch)
treef86469b19d1083b8cff4a89345f1758ca5704645 /examples
parent031703190c036c5a7ec43959b93ae1a42bae8fb8 (diff)
downloadbootstrap-29fe7ed68402aee6c24949ed2509a415d179bb57.tar.xz
bootstrap-29fe7ed68402aee6c24949ed2509a415d179bb57.zip
fix up justified nav example
Diffstat (limited to 'examples')
-rw-r--r--examples/justified-nav/index.html8
-rw-r--r--examples/justified-nav/justified-nav.css15
-rw-r--r--examples/screenshots/justified-nav.jpgbin0 -> 141141 bytes
3 files changed, 12 insertions, 11 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 &raquo;</a></p>
+ <p><a class="btn btn-primary" href="#">View details &raquo;</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 &raquo;</a></p>
+ <p><a class="btn btn-primary" href="#">View details &raquo;</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 &raquo;</a></p>
+ <p><a class="btn btn-primary" href="#">View details &raquo;</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
new file mode 100644
index 000000000..01689c3ca
--- /dev/null
+++ b/examples/screenshots/justified-nav.jpg
Binary files differ