diff options
| author | Mark Otto <[email protected]> | 2013-09-02 20:20:47 -0700 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2013-09-02 20:20:47 -0700 |
| commit | 49373b9b45facc07e6a99223021536c9878dd2b2 (patch) | |
| tree | fd12490980990ca388bba8f354546ddff177962b | |
| parent | 54b75ffae314f43e5502a81df252246c3fd8056b (diff) | |
| download | bootstrap-49373b9b45facc07e6a99223021536c9878dd2b2.tar.xz bootstrap-49373b9b45facc07e6a99223021536c9878dd2b2.zip | |
fixes #10372: two download buttons on homepage; also fixes broke button styles
| -rw-r--r-- | _config.yml | 3 | ||||
| -rw-r--r-- | assets/css/docs.css | 13 | ||||
| -rw-r--r-- | getting-started.html | 2 | ||||
| -rw-r--r-- | index.html | 3 |
4 files changed, 13 insertions, 8 deletions
diff --git a/_config.yml b/_config.yml index b93496ae0..3767148ea 100644 --- a/_config.yml +++ b/_config.yml @@ -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 diff --git a/assets/css/docs.css b/assets/css/docs.css index 4654230ce..cc5b6aa4d 100644 --- a/assets/css/docs.css +++ b/assets/css/docs.css @@ -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; diff --git a/getting-started.html b/getting-started.html index 026a39c35..79252dcca 100644 --- a/getting-started.html +++ b/getting-started.html @@ -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> diff --git a/index.html b/index.html index 71c34922e..9e8485e87 100644 --- a/index.html +++ b/index.html @@ -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> |
