2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-05-30 15:24:08 +03:00

quick docs patch for spacing, remove glyphicons homepage link, and add ads to homepage

This commit is contained in:
Mark Otto
2013-10-02 00:11:51 -05:00
parent 35a069466c
commit b79a2b3b7e
2 changed files with 42 additions and 17 deletions
+40 -14
View File
@@ -153,13 +153,11 @@ body {
*/
.bs-social {
margin-top: 20px;
margin-bottom: 20px;
text-align: center;
}
.bs-social-buttons {
display: inline-block;
margin-bottom: 0;
margin-bottom: 20px;
padding-left: 0;
list-style: none;
}
@@ -184,9 +182,6 @@ body {
.bs-social {
text-align: left;
}
.bs-social-buttons li:first-child {
padding-left: 0;
}
}
@@ -222,26 +217,23 @@ body {
line-height: 1;
color: #fff;
}
.bs-masthead .btn-outline {
.bs-masthead .btn-outline-inverse {
margin-top: 20px;
margin-bottom: 20px;
padding: 18px 24px;
font-size: 21px;
font-size: 24px;
}
/* Links to project-level content like the repo, Expo, etc */
.bs-masthead-links {
margin-top: 20px;
margin-bottom: 20px;
padding: 0 15px;
padding-left: 0;
list-style: none;
text-align: center;
}
.bs-masthead-links li {
display: inline;
}
.bs-masthead-links li + li {
margin-left: 20px;
display: inline-block;
padding: 4px 8px;
}
.bs-masthead-links a {
color: #fff;
@@ -378,6 +370,40 @@ body {
}
/* Homepage variations */
.bs-docs-home .carbonad {
margin: 0 -15px 40px !important;
}
@media screen and (min-width: 480px) {
.bs-docs-home .carbonad {
width: 330px !important;
margin: 0 auto 40px !important;
border-radius: 4px;
}
}
@media screen and (min-width: 768px) {
.bs-docs-home .carbonad {
float: left;
width: 330px !important;
margin: 0 0 30px !important;
}
.bs-docs-home .bs-social,
.bs-docs-home .bs-masthead-links {
margin-left: 350px;
}
}
@media screen and (min-width: 992px) {
.bs-docs-home .carbonad {
position: static;
}
}
@media screen and (min-width: 1170px) {
.bs-docs-home .carbonad {
margin-top: -25px !important;
}
}
/*
* Callout for 2.3.2 docs
*