mirror of
https://github.com/twbs/bootstrap.git
synced 2025-01-10 03:46:13 +01:00
quick docs patch for spacing, remove glyphicons homepage link, and add ads to homepage
This commit is contained in:
parent
35a069466c
commit
b79a2b3b7e
@ -15,6 +15,8 @@
|
|||||||
{{ content }}
|
{{ content }}
|
||||||
|
|
||||||
<footer class="container" role="contentinfo">
|
<footer class="container" role="contentinfo">
|
||||||
|
{% include ads.html %}
|
||||||
|
|
||||||
{% include social-buttons.html %}
|
{% include social-buttons.html %}
|
||||||
|
|
||||||
<ul class="bs-masthead-links">
|
<ul class="bs-masthead-links">
|
||||||
@ -30,9 +32,6 @@
|
|||||||
<li>
|
<li>
|
||||||
<a href="{{ page.base_url }}getting-started/#examples" onclick="_gaq.push(['_trackEvent', 'Jumbotron actions', 'Jumbotron links', 'Examples']);">Examples</a>
|
<a href="{{ page.base_url }}getting-started/#examples" onclick="_gaq.push(['_trackEvent', 'Jumbotron actions', 'Jumbotron links', 'Examples']);">Examples</a>
|
||||||
</li>
|
</li>
|
||||||
<li>
|
|
||||||
<a href="{{ page.base_url }}components/#glyphicons" onclick="_gaq.push(['_trackEvent', 'Jumbotron actions', 'Jumbotron links', 'Glyphicons']);">Glyphicons</a>
|
|
||||||
</li>
|
|
||||||
<li>
|
<li>
|
||||||
<a href="{{ site.expo }}" onclick="_gaq.push(['_trackEvent', 'Jumbotron actions', 'Jumbotron links', 'Expo']);">Expo</a>
|
<a href="{{ site.expo }}" onclick="_gaq.push(['_trackEvent', 'Jumbotron actions', 'Jumbotron links', 'Expo']);">Expo</a>
|
||||||
</li>
|
</li>
|
||||||
|
@ -153,13 +153,11 @@ body {
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
.bs-social {
|
.bs-social {
|
||||||
margin-top: 20px;
|
|
||||||
margin-bottom: 20px;
|
|
||||||
text-align: center;
|
text-align: center;
|
||||||
}
|
}
|
||||||
.bs-social-buttons {
|
.bs-social-buttons {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
margin-bottom: 0;
|
margin-bottom: 20px;
|
||||||
padding-left: 0;
|
padding-left: 0;
|
||||||
list-style: none;
|
list-style: none;
|
||||||
}
|
}
|
||||||
@ -184,9 +182,6 @@ body {
|
|||||||
.bs-social {
|
.bs-social {
|
||||||
text-align: left;
|
text-align: left;
|
||||||
}
|
}
|
||||||
.bs-social-buttons li:first-child {
|
|
||||||
padding-left: 0;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ -222,26 +217,23 @@ body {
|
|||||||
line-height: 1;
|
line-height: 1;
|
||||||
color: #fff;
|
color: #fff;
|
||||||
}
|
}
|
||||||
.bs-masthead .btn-outline {
|
.bs-masthead .btn-outline-inverse {
|
||||||
margin-top: 20px;
|
margin-top: 20px;
|
||||||
margin-bottom: 20px;
|
margin-bottom: 20px;
|
||||||
padding: 18px 24px;
|
padding: 18px 24px;
|
||||||
font-size: 21px;
|
font-size: 24px;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Links to project-level content like the repo, Expo, etc */
|
/* Links to project-level content like the repo, Expo, etc */
|
||||||
.bs-masthead-links {
|
.bs-masthead-links {
|
||||||
margin-top: 20px;
|
|
||||||
margin-bottom: 20px;
|
margin-bottom: 20px;
|
||||||
padding: 0 15px;
|
padding-left: 0;
|
||||||
list-style: none;
|
list-style: none;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
}
|
}
|
||||||
.bs-masthead-links li {
|
.bs-masthead-links li {
|
||||||
display: inline;
|
display: inline-block;
|
||||||
}
|
padding: 4px 8px;
|
||||||
.bs-masthead-links li + li {
|
|
||||||
margin-left: 20px;
|
|
||||||
}
|
}
|
||||||
.bs-masthead-links a {
|
.bs-masthead-links a {
|
||||||
color: #fff;
|
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
|
* Callout for 2.3.2 docs
|
||||||
*
|
*
|
||||||
|
Loading…
Reference in New Issue
Block a user