1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-08-20 04:11:39 +02:00

rearrange some docs css

This commit is contained in:
Mark Otto
2014-12-23 22:56:45 -08:00
parent b500713dd2
commit 6011b4678b
2 changed files with 30 additions and 31 deletions

File diff suppressed because one or more lines are too long

View File

@@ -278,44 +278,43 @@ body {
padding-top: 2rem; padding-top: 2rem;
padding-bottom: 2rem; padding-bottom: 2rem;
margin-bottom: 2rem; margin-bottom: 2rem;
font-size: 1.25rem; text-align: center;
background-color: $bs-purple; background-color: $bs-purple;
}
.bs-docs-header h1 { .container {
margin-top: 0;
color: #fff;
}
.bs-docs-header p {
margin-bottom: 0;
font-weight: 300;
line-height: 1.4;
color: rgba(255,255,255,.65);
}
.bs-docs-header .container {
position: relative; position: relative;
} }
@media (min-width: 768px) { h1 {
.bs-docs-header { margin-top: 0;
font-size: 1.5rem; color: #fff;
text-align: left;
} }
.bs-docs-header h1 {
p {
margin-bottom: 0;
font-weight: 300;
color: rgba(255,255,255,.65);
}
@media (min-width: 768px) {
text-align: left;
h1 {
font-size: 4rem; font-size: 4rem;
line-height: 1; line-height: 1;
} }
} }
@media (min-width: 992px) { @media (min-width: 992px) {
.bs-docs-header {
padding-top: 4rem; padding-top: 4rem;
padding-bottom: 4rem; padding-bottom: 4rem;
}
.bs-docs-header h1, h1,
.bs-docs-header p { p {
margin-right: 380px; margin-right: 380px;
} }
} }
}
// //