0
0
mirror of https://github.com/twbs/bootstrap.git synced 2024-12-03 15:24:19 +01:00
Bootstrap/docs/examples/narrow-jumbotron/narrow-jumbotron.css

80 lines
1.4 KiB
CSS
Raw Normal View History

/* Space out content a bit */
body {
2014-12-04 10:10:26 +01:00
padding-top: 1.5rem;
padding-bottom: 1.5rem;
}
2013-08-18 07:51:00 +02:00
/* Everything but the jumbotron gets side spacing for mobile first views */
.header,
.marketing,
.footer {
2014-12-04 10:10:26 +01:00
padding-right: 1rem;
padding-left: 1rem;
}
/* Custom page header */
.header {
2014-12-04 10:10:26 +01:00
border-bottom: .05rem solid #e5e5e5;
}
/* Make the masthead heading the same height as the navigation */
.header h3 {
2014-12-04 10:10:26 +01:00
padding-bottom: 1.5rem;
margin-top: 0;
margin-bottom: 0;
2014-12-04 10:10:26 +01:00
line-height: 3rem;
}
/* Custom page footer */
.footer {
2014-12-04 10:10:26 +01:00
padding-top: 1.5rem;
color: #777;
2014-12-04 10:10:26 +01:00
border-top: .05rem solid #e5e5e5;
}
/* Customize container */
2014-12-04 10:10:26 +01:00
@media (min-width: 48em) {
.container {
2014-12-04 10:10:26 +01:00
max-width: 46rem;
}
}
.container-narrow > hr {
2014-12-04 10:10:26 +01:00
margin: 2rem 0;
}
/* Main marketing message and sign up button */
.jumbotron {
text-align: center;
2014-12-04 10:10:26 +01:00
border-bottom: .05rem solid #e5e5e5;
}
.jumbotron .btn {
2014-12-04 10:10:26 +01:00
padding: .75rem 1.5rem;
font-size: 1.5rem;
}
/* Supporting marketing content */
.marketing {
2014-12-04 10:10:26 +01:00
margin: 3rem 0;
}
.marketing p + h4 {
2014-12-04 10:10:26 +01:00
margin-top: 1.5rem;
}
/* Responsive: Portrait tablets and up */
2014-12-04 23:02:38 +01:00
@media screen and (min-width: 48em) {
/* Remove the padding we set earlier */
.header,
.marketing,
.footer {
padding-right: 0;
2014-01-31 13:20:33 +01:00
padding-left: 0;
}
/* Space out the masthead */
.header {
2014-12-04 10:10:26 +01:00
margin-bottom: 2rem;
}
/* Remove the bottom border on the jumbotron for visual effect */
.jumbotron {
border-bottom: 0;
}
}