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> <h4 class="docs-module-title">Download Ratchet</h4>
<p>If you haven't already, download the source code for Ratchet.</p> <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> <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> </div>

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

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

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

@ -52,7 +52,7 @@
</a> </a>
</li> </li>
<li class="table-view-cell"> <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> <strong>Ratchet on Github</strong>
</a> </a>
</li> </li>
@ -62,7 +62,7 @@
</a> </a>
</li> </li>
<li class="table-view-cell"> <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> <strong>Ratchet on Twitter</strong>
</a> </a>
</li> </li>
@ -71,4 +71,4 @@
</div> </div>
</body> </body>
</html> </html>

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

@ -8,7 +8,7 @@ title: Ratchet
<div class="docs-header-content"> <div class="docs-header-content">
<p class="docs-subtitle">Build mobile apps with simple HTML&#8218; CSS&#8218; and JS components.</p> <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> <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> </div>
{% include ad.html %} {% include ad.html %}

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

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