mirror of
https://github.com/twbs/bootstrap.git
synced 2025-02-24 03:40:10 +00:00
revamp narrow jumbotron to avoid conflicts with docs .masthead
This commit is contained in:
parent
36aec5e484
commit
dba9eea98d
@ -12,7 +12,7 @@ title: Narrow page template
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* Everything but the jumbotron gets side spacing for mobile-first views */
|
/* Everything but the jumbotron gets side spacing for mobile-first views */
|
||||||
.masthead,
|
.header,
|
||||||
.marketing,
|
.marketing,
|
||||||
.footer {
|
.footer {
|
||||||
padding-left: 15px;
|
padding-left: 15px;
|
||||||
@ -20,11 +20,11 @@ title: Narrow page template
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* Custom page header */
|
/* Custom page header */
|
||||||
.masthead {
|
.header {
|
||||||
border-bottom: 1px solid #e5e5e5;
|
border-bottom: 1px solid #e5e5e5;
|
||||||
}
|
}
|
||||||
/* Make the masthead heading the same height as the navigation */
|
/* Make the masthead heading the same height as the navigation */
|
||||||
.masthead h3 {
|
.header h3 {
|
||||||
margin-top: 0;
|
margin-top: 0;
|
||||||
margin-bottom: 0;
|
margin-bottom: 0;
|
||||||
line-height: 40px;
|
line-height: 40px;
|
||||||
@ -64,14 +64,14 @@ title: Narrow page template
|
|||||||
/* Responsive: Portrait tablets and up */
|
/* Responsive: Portrait tablets and up */
|
||||||
@media screen and (min-width: 768px) {
|
@media screen and (min-width: 768px) {
|
||||||
/* Remove the padding we set earlier */
|
/* Remove the padding we set earlier */
|
||||||
.masthead,
|
.header,
|
||||||
.marketing,
|
.marketing,
|
||||||
.footer {
|
.footer {
|
||||||
padding-left: 0;
|
padding-left: 0;
|
||||||
padding-right: 0;
|
padding-right: 0;
|
||||||
}
|
}
|
||||||
/* Space out the masthead */
|
/* Space out the masthead */
|
||||||
.masthead {
|
.header {
|
||||||
margin-bottom: 30px;
|
margin-bottom: 30px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -80,7 +80,7 @@ title: Narrow page template
|
|||||||
|
|
||||||
|
|
||||||
<div class="container-narrow">
|
<div class="container-narrow">
|
||||||
<div class="masthead">
|
<div class="header">
|
||||||
<ul class="nav nav-pills pull-right">
|
<ul class="nav nav-pills pull-right">
|
||||||
<li class="active"><a href="#">Home</a></li>
|
<li class="active"><a href="#">Home</a></li>
|
||||||
<li><a href="#">About</a></li>
|
<li><a href="#">About</a></li>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user