From 2b46e2b40091f859a640df64d0f273d149055cd8 Mon Sep 17 00:00:00 2001 From: Connor Montgomery Date: Tue, 25 Feb 2014 17:07:55 -0800 Subject: [PATCH 1/2] Clearly state the current version near the download button. (#276) --- assets/css/docs.css | 8 ++++++++ index.html | 1 + 2 files changed, 9 insertions(+) diff --git a/assets/css/docs.css b/assets/css/docs.css index 9d8da4c89..65d4e6f1d 100644 --- a/assets/css/docs.css +++ b/assets/css/docs.css @@ -99,6 +99,14 @@ body { height: auto; opacity: 1; } + +.version { + margin-top: 15px; + text-align: center; + margin-bottom: 0; + color: #b983a6; +} + .docs-nav .docs-nav-item { display: block; padding: 20px 15px; diff --git a/index.html b/index.html index 9b7470893..466158faf 100644 --- a/index.html +++ b/index.html @@ -70,6 +70,7 @@

Build mobile apps with simple HTML‚ CSS‚ and JS components.

Download Ratchet +

Currently v2.0.0

From 6038661c3ef70a73df9ba7e1f2807380eac3979d Mon Sep 17 00:00:00 2001 From: Connor Montgomery Date: Tue, 25 Feb 2014 17:35:52 -0800 Subject: [PATCH 2/2] Also show version on get started page. --- assets/css/docs.css | 17 ++++++++++------- getting-started/index.html | 1 + 2 files changed, 11 insertions(+), 7 deletions(-) diff --git a/assets/css/docs.css b/assets/css/docs.css index 65d4e6f1d..f760a8e8d 100644 --- a/assets/css/docs.css +++ b/assets/css/docs.css @@ -76,6 +76,13 @@ body { transform: translateX(-50%); } +.version { + margin-top: 15px; + text-align: center; + margin-bottom: 0; + color: #777; +} + .docs-nav .docs-nav-trigger { color: #fff; cursor: pointer; @@ -100,13 +107,6 @@ body { opacity: 1; } -.version { - margin-top: 15px; - text-align: center; - margin-bottom: 0; - color: #b983a6; -} - .docs-nav .docs-nav-item { display: block; padding: 20px 15px; @@ -157,6 +157,9 @@ body { -moz-transition: all 0.2s linear; transition: all 0.2s linear; } +.docs-header-content .version { + color: #b983a6; +} .docs-header-content .btn:hover { background-color: #fff; -webkit-box-shadow: 0 0 50px rgba(255, 255, 255, 0.3); diff --git a/getting-started/index.html b/getting-started/index.html index 4caed1449..a1148d987 100644 --- a/getting-started/index.html +++ b/getting-started/index.html @@ -188,6 +188,7 @@

Basic template

Download Ratchet

If you haven't already, download the cource code for Ratchet.

Download Ratchet +

Currently v2.0.0