Skip to content

Commit

Permalink
fixes #10372: two download buttons on homepage; also fixes broke butt…
Browse files Browse the repository at this point in the history
…on styles
  • Loading branch information
mdo committed Sep 3, 2013
1 parent 54b75ff commit 49373b9
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 8 deletions.
3 changes: 2 additions & 1 deletion _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
13 changes: 8 additions & 5 deletions assets/css/docs.css
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion getting-started.html
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ <h3 id="download-compiled">Compiled CSS, JS, and fonts</h3>
<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>
Expand Down
3 changes: 2 additions & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@
<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>

0 comments on commit 49373b9

Please sign in to comment.