Skip to content

Commit 49373b9

Browse files
committed
fixes twbs#10372: two download buttons on homepage; also fixes broke button styles
1 parent 54b75ff commit 49373b9

File tree

4 files changed

+13
-8
lines changed

4 files changed

+13
-8
lines changed

_config.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@ port: 9001
1313
# Custom vars
1414
current_version: 3.0.0
1515
repo: https://github.com/twbs/bootstrap
16-
download: https://github.com/twbs/bootstrap/archive/v3.0.0.zip
16+
17+
download_source: https://github.com/twbs/bootstrap/archive/v3.0.0.zip
1718
download_dist: https://github.com/twbs/bootstrap/releases/download/v3.0.0/bootstrap-3.0.0-dist.zip
1819

1920
blog: http://blog.getbootstrap.com

assets/css/docs.css

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -222,11 +222,8 @@ body {
222222
line-height: 1;
223223
color: #fff;
224224
}
225-
.bs-masthead .btn-outline {
226-
margin-top: 20px;
227-
margin-bottom: 20px;
228-
padding: 18px 24px;
229-
font-size: 21px;
225+
.bs-masthead .btn-outline-inverse {
226+
margin: 10px;
230227
}
231228

232229
/* Links to project-level content like the repo, Expo, etc */
@@ -260,6 +257,12 @@ body {
260257
margin-right: 25%;
261258
font-size: 30px;
262259
}
260+
.bs-masthead .btn-outline-inverse {
261+
width: auto;
262+
margin: 20px 5px 20px 0;
263+
padding: 18px 24px;
264+
font-size: 21px;
265+
}
263266
.bs-masthead-links {
264267
padding: 0;
265268
text-align: left;

getting-started.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ <h3 id="download-compiled">Compiled CSS, JS, and fonts</h3>
2222
<h3 id="download-additional">Additional downloads</h3>
2323
<div class="bs-docs-dl-options">
2424
<h4>
25-
<a href="{{ site.download }}" onclick="_gaq.push(['_trackEvent', 'Getting started', 'Download', 'Download source']);">Download source code</a>
25+
<a href="{{ site.download_source }}" onclick="_gaq.push(['_trackEvent', 'Getting started', 'Download', 'Download source']);">Download source code</a>
2626
</h4>
2727
<p>Get the latest Bootstrap CSS and JavaScript source code by downloading it directly from GitHub.</p>
2828
<h4>

index.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@
99
<h1>Bootstrap</h1>
1010
<p class="lead">Sleek, intuitive, and powerful mobile first front-end framework for faster and easier web development.</p>
1111
<p>
12-
<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>
12+
<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>
13+
<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>
1314
</p>
1415
</div>
1516
</main>

0 commit comments

Comments
 (0)