Browse Source

Also show version on get started page.

pull/290/head
Connor Montgomery 11 years ago
parent
commit
6038661c3e
  1. 17
      assets/css/docs.css
  2. 1
      getting-started/index.html

17
assets/css/docs.css

@ -76,6 +76,13 @@ body {
transform: translateX(-50%); transform: translateX(-50%);
} }
.version {
margin-top: 15px;
text-align: center;
margin-bottom: 0;
color: #777;
}
.docs-nav .docs-nav-trigger { .docs-nav .docs-nav-trigger {
color: #fff; color: #fff;
cursor: pointer; cursor: pointer;
@ -100,13 +107,6 @@ body {
opacity: 1; opacity: 1;
} }
.version {
margin-top: 15px;
text-align: center;
margin-bottom: 0;
color: #b983a6;
}
.docs-nav .docs-nav-item { .docs-nav .docs-nav-item {
display: block; display: block;
padding: 20px 15px; padding: 20px 15px;
@ -157,6 +157,9 @@ body {
-moz-transition: all 0.2s linear; -moz-transition: all 0.2s linear;
transition: all 0.2s linear; transition: all 0.2s linear;
} }
.docs-header-content .version {
color: #b983a6;
}
.docs-header-content .btn:hover { .docs-header-content .btn:hover {
background-color: #fff; background-color: #fff;
-webkit-box-shadow: 0 0 50px rgba(255, 255, 255, 0.3); -webkit-box-shadow: 0 0 50px rgba(255, 255, 255, 0.3);

1
getting-started/index.html

@ -188,6 +188,7 @@
<h4 class="docs-module-title">Download Ratchet</h4> <h4 class="docs-module-title">Download Ratchet</h4>
<p>If you haven't already, download the cource code for Ratchet.</p> <p>If you haven't already, download the cource 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 class="version">Currently v2.0.0</p>
</div> </div>
</div> </div>
</div> </div>

Loading…
Cancel
Save