2013-02-15 08:38:00 +01:00
---
layout: example
title: Narrow page template
---
<!-- Custom styles for this template -->
< style >
/* Space out content a bit */
body {
padding-top: 20px;
padding-bottom: 20px;
}
/* Everything but the jumbotron gets side spacing for mobile-first views */
2013-02-18 03:48:00 +01:00
.header,
2013-02-15 08:38:00 +01:00
.marketing,
.footer {
padding-left: 15px;
padding-right: 15px;
}
/* Custom page header */
2013-02-18 03:48:00 +01:00
.header {
2013-02-15 08:38:00 +01:00
border-bottom: 1px solid #e5e5e5;
}
/* Make the masthead heading the same height as the navigation */
2013-02-18 03:48:00 +01:00
.header h3 {
2013-02-15 08:38:00 +01:00
margin-top: 0;
margin-bottom: 0;
line-height: 40px;
padding-bottom: 19px;
}
2013-02-18 03:58:40 +01:00
/* Custom page footer */
.footer {
padding-top: 19px;
color: #777;
border-top: 1px solid #e5e5e5;
}
2013-02-15 08:38:00 +01:00
/* Custom container */
.container-narrow {
margin: 0 auto;
max-width: 700px;
}
.container-narrow > hr {
margin: 30px 0;
}
/* Main marketing message and sign up button */
.jumbotron {
text-align: center;
2013-02-18 04:04:38 +01:00
border-bottom: 1px solid #e5e5e5;
2013-02-15 08:38:00 +01:00
}
.jumbotron .btn {
font-size: 21px;
padding: 14px 24px;
}
/* Supporting marketing content */
.marketing {
margin: 40px 0;
}
.marketing p + h4 {
margin-top: 28px;
}
/* Responsive: Portrait tablets and up */
@media screen and (min-width: 768px) {
/* Remove the padding we set earlier */
2013-02-18 03:48:00 +01:00
.header,
2013-02-15 08:38:00 +01:00
.marketing,
.footer {
padding-left: 0;
padding-right: 0;
}
/* Space out the masthead */
2013-02-18 03:48:00 +01:00
.header {
2013-02-15 08:38:00 +01:00
margin-bottom: 30px;
}
2013-02-18 04:04:38 +01:00
/* Remove the bottom border on the jumbotron for visual effect */
.jumbotron {
border-bottom: 0;
}
2013-02-15 08:38:00 +01:00
}
< / style >
< div class = "container-narrow" >
2013-02-18 03:48:00 +01:00
< div class = "header" >
2013-02-15 08:38:00 +01:00
< ul class = "nav nav-pills pull-right" >
< li class = "active" > < a href = "#" > Home< / a > < / li >
< li > < a href = "#" > About< / a > < / li >
< li > < a href = "#" > Contact< / a > < / li >
< / ul >
2013-03-30 08:11:38 +01:00
< h3 class = "text-muted" > Project name< / h3 >
2013-02-15 08:38:00 +01:00
< / div >
< div class = "jumbotron" >
2013-02-18 04:04:38 +01:00
< h1 > Jumbotron heading< / h1 >
2013-02-15 08:38:00 +01:00
< p class = "lead" > Cras justo odio, dapibus ac facilisis in, egestas eget quam. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus.< / p >
< p > < a class = "btn btn-large btn-success" href = "#" > Sign up today< / a > < / p >
< / div >
< div class = "row marketing" >
2013-06-04 06:57:51 +02:00
< div class = "col-lg-6" >
2013-02-15 08:38:00 +01:00
< h4 > Subheading< / h4 >
< p > Donec id elit non mi porta gravida at eget metus. Maecenas faucibus mollis interdum.< / p >
< h4 > Subheading< / h4 >
< p > Morbi leo risus, porta ac consectetur ac, vestibulum at eros. Cras mattis consectetur purus sit amet fermentum.< / p >
< h4 > Subheading< / h4 >
< p > Maecenas sed diam eget risus varius blandit sit amet non magna.< / p >
< / div >
2013-06-04 06:57:51 +02:00
< div class = "col-lg-6" >
2013-02-15 08:38:00 +01:00
< h4 > Subheading< / h4 >
< p > Donec id elit non mi porta gravida at eget metus. Maecenas faucibus mollis interdum.< / p >
< h4 > Subheading< / h4 >
< p > Morbi leo risus, porta ac consectetur ac, vestibulum at eros. Cras mattis consectetur purus sit amet fermentum.< / p >
< h4 > Subheading< / h4 >
< p > Maecenas sed diam eget risus varius blandit sit amet non magna.< / p >
< / div >
< / div >
< div class = "footer" >
< p > © Company 2013< / p >
< / div >
< / div > <!-- /container -->