1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-08-13 17:14:04 +02:00

header masthead changes

This commit is contained in:
Mark Otto
2014-01-13 22:59:09 -08:00
parent b776749507
commit c4b41ceae3
2 changed files with 6 additions and 3 deletions

View File

@@ -296,13 +296,14 @@ body {
/* Page headers */ /* Page headers */
.bs-header { .bs-header {
margin-bottom: 40px; margin-bottom: 40px;
padding: 30px 15px 40px; /* side padding builds on .container 15px, so 30px */
font-size: 20px; font-size: 20px;
} }
.bs-header h1 { .bs-header h1 {
margin-top: 0;
color: #fff; color: #fff;
} }
.bs-header p { .bs-header p {
margin-bottom: 0;
font-weight: 300; font-weight: 300;
line-height: 1.4; line-height: 1.4;
} }
@@ -312,6 +313,8 @@ body {
@media (min-width: 768px) { @media (min-width: 768px) {
.bs-header { .bs-header {
padding-top: 60px;
padding-bottom: 60px;
font-size: 24px; font-size: 24px;
text-align: left; text-align: left;
} }
@@ -402,7 +405,7 @@ body {
@media (min-width: 992px) { @media (min-width: 992px) {
.carbonad { .carbonad {
position: absolute; position: absolute;
top: 20px; top: 0;
right: 15px; /* 15px instead of 0 since box-sizing */ right: 15px; /* 15px instead of 0 since box-sizing */
padding: 15px !important; padding: 15px !important;
width: 330px !important; width: 330px !important;

File diff suppressed because one or more lines are too long