aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2013-02-17 18:48:00 -0800
committerMark Otto <[email protected]>2013-02-17 18:48:00 -0800
commitc65063271a0744a35150cf0221342839b59c6ce3 (patch)
tree823d2dae6c608df1dd0910eb1ed7203db233ac71
parent34ca3d645a60ddd078bfeb742f2ca87d7c7df2b1 (diff)
downloadbootstrap-c65063271a0744a35150cf0221342839b59c6ce3.tar.xz
bootstrap-c65063271a0744a35150cf0221342839b59c6ce3.zip
revamp narrow jumbotron to avoid conflicts with docs .masthead
-rw-r--r--jumbotron-narrow.html12
1 files changed, 6 insertions, 6 deletions
diff --git a/jumbotron-narrow.html b/jumbotron-narrow.html
index 6a7390045..b2c037a9e 100644
--- a/jumbotron-narrow.html
+++ b/jumbotron-narrow.html
@@ -12,7 +12,7 @@ title: Narrow page template
}
/* Everything but the jumbotron gets side spacing for mobile-first views */
- .masthead,
+ .header,
.marketing,
.footer {
padding-left: 15px;
@@ -20,11 +20,11 @@ title: Narrow page template
}
/* Custom page header */
- .masthead {
+ .header {
border-bottom: 1px solid #e5e5e5;
}
/* Make the masthead heading the same height as the navigation */
- .masthead h3 {
+ .header h3 {
margin-top: 0;
margin-bottom: 0;
line-height: 40px;
@@ -64,14 +64,14 @@ title: Narrow page template
/* Responsive: Portrait tablets and up */
@media screen and (min-width: 768px) {
/* Remove the padding we set earlier */
- .masthead,
+ .header,
.marketing,
.footer {
padding-left: 0;
padding-right: 0;
}
/* Space out the masthead */
- .masthead {
+ .header {
margin-bottom: 30px;
}
}
@@ -80,7 +80,7 @@ title: Narrow page template
<div class="container-narrow">
- <div class="masthead">
+ <div class="header">
<ul class="nav nav-pills pull-right">
<li class="active"><a href="#">Home</a></li>
<li><a href="#">About</a></li>