Merge pull request #341 from twbs/version-cleanup

Clean up the version text under our download buttons.
This commit is contained in:
Connor Sears 2014-02-27 22:35:20 -08:00
Родитель 77701eb820 872145a92c
Коммит 14ac65a9a7
5 изменённых файлов: 28 добавлений и 5 удалений

Просмотреть файл

@ -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>

Просмотреть файл

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

4
docs/dist/template.html поставляемый
Просмотреть файл

@ -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>

Просмотреть файл

@ -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 %}

Просмотреть файл

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