Browse Source

clean up the version text under our download buttons.

pull/341/head
connors 11 years ago
parent
commit
9dc4bed7f7
  1. 2
      docs/_includes/download-module.html
  2. 11
      docs/assets/css/docs.css
  3. 6
      docs/dist/template.html
  4. 2
      docs/index.html
  5. 10
      sass/docs.scss

2
docs/_includes/download-module.html

@ -2,5 +2,5 @@
<h4 class="docs-module-title">Download Ratchet</h4>
<p>If you haven't already, download the source code for Ratchet.</p>
<a href="https://github.com/twbs/ratchet/archive/v2.0.0.zip" class="btn btn-block btn-primary" data-ignore="push" onClick="_gaq.push(['_trackEvent', 'Downloads', 'V2.0']);">Download Ratchet</a>
<p>Currently v2.0.0</p>
<p class="version">Currently v2.0.0</p>
</div>

11
docs/assets/css/docs.css

@ -56,6 +56,9 @@ body {
-moz-animation-duration: 2s;
animation-duration: 2s;
}
.docs-header .version {
color: rgba(255, 255, 255, 0.5);
}
.docs-masthead {
position: relative;
@ -300,6 +303,14 @@ body {
font-weight: 300;
}
.version {
margin-top: 15px;
margin-bottom: 0;
color: #777;
font-size: 90%;
text-align: center;
}
.docs-footer {
border-top: 1px solid #ddd;
margin-top: 50px;

6
docs/dist/template.html vendored

@ -52,7 +52,7 @@
</a>
</li>
<li class="table-view-cell">
<a class="push-right" href="https://goratchet.com">
<a class="push-right" href="https://github.com/twbs/ratchet/">
<strong>Ratchet on Github</strong>
</a>
</li>
@ -62,7 +62,7 @@
</a>
</li>
<li class="table-view-cell">
<a class="push-right" href="http://www.twitter.com/GoRatchet">
<a class="push-right" href="https://www.twitter.com/GoRatchet">
<strong>Ratchet on Twitter</strong>
</a>
</li>
@ -71,4 +71,4 @@
</div>
</body>
</html>
</html>

2
docs/index.html

@ -8,7 +8,7 @@ title: Ratchet
<div class="docs-header-content">
<p class="docs-subtitle">Build mobile apps with simple HTML&#8218; CSS&#8218; and JS components.</p>
<a data-ignore="push" href="https://github.com/twbs/ratchet/archive/v2.0.0.zip" class="btn btn-primary" onClick="_gaq.push(['_trackEvent', 'Downloads', 'V2.0']);">Download Ratchet</a>
<p>Currently v2.0.0</p>
<p class="version">Currently v2.0.0</p>
</div>
{% include ad.html %}

10
sass/docs.scss

@ -54,6 +54,9 @@ body {
@include animation-name(fadeintext);
@include animation-duration(2s);
}
.version {
color: rgba(255,255,255,.5)
}
}
// Masthead
@ -286,6 +289,13 @@ body {
.docs-module-title {
font-weight: 300;
}
.version {
margin-top: 15px;
margin-bottom: 0;
color: #777;
font-size: 90%;
text-align: center;
}
// Footer

Loading…
Cancel
Save