0
0
mirror of https://github.com/twbs/bootstrap.git synced 2024-11-29 11:24:18 +01:00
Bootstrap/docs/examples/blog/blog.css

164 lines
2.2 KiB
CSS
Raw Normal View History

2013-12-12 01:45:41 +01:00
/*
* Globals
*/
body {
2013-12-15 20:33:06 +01:00
font-family: Georgia, "Times New Roman", Times, serif;
color: #555;
2013-12-12 01:45:41 +01:00
}
h1, .h1,
h2, .h2,
h3, .h3,
h4, .h4,
h5, .h5,
h6, .h6 {
margin-top: 0;
2014-01-31 13:20:33 +01:00
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
font-weight: normal;
2014-01-31 23:05:05 +01:00
color: #333;
2013-12-12 01:45:41 +01:00
}
2013-12-15 20:33:06 +01:00
2013-12-12 01:45:41 +01:00
/*
* Override Bootstrap's default container.
*/
@media (min-width: 1200px) {
.container {
width: 970px;
}
}
/*
* Masthead for nav
*/
.blog-masthead {
background-color: #428bca;
box-shadow: inset 0 -2px 5px rgba(0,0,0,.1);
}
/* Nav links */
.blog-nav-item {
position: relative;
display: inline-block;
padding: 10px;
font-weight: 500;
color: #cdddeb;
}
.blog-nav-item:hover,
.blog-nav-item:focus {
color: #fff;
text-decoration: none;
}
/* Active state gets a caret at the bottom */
.blog-nav .active {
color: #fff;
}
.blog-nav .active:after {
position: absolute;
bottom: 0;
left: 50%;
width: 0;
height: 0;
margin-left: -5px;
vertical-align: middle;
2014-01-31 13:20:33 +01:00
content: " ";
2013-12-12 01:45:41 +01:00
border-right: 5px solid transparent;
border-bottom: 5px solid;
2014-01-31 13:20:33 +01:00
border-left: 5px solid transparent;
2013-12-12 01:45:41 +01:00
}
/*
* Blog name and description
*/
.blog-header {
padding-top: 20px;
padding-bottom: 20px;
}
.blog-title {
margin-top: 30px;
margin-bottom: 0;
font-size: 60px;
font-weight: normal;
}
.blog-description {
font-size: 20px;
color: #999;
}
/*
* Main column and sidebar layout
*/
.blog-main {
2013-12-15 20:33:06 +01:00
font-size: 18px;
2013-12-12 01:45:41 +01:00
line-height: 1.5;
}
/* Sidebar modules for boxing content */
.sidebar-module {
padding: 15px;
margin: 0 -15px 15px;
}
.sidebar-module-inset {
padding: 15px;
background-color: #f5f5f5;
border-radius: 4px;
}
.sidebar-module-inset p:last-child,
.sidebar-module-inset ul:last-child,
.sidebar-module-inset ol:last-child {
margin-bottom: 0;
}
/* Pagination */
.pager {
margin-bottom: 60px;
text-align: left;
}
.pager > li > a {
width: 140px;
padding: 10px 20px;
text-align: center;
border-radius: 30px;
}
/*
* Blog posts
*/
.blog-post {
margin-bottom: 60px;
}
.blog-post-title {
margin-bottom: 5px;
font-size: 40px;
}
.blog-post-meta {
margin-bottom: 20px;
color: #999;
}
/*
* Footer
*/
.blog-footer {
padding: 40px 0;
color: #999;
text-align: center;
background-color: #f9f9f9;
border-top: 1px solid #e5e5e5;
}