fixes #10372: two download buttons on homepage; also fixes broke button styles

This commit is contained in:
Mark Otto 2013-09-02 20:20:47 -07:00
parent 54b75ffae3
commit 49373b9b45
4 changed files with 13 additions and 8 deletions

View File

@ -13,7 +13,8 @@ port: 9001
# Custom vars
current_version: 3.0.0
repo: https://github.com/twbs/bootstrap
download: https://github.com/twbs/bootstrap/archive/v3.0.0.zip
download_source: https://github.com/twbs/bootstrap/archive/v3.0.0.zip
download_dist: https://github.com/twbs/bootstrap/releases/download/v3.0.0/bootstrap-3.0.0-dist.zip
blog: http://blog.getbootstrap.com

View File

@ -222,11 +222,8 @@ body {
line-height: 1;
color: #fff;
}
.bs-masthead .btn-outline {
margin-top: 20px;
margin-bottom: 20px;
padding: 18px 24px;
font-size: 21px;
.bs-masthead .btn-outline-inverse {
margin: 10px;
}
/* Links to project-level content like the repo, Expo, etc */
@ -260,6 +257,12 @@ body {
margin-right: 25%;
font-size: 30px;
}
.bs-masthead .btn-outline-inverse {
width: auto;
margin: 20px 5px 20px 0;
padding: 18px 24px;
font-size: 21px;
}
.bs-masthead-links {
padding: 0;
text-align: left;

View File

@ -22,7 +22,7 @@ base_url: "../"
<h3 id="download-additional">Additional downloads</h3>
<div class="bs-docs-dl-options">
<h4>
<a href="{{ site.download }}" onclick="_gaq.push(['_trackEvent', 'Getting started', 'Download', 'Download source']);">Download source code</a>
<a href="{{ site.download_source }}" onclick="_gaq.push(['_trackEvent', 'Getting started', 'Download', 'Download source']);">Download source code</a>
</h4>
<p>Get the latest Bootstrap CSS and JavaScript source code by downloading it directly from GitHub.</p>
<h4>

View File

@ -9,7 +9,8 @@ base_url: "./"
<h1>Bootstrap</h1>
<p class="lead">Sleek, intuitive, and powerful mobile first front-end framework for faster and easier web development.</p>
<p>
<a href="{{ site.download }}" class="btn btn-outline-inverse btn-lg" onclick="_gaq.push(['_trackEvent', 'Jumbotron actions', 'Download', 'Download {{ site.current_version }}']);">Download Bootstrap</a>
<a href="{{ site.download_dist }}" class="btn btn-outline-inverse btn-lg" onclick="_gaq.push(['_trackEvent', 'Jumbotron actions', 'Download', 'Download {{ site.current_version }}']);">Download Bootstrap</a>
<a href="{{ site.download_source }}" class="btn btn-outline-inverse btn-lg" onclick="_gaq.push(['_trackEvent', 'Jumbotron actions', 'Download', 'Download {{ site.current_version source }}']);">Download source</a>
</p>
</div>
</main>